Obtains the digital signature of a file.
1 crypt.dsig.verify
<crypt.dsig.verify encoding='encoding'>
<file /> !
</crypt.dsig.verify>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Aencoding | string | Indicated the coding of the string of characters to process, for example ISO-8859-1 or UTF-8. If it is not specified, the one defined in the configuration file for the server is used. |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Efile | Object2String |
Returns | |
---|---|
Type | Description |
Boolean | Returns false if the signature is null or has a null reference, this can happens when for a incorrect validation of the key or there has been a change in the SignedInfo content since the signature was generated. It can also happen that the verification of the digest fails, this can be caused by a change in the data since the signature was generated. |
Exceptions
requires 1 argument
The entry parameter has not been specified.
Example
Copy
<xsql-script name='crypt.dsig.verify_sample1'> <body> <println> The verification of signature is: <crypt.dsig.verify> <file type='absolute' name='purchaseorder-signed.xml' /> </crypt.dsig.verify> </println> </body> </xsql-script>