CreateSignature()

DSASignatureFormatter::CreateSignature(ArrayPtr<uint8_t>) method

Creates the DSA signature for the specified hash.

ArrayPtr<uint8_t> System::Security::Cryptography::DSASignatureFormatter::CreateSignature(ArrayPtr<uint8_t> rgbHash) override

Arguments

ParameterTypeDescription
rgbHashArrayPtr<uint8_t>Hash for the data to sign.

Return Value

Calculated signature.

Exceptions

ExceptionDescription
ArgumentNullExceptionIf rgbHash is null.
CryptographicUnexpectedOperationExceptionIf the key or the hash algorithm is not set.

See Also