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

System.Security.Cryptography.DSACryptoServiceProvider.SignData Method

Process the SHA1 hash algorithm on the specified stream then sign it's result.

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

Parameters

inputStream
The data stream to be hashed then signed.

Returns

The signature value of the processed stream.

Remarks

The supplied data is hashed using the default System.Security.Cryptography.SHA1 implementation then signed.

Requirements

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