Signs data.
Unit
Syntax
ParametersAKey [in] A key for digital signing. Comes from RSAGenKey function or RSALoadPrivateKey function. A private key will be used.
AData [in] Data to be signed.
ADataSize [in] Size of AData in bytes.
Return valueDigital signature (little-endian). Release it with SecureFree function.
RemarksThis function digitally signs the specified data and returns digital signature. Digital signature is a small RAW bytes value, which can be freely copied and/or exported/imported.
Your private key will be used for digital signing.
You can verify the returned signature with RSAVerify function.
Examples
See also
|