MakeVariantSignature
Sub
MakeVariantSignature ( SourceData As Variant,
SignMethod As SIGN_METHODS,
Key As Variant [, Password As String] ) As String |
The MakeVariantSignature function uniquely signs the content of the
variant with the private key. Key must be valid loaded private key. SignMethod
can be one of the following:
Symbolic value
|
Numeric value |
Description |
SIGN_RSAMD5
|
0 |
Performs MD5-RSA signature method |
SIGN_RSASHA1
|
1 |
Performs SHA1-RSA signature method
|
Parameter Password is currently ignored and reserved for future use.
If an error
happens, the return value is 0 and the Error property of the
ActiveCrypt component differs from ERR_OK. Analyzing this property
you can find the reason of the failure.
|