SignHash()

RSACryptoServiceProvider::SignHash(ByteArrayPtr, HashAlgorithmName, SharedPtr<RSASignaturePadding>) method

Computes the signature for the specified hash value.

ByteArrayPtr System::Security::Cryptography::RSACryptoServiceProvider::SignHash(ByteArrayPtr hash, HashAlgorithmName hash_algorithm, SharedPtr<RSASignaturePadding> padding) override

Arguments

ParameterTypeDescription
hashByteArrayPtrHash value.
hash_algorithmHashAlgorithmNameHash algorithm.
paddingSharedPtr<RSASignaturePadding>Padding mode. return RSA signature for the specified hash.

RSACryptoServiceProvider::SignHash(const ByteArrayPtr&, const String&) method

Computes the signature of specified input value. Not implemented.

ByteArrayPtr System::Security::Cryptography::RSACryptoServiceProvider::SignHash(const ByteArrayPtr &rgb_hash, const String &str)

Arguments

ParameterTypeDescription
rgb_hashconst ByteArrayPtr&Hash value of data to be signed.
strconst String&Hash algorithm identifier used to create the hash.

Return Value

RSA signature for specified data.

See Also