DSA.SignDataCore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SignDataCore(ReadOnlySpan<Byte>, HashAlgorithmName, DSASignatureFormat) |
Computes the hash value of the specified data and signs it using the specified signature format. |
SignDataCore(Stream, HashAlgorithmName, DSASignatureFormat) |
Computes the hash value of the specified data and signs it using the specified signature format. |
SignDataCore(ReadOnlySpan<Byte>, HashAlgorithmName, DSASignatureFormat)
- Source:
- DSA.cs
- Source:
- DSA.cs
- Source:
- DSA.cs
Computes the hash value of the specified data and signs it using the specified signature format.
protected:
virtual cli::array <System::Byte> ^ SignDataCore(ReadOnlySpan<System::Byte> data, System::Security::Cryptography::HashAlgorithmName hashAlgorithm, System::Security::Cryptography::DSASignatureFormat signatureFormat);
protected virtual byte[] SignDataCore (ReadOnlySpan<byte> data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat);
abstract member SignDataCore : ReadOnlySpan<byte> * System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.DSASignatureFormat -> byte[]
override this.SignDataCore : ReadOnlySpan<byte> * System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.DSASignatureFormat -> byte[]
Protected Overridable Function SignDataCore (data As ReadOnlySpan(Of Byte), hashAlgorithm As HashAlgorithmName, signatureFormat As DSASignatureFormat) As Byte()
Parameters
- data
- ReadOnlySpan<Byte>
The data to sign.
- hashAlgorithm
- HashAlgorithmName
The hash algorithm to use to create the hash value.
- signatureFormat
- DSASignatureFormat
The encoding format to use for the signature.
Returns
The DSA signature for the specified data.
Exceptions
An error occurred in the hashing or signing operation.
Applies to
SignDataCore(Stream, HashAlgorithmName, DSASignatureFormat)
- Source:
- DSA.cs
- Source:
- DSA.cs
- Source:
- DSA.cs
Computes the hash value of the specified data and signs it using the specified signature format.
protected:
virtual cli::array <System::Byte> ^ SignDataCore(System::IO::Stream ^ data, System::Security::Cryptography::HashAlgorithmName hashAlgorithm, System::Security::Cryptography::DSASignatureFormat signatureFormat);
protected virtual byte[] SignDataCore (System.IO.Stream data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat);
abstract member SignDataCore : System.IO.Stream * System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.DSASignatureFormat -> byte[]
override this.SignDataCore : System.IO.Stream * System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.DSASignatureFormat -> byte[]
Protected Overridable Function SignDataCore (data As Stream, hashAlgorithm As HashAlgorithmName, signatureFormat As DSASignatureFormat) As Byte()
Parameters
- data
- Stream
The data to sign.
- hashAlgorithm
- HashAlgorithmName
The hash algorithm to use to create the hash value.
- signatureFormat
- DSASignatureFormat
The encoding format to use for the signature.
Returns
The DSA signature for the specified data.
Exceptions
An error occurred in the hashing or signing operation.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기