The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
RSA::SignHash Method (array<Byte>^, HashAlgorithmName, RSASignaturePadding^)
When overridden in a derived class, computes the signature for the specified hash value by encrypting it with the private key using the specified padding.
Assembly: mscorlib (in mscorlib.dll)
public: virtual array<unsigned char>^ SignHash( array<unsigned char>^ hash, HashAlgorithmName hashAlgorithm, RSASignaturePadding^ padding )
Parameters
- hash
-
Type:
array<System::Byte>^
The hash value of the data to be signed.
- hashAlgorithm
-
Type:
System.Security.Cryptography::HashAlgorithmName
The hash algorithm used to create the hash value of the data.
- padding
-
Type:
System.Security.Cryptography::RSASignaturePadding^
The padding.
| Exception | Condition |
|---|---|
| NotImplementedException | A derived class must override this method. |
.NET Framework
Available since 4.6
Available since 4.6
Show: