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

System.Security.Cryptography.RSACryptoServiceProvider.SignData Method

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

public byte[] SignData (System.IO.Stream inputStream, object halg)

Parameters

inputStream
The data stream 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