MessageSignerSignData Method

Signs the data with signer's private key and specified hash algorithm.

Definition

Namespace: SysadminsLV.PKI.Tools.MessageOperations
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public byte[] SignData(
	byte[] message
)

Parameters

message  Byte
Raw message to sign.

Return Value

Byte
Raw signature.

Implements

ICryptSignerSignData(Byte)

Remarks

For DSA private key only SHA1 hash is used.

Exceptions

ArgumentNullExceptionmessage parameter is null.

See Also