Process the specified hash algorithm on the complete buffer specified then sign it's result.
- buffer
- The data buffer to be hashed then signed.
- halg
- An object representing the hash algorithm to be used. The object can either be:
- 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.
This method can work with ANY configured (OID in machine.config) HashAlgorithm descendant.
Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0