ECDsaCng.TrySignHash 메서드

정의

현재 키를 사용하여 데이터 해시를 나타내는 지정된 읽기 전용 바이트 범위에 대한 ECDSA 디지털 서명을 제공된 대상으로 계산하려고 합니다.

public:
 override bool TrySignHash(ReadOnlySpan<System::Byte> source, Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
public override bool TrySignHash (ReadOnlySpan<byte> source, Span<byte> destination, out int bytesWritten);
override this.TrySignHash : ReadOnlySpan<byte> * Span<byte> * int -> bool
Public Overrides Function TrySignHash (source As ReadOnlySpan(Of Byte), destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean

매개 변수

source
ReadOnlySpan<Byte>
destination
Span<Byte>

서명을 받을 버퍼입니다.

bytesWritten
Int32

이 메서드가 반환될 경우 destination에 기록되는 총 바이트 수입니다. 이 매개 변수는 초기화되지 않은 것으로 처리됩니다.

반환

destination이 길지 않아 서명을 받을 수 없는 경우 false입니다.

적용 대상