Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Verifies that the data matches the data that was used to generate the signature.
Promise that resolves with the value true if the signature matches the data and aCertificateChain is valid within aContext, and false if not. Rejects if another error occurred.
The data to be tested.
The content-signature header, url-safe base64 encoded.
The certificate chain to use for verification. PEM encoded string.
The hostname for which the end entity must be valid.
The identifier corresponding to the expected root certificate of the certificate chain (note that the root need not actually be included in the chain).
Generated using TypeDoc
An interface for verifying content-signatures, inspired by https://tools.ietf.org/html/draft-thomson-http-content-signature-00 described here https://github.com/franziskuskiefer/content-signature/tree/pki