Click or drag to resize

MessageSignerSignData Method

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

Namespace:  SysadminsLV.PKI.Tools.MessageOperations
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public byte[] SignData(
	byte[] message
)

Parameters

message
Type: SystemByte
Raw message to sign.

Return Value

Type: Byte
Raw signature.
Exceptions
ExceptionCondition
ArgumentNullExceptionmessage parameter is null.
Remarks
For DSA private key only SHA1 hash is used.
See Also