DSA.VerifyDataCore メソッド

定義

オーバーロード

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

指定したデータに対してデジタル署名が有効であることを検証します。

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

指定したデータに対してデジタル署名が有効であることを検証します。

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

ソース:
DSA.cs
ソース:
DSA.cs
ソース:
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

例外

ハッシュまたは検証操作で発生したエラー。

適用対象

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

ソース:
DSA.cs
ソース:
DSA.cs
ソース:
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

例外

ハッシュまたは検証操作で発生したエラー。

適用対象