RSACng.TrySignHash 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
현재 키로 해시에 서명하여 제공된 버퍼에 서명을 작성합니다.
public:
override bool TrySignHash(ReadOnlySpan<System::Byte> hash, Span<System::Byte> destination, System::Security::Cryptography::HashAlgorithmName hashAlgorithm, System::Security::Cryptography::RSASignaturePadding ^ padding, [Runtime::InteropServices::Out] int % bytesWritten);
public override bool TrySignHash(ReadOnlySpan<byte> hash, Span<byte> destination, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding, out int bytesWritten);
override this.TrySignHash : ReadOnlySpan<byte> * Span<byte> * System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.RSASignaturePadding * int -> bool
Public Overrides Function TrySignHash (hash As ReadOnlySpan(Of Byte), destination As Span(Of Byte), hashAlgorithm As HashAlgorithmName, padding As RSASignaturePadding, ByRef bytesWritten As Integer) As Boolean
매개 변수
- hash
- ReadOnlySpan<Byte>
서명할 데이터의 해시 값입니다.
- hashAlgorithm
- HashAlgorithmName
데이터의 해시 값을 만드는 데 사용되는 해시 알고리즘입니다.
- padding
- RSASignaturePadding
패딩입니다.
- bytesWritten
- Int32
이 메서드가 반환되면 .에 destination기록된 총 바이트 수를 포함합니다. 이 매개 변수는 초기화되지 않은 것으로 처리됩니다.