DSA.VerifyDataCore Methode

Definition

Überlädt

VerifyDataCore(Stream, ReadOnlySpan<Byte>, HashAlgorithmName, DSASignatureFormat)

Überprüft, ob eine digitale Signatur für die bereitgestellten Daten gültig ist.

VerifyDataCore(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, HashAlgorithmName, DSASignatureFormat)

Überprüft, ob eine digitale Signatur für die bereitgestellten Daten gültig ist.

VerifyDataCore(Stream, ReadOnlySpan<Byte>, HashAlgorithmName, DSASignatureFormat)

Quelle:
DSA.cs
Quelle:
DSA.cs
Quelle:
DSA.cs

Überprüft, ob eine digitale Signatur für die bereitgestellten Daten gültig ist.

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

Parameter

data
Stream

Die signierten Daten.

signature
ReadOnlySpan<Byte>

Die zu überprüfende Signatur.

hashAlgorithm
HashAlgorithmName

Der Hashalgorithmus, der für den Hashwert der Daten für den Überprüfungsvorgang verwendet wird.

signatureFormat
DSASignatureFormat

Das Codierungsformat für signature.

Gibt zurück

true, wenn die digitale Signatur für die angegebenen Daten gültig ist, andernfalls false.

Ausnahmen

Beim Hash- oder Überprüfungsvorgang ist ein Fehler aufgetreten.

Gilt für:

VerifyDataCore(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, HashAlgorithmName, DSASignatureFormat)

Quelle:
DSA.cs
Quelle:
DSA.cs
Quelle:
DSA.cs

Überprüft, ob eine digitale Signatur für die bereitgestellten Daten gültig ist.

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

Parameter

data
ReadOnlySpan<Byte>

Die signierten Daten.

signature
ReadOnlySpan<Byte>

Die zu überprüfende Signatur.

hashAlgorithm
HashAlgorithmName

Der Hashalgorithmus, der für den Hashwert der Daten für den Überprüfungsvorgang verwendet wird.

signatureFormat
DSASignatureFormat

Das Codierungsformat für signature.

Gibt zurück

true, wenn die digitale Signatur für die angegebenen Daten gültig ist, andernfalls false.

Ausnahmen

Beim Hash- oder Überprüfungsvorgang ist ein Fehler aufgetreten.

Gilt für: