ICryptSignerSignData Method

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

Definition

Namespace: SysadminsLV.PKI.Cryptography
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
byte[] SignData(
	byte[] message
)

Parameters

message  Byte
Raw message to sign.

Return Value

Byte
Raw signature.

Remarks

For DSA private key only SHA1 hash is used.

Exceptions

ArgumentNullExceptionmessage parameter is null.

See Also