ECDsa.VerifyDataCore Metod

Definition

Överlagringar

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

Verifierar att en digital signatur är giltig för angivna data.

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

Verifierar att en digital signatur är giltig för angivna data.

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

Källa:
ECDsa.cs
Källa:
ECDsa.cs
Källa:
ECDsa.cs
Källa:
ECDsa.cs
Källa:
ECDsa.cs

Verifierar att en digital signatur är giltig för angivna data.

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

Parametrar

data
Stream

Signerade data.

signature
ReadOnlySpan<Byte>

Signaturen som ska verifieras.

hashAlgorithm
HashAlgorithmName

Hash-algoritmen som används för att hasha data för verifieringsprocessen.

signatureFormat
DSASignatureFormat

Kodningsformatet för signature.

Returer

trueom den digitala signaturen är giltig för de angivna uppgifterna. annars . false

Undantag

Ett fel uppstod i hash- eller verifieringsåtgärden.

Gäller för

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

Källa:
ECDsa.cs
Källa:
ECDsa.cs
Källa:
ECDsa.cs
Källa:
ECDsa.cs
Källa:
ECDsa.cs

Verifierar att en digital signatur är giltig för angivna data.

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

Parametrar

data
ReadOnlySpan<Byte>

Signerade data.

signature
ReadOnlySpan<Byte>

Signaturen som ska verifieras.

hashAlgorithm
HashAlgorithmName

Hash-algoritmen som används för att hasha data för verifieringsprocessen.

signatureFormat
DSASignatureFormat

Kodningsformatet för signature.

Returer

trueom den digitala signaturen är giltig för de angivna uppgifterna. annars . false

Undantag

Ett fel uppstod i hash- eller verifieringsåtgärden.

Gäller för