Mono Class Library: System.Security.Cryptography.DSACryptoServiceProvider Overview | MembersSystem.Security.Cryptography.DSACryptoServiceProvider.CreateSignature Method |
Sign the specified hash value using the instance private key. [Edit]
|
- rgbHash
- The SHA1 hash to be signed. [Edit]
An array of 40 bytes containing the DSA signature of the specified hash. [Edit]
A System.Security.Cryptography.CryptographicException will be thrown if the instance doesn't have a private key or if the parameter rgbHash isn't exactly 20 bytes long (like all SHA1 hashes are). [Edit]
Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0