Mono Class Library: System.Security.Cryptography.RSACryptoServiceProvider Overview | MembersSystem.Security.Cryptography.RSACryptoServiceProvider.SignData Method |
Process the specified hash algorithm on the complete buffer specified then sign it's result. [Edit]
|
- buffer
- The data buffer to be hashed then signed. [Edit]
- halg
- An object representing the hash algorithm to be used. The object can either be:
[Edit]
- a string representing the hash algorithm name. The hash object will then be created using System.Security.Cryptography.HashAlgorithm.HashAlgorithm.Create (string).
- a System.Security.Cryptography.HashAlgorithm instance that will be directly used.
- a Type representing the hash algorithm. The hash object will then be created using Activator.Activator.CreateInstance (Type).
The signature value of the processed buffer. [Edit]
This method can work with ANY configured (OID in machine.config) HashAlgorithm descendant. [Edit]
Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0