nsIX509Cert3
| IID: | aa67eb02-ccc8-4f55-84da-bcafff9265ae |
| Inherits From: | nsIX509Cert2 |
Extending nsIX509Cert
Constants
| Constants for specifying the chain mode when exporting a certificate | ||
| PRUint32 | CMS_CHAIN_MODE_CertOnly | = 1 |
| PRUint32 | CMS_CHAIN_MODE_CertChain | = 2 |
| PRUint32 | CMS_CHAIN_MODE_CertChainWithRoot | = 3 |
Properties
readonly PRBool isSelfSigned
Methods
void exportAsCMS ( PRUint32 chainMode , out PRUint32 length , out arrayof PRUint8 data )
void requestUsagesArrayAsync ( nsICertVerificationListener cvl )
void exportAsCMS ( PRUint32 chainMode , out PRUint32 length , out arrayof PRUint8 data )
Obtain the certificate wrapped in a PKCS#7 SignedData structure, with or without the certificate chain
- Arguments:
- chainMode: Whether to include the chain (with or without the root), see CMS_CHAIN_MODE constants.
- length: The number of bytes of the PKCS#7 data.
- data: The bytes representing the PKCS#7 wrapped certificate.
void requestUsagesArrayAsync ( nsICertVerificationListener cvl )
Async version of nsIX509Cert::getUsagesArray()
Will not block, will request results asynchronously, availability of results will be notified.
- Arguments:
- cvl
References
This interface is passed as an argument to the following methods:
nsICertVerificationListener.notify
Reference documentation is generated from Mozilla's source.
