Linux Mac OSX Windows
 Extending nsIX509Cert
[scriptable, uuid(aa67eb02-ccc8-4f55-84da-bcafff9265ae)]
interface nsIX509Cert3 : nsIX509Cert2

Constants

  Constants for specifying the chain mode when exporting a certificate
const unsigned long CMS_CHAIN_MODE_CertOnly = 1

        
const unsigned long CMS_CHAIN_MODE_CertChain = 2

        
const unsigned long CMS_CHAIN_MODE_CertChainWithRoot = 3

Attributes


        
readonly attribute boolean isSelfSigned

Methods

  Obtain the certificate wrapped in a PKCS#7 SignedData structure,
  with or without the certificate chain

  @param chainMode Whether to include the chain (with or without the root),
                       see CMS_CHAIN_MODE constants.
  @param length The number of bytes of the PKCS#7 data.
  @param data The bytes representing the PKCS#7 wrapped certificate.
void exportAsCMS(in unsigned long chainMode, out unsigned long length, [array, size_is(length), retval] out octet data)
  Async version of nsIX509Cert::getUsagesArray()

  Will not block, will request results asynchronously,
  availability of results will be notified.
void requestUsagesArrayAsync(in nsICertVerificationListener cvl)