Mono Class Library: System.Security.Cryptography.RSACryptoServiceProvider Overview | Members

System.Security.Cryptography.RSACryptoServiceProvider.SignData Method

Process the specified hash algorithm on the complete buffer specified then sign it's result. [Edit]

public byte[] SignData (byte[] buffer, object halg)

Parameters

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]

Returns

The signature value of the processed buffer. [Edit]

Remarks

This method can work with ANY configured (OID in machine.config) HashAlgorithm descendant. [Edit]

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0