WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
nsIDataSignatureVerifier
| IID: | 0a84b3d5-6ba9-432d-89da-4fbd0b0f2aec |
| Inherits From: | nsISupports |
An interface for verifying that a given string of data was signed by the private key matching the given public key.
This interface is implemented by the following components:
Methods
PRBool verifyData ( ACString data , ACString signature , ACString publicKey )
PRBool verifyData ( ACString data , ACString signature , ACString publicKey )
Verifies that the data matches the data that was used to generate the signature.
- Arguments:
- data: The data to be tested.
- signature: The signature of the data, base64 encoded.
- publicKey: The public part of the key used for signing, DER encoded then base64 encoded.
Reference documentation is generated from Mozilla's source.
