DSA.TryCreateSignatureCore 메서드

정의

표시된 형식으로 지정된 해시 값의 DSA 시그니처를 만들어 제공된 버퍼에 넣으려고 합니다.

protected:
 virtual bool TryCreateSignatureCore(ReadOnlySpan<System::Byte> hash, Span<System::Byte> destination, System::Security::Cryptography::DSASignatureFormat signatureFormat, [Runtime::InteropServices::Out] int % bytesWritten);
protected virtual bool TryCreateSignatureCore (ReadOnlySpan<byte> hash, Span<byte> destination, System.Security.Cryptography.DSASignatureFormat signatureFormat, out int bytesWritten);
abstract member TryCreateSignatureCore : ReadOnlySpan<byte> * Span<byte> * System.Security.Cryptography.DSASignatureFormat * int -> bool
override this.TryCreateSignatureCore : ReadOnlySpan<byte> * Span<byte> * System.Security.Cryptography.DSASignatureFormat * int -> bool
Protected Overridable Function TryCreateSignatureCore (hash As ReadOnlySpan(Of Byte), destination As Span(Of Byte), signatureFormat As DSASignatureFormat, ByRef bytesWritten As Integer) As Boolean

매개 변수

hash
ReadOnlySpan<Byte>

서명할 해시 값입니다.

destination
Span<Byte>

서명을 받을 버퍼입니다.

signatureFormat
DSASignatureFormat

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

bytesWritten
Int32

이 메서드가 반환될 때 destination에 쓴 바이트 수를 나타내는 값을 포함합니다. 이 매개 변수는 초기화되지 않은 것으로 처리됩니다.

반환

Boolean

destination이 시그니처를 받을 만큼 크면 true이고, 그렇지 않으면 false입니다.

예외

서명 작업에서 오류가 발생했습니다.

적용 대상