MessageSignerSignData Method
Signs the data with signer's private key and specified hash algorithm.
Namespace: SysadminsLV.PKI.Tools.MessageOperationsAssembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
public byte[] SignData(
byte[] message
)
Public Function SignData (
message As Byte()
) As Byte()
public:
virtual array<unsigned char>^ SignData(
array<unsigned char>^ message
) sealed
abstract SignData :
message : byte[] -> byte[]
override SignData :
message : byte[] -> byte[]
- message Byte
- Raw message to sign.
ByteRaw signature.
ICryptSignerSignData(Byte) For DSA private key only SHA1 hash is used.