Click or drag to resize

RSACryptoServiceProviderSignData(Byte, Object) Method

Computes the hash value of the specified byte array 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(
	byte[] buffer,
	Object halg
)

Parameters

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

Return Value

Byte
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