Click or drag to resize

RSACryptoServiceProviderSignData(Stream, Object) Method

Computes the hash value of the specified input stream using the specified hash algorithm, and signs the resulting hash value.

Namespace: Crestron.SimplSharp.Cryptography
Assembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntax
C#
public byte[] SignData(
	Stream inputStream,
	Object halg
)

Parameters

inputStream  Stream
The input data for which to compute the hash.
halg  Object
The hash algorithm to use to create the hash value.

Return Value

Byte
The Crestron.SimplSharp.Cryptography.RSA signature for the specified data.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe halg parameter is null.
ArgumentExceptionThe halg parameter is not a valid type.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also