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:  PKI.Core (in PKI.Core.dll) Version: 3.3.0.0 (3.3.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