CryptSignerSignData Method
Signs the data with signer's private key and specified hash algorithm.
Namespace: SysadminsLV.PKI.CryptographyAssembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
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.