DSA.VerifyDataCore 메서드
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
VerifyDataCore(Stream, ReadOnlySpan<Byte>, HashAlgorithmName, DSASignatureFormat) |
제공된 데이터의 디지털 시그니처가 유효한지 확인합니다. |
VerifyDataCore(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, HashAlgorithmName, DSASignatureFormat) |
제공된 데이터의 디지털 시그니처가 유효한지 확인합니다. |
- Source:
- DSA.cs
- Source:
- DSA.cs
- Source:
- DSA.cs
제공된 데이터의 디지털 시그니처가 유효한지 확인합니다.
protected:
virtual bool VerifyDataCore(System::IO::Stream ^ data, ReadOnlySpan<System::Byte> signature, System::Security::Cryptography::HashAlgorithmName hashAlgorithm, System::Security::Cryptography::DSASignatureFormat signatureFormat);
protected virtual bool VerifyDataCore (System.IO.Stream data, ReadOnlySpan<byte> signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat);
abstract member VerifyDataCore : System.IO.Stream * ReadOnlySpan<byte> * System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.DSASignatureFormat -> bool
override this.VerifyDataCore : System.IO.Stream * ReadOnlySpan<byte> * System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.DSASignatureFormat -> bool
Protected Overridable Function VerifyDataCore (data As Stream, signature As ReadOnlySpan(Of Byte), hashAlgorithm As HashAlgorithmName, signatureFormat As DSASignatureFormat) As Boolean
매개 변수
- data
- Stream
서명된 데이터입니다.
- signature
- ReadOnlySpan<Byte>
확인할 시그니처입니다.
- hashAlgorithm
- HashAlgorithmName
확인 프로세스를 위해 데이터를 해시하는 데 사용되는 해시 알고리즘입니다.
- signatureFormat
- DSASignatureFormat
signature
의 인코딩 형식입니다.
반환
디지털 시그니처가 제공된 데이터에 유효하면 true
이고, 그렇지 않으면 false
입니다.
예외
해시 또는 확인 작업에서 오류가 발생했습니다.
적용 대상
.NET 9 및 기타 버전
제품 | 버전 |
---|---|
.NET | 5, 6, 7, 8, 9 |
- Source:
- DSA.cs
- Source:
- DSA.cs
- Source:
- DSA.cs
제공된 데이터의 디지털 시그니처가 유효한지 확인합니다.
protected:
virtual bool VerifyDataCore(ReadOnlySpan<System::Byte> data, ReadOnlySpan<System::Byte> signature, System::Security::Cryptography::HashAlgorithmName hashAlgorithm, System::Security::Cryptography::DSASignatureFormat signatureFormat);
protected virtual bool VerifyDataCore (ReadOnlySpan<byte> data, ReadOnlySpan<byte> signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat);
abstract member VerifyDataCore : ReadOnlySpan<byte> * ReadOnlySpan<byte> * System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.DSASignatureFormat -> bool
override this.VerifyDataCore : ReadOnlySpan<byte> * ReadOnlySpan<byte> * System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.DSASignatureFormat -> bool
Protected Overridable Function VerifyDataCore (data As ReadOnlySpan(Of Byte), signature As ReadOnlySpan(Of Byte), hashAlgorithm As HashAlgorithmName, signatureFormat As DSASignatureFormat) As Boolean
매개 변수
- data
- ReadOnlySpan<Byte>
서명된 데이터입니다.
- signature
- ReadOnlySpan<Byte>
확인할 시그니처입니다.
- hashAlgorithm
- HashAlgorithmName
확인 프로세스를 위해 데이터를 해시하는 데 사용되는 해시 알고리즘입니다.
- signatureFormat
- DSASignatureFormat
signature
의 인코딩 형식입니다.
반환
디지털 시그니처가 제공된 데이터에 유효하면 true
이고, 그렇지 않으면 false
입니다.
예외
해시 또는 확인 작업에서 오류가 발생했습니다.
적용 대상
.NET 9 및 기타 버전
제품 | 버전 |
---|---|
.NET | 5, 6, 7, 8, 9 |
.NET 피드백
.NET은(는) 오픈 소스 프로젝트입니다. 다음 링크를 선택하여 피드백을 제공해 주세요.