This represents a X.509 certificate. @status FROZEN
[scriptable, uuid(f0980f60-ee3d-11d4-998b-00b0d02354a0)]
Constants
Constants that describe the certified usages of a certificate.
Attributes
This is the attribute which describes the ASN1 layout of the certificate. This can be used when doing a "pretty print" of the certificate's ASN1 structure.
The certificate used by the issuer to sign this certificate.
The fingerprint of the certificate's public key, calculated using the MD5 algorithm.
The fingerprint of the certificate's public key, calculated using the SHA1 algorithm.
A human readable name identifying the hardware or software token the certificate is stored on.
This certificate's validity period.
Methods
Check whether a given address is contained in the certificate.
The comparison will convert the email address to lowercase.
The behaviour for non ASCII characters is undefined.
@param aEmailAddress The address to search for.
@return True if the address is contained in the certificate.
Test whether two certificate instances represent the same certificate. @return Whether the certificates are equal
Obtain a list of certificates that contains this certificate and the issuing certificates of all involved issuers, up to the root issuer. @return The chain of certifficates including the issuers.
Obtain a list of all email addresses contained in the certificate. @param length The number of strings in the returned array. @return An array of email addresses.
Obtain a raw binary encoding of this certificate in DER format. @param length The number of bytes in the binary encoding. @param data The bytes representing the DER encoded certificate.
Obtain an array of human readable strings describing the certificate's certified usages. @param ignoreOcsp Do not use OCSP even if it is currently activated. @param verified The certificate verification result, see constants. @param count The number of human readable usages returned. @param usages The array of human readable usages.
Obtain a single comma separated human readable string describing the certificate's certified usages. @param ignoreOcsp Do not use OCSP even if it is currently activated. @param verified The certificate verification result, see constants. @param purposes The string listing the usages.
