CryptSignerSignData 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#
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