The Signature class / xml.Signature methods |
Verify the signature is consistent with the given key and the original message.
verifyString( key xml.CryptoKey, signedStr STRING, signature STRING ) RETURNING flag INTEGER
Returns 1 when verification is successful; 0 (zero) is returned if verification fails.
This method does not belong to the XML encryption specification.
In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).