DSA.SignDataCore 메서드

정의

오버로드

SignDataCore(ReadOnlySpan<Byte>, HashAlgorithmName, DSASignatureFormat)

지정된 데이터의 해시 값을 계산하고 지정된 시그니처 형식을 사용하여 해당 값에 서명합니다.

SignDataCore(Stream, HashAlgorithmName, DSASignatureFormat)

지정된 데이터의 해시 값을 계산하고 지정된 시그니처 형식을 사용하여 해당 값에 서명합니다.

SignDataCore(ReadOnlySpan<Byte>, HashAlgorithmName, DSASignatureFormat)

지정된 데이터의 해시 값을 계산하고 지정된 시그니처 형식을 사용하여 해당 값에 서명합니다.

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()

매개 변수

data
ReadOnlySpan<Byte>

서명할 데이터입니다.

hashAlgorithm
HashAlgorithmName

해시 값을 만드는 데 사용할 해시 알고리즘입니다.

signatureFormat
DSASignatureFormat

시그니처에 사용할 인코딩 형식입니다.

반환

Byte[]

지정된 데이터의 DSA 서명입니다.

예외

해시 또는 서명 작업에서 오류가 발생했습니다.

적용 대상

SignDataCore(Stream, HashAlgorithmName, DSASignatureFormat)

지정된 데이터의 해시 값을 계산하고 지정된 시그니처 형식을 사용하여 해당 값에 서명합니다.

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()

매개 변수

data
Stream

서명할 데이터입니다.

hashAlgorithm
HashAlgorithmName

해시 값을 만드는 데 사용할 해시 알고리즘입니다.

signatureFormat
DSASignatureFormat

시그니처에 사용할 인코딩 형식입니다.

반환

Byte[]

지정된 데이터의 DSA 서명입니다.

예외

해시 또는 서명 작업에서 오류가 발생했습니다.

적용 대상