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
)
Public Function SignData (
message As Byte()
) As Byte()
public:
array<unsigned char>^ SignData(
array<unsigned char>^ message
)
member SignData :
message : byte[] -> byte[]
Parameters
- message
- Type: SystemByte
Raw message to sign.
Return Value
Type:
ByteRaw signature.
Exceptions Exception | Condition |
---|
ArgumentNullException | message parameter is null. |
Remarks For DSA private key only SHA1 hash is used.
See Also