Logo Search packages:      
Sourcecode: xulrunner-1.9 version File versions

nsIX509Cert Interface Reference

import "nsIX509Cert.idl";

Inheritance diagram for nsIX509Cert:

nsISupports nsIX509Cert2 nsIX509Cert3

List of all members.

Detailed Description

This represents a X.509 certificate.


Definition at line 52 of file nsIX509Cert.idl.

Public Member Functions

boolean containsEmailAddress (in AString aEmailAddress)
boolean equals (in nsIX509Cert other)
nsIArray getChain ()
void getEmailAddresses (out unsigned long length,[retval, array, size_is(length)] out wstring addresses)
void getRawDER (out unsigned long length,[retval, array, size_is(length)] out octet data)
void getUsagesArray (in boolean ignoreOcsp, out PRUint32 verified, out PRUint32 count,[array, size_is(count)] out wstring usages)
void getUsagesString (in boolean ignoreOcsp, out PRUint32 verified, out AString usages)
unsigned long verifyForUsage (in unsigned long usage)
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

readonly attribute nsIASN1Object ASN1Structure
const unsigned long CA_CERT = 1 << 0
const unsigned long CERT_EXPIRED = 1 << 2
const unsigned long CERT_NOT_TRUSTED = 1 << 3
const unsigned long CERT_REVOKED = 1 << 1
const unsigned long CERT_USAGE_AnyCA = 11
const unsigned long CERT_USAGE_EmailRecipient = 5
const unsigned long CERT_USAGE_EmailSigner = 4
const unsigned long CERT_USAGE_ObjectSigner = 6
const unsigned long CERT_USAGE_ProtectedObjectSigner = 9
const unsigned long CERT_USAGE_SSLCA = 3
const unsigned long CERT_USAGE_SSLClient = 0
const unsigned long CERT_USAGE_SSLServer = 1
const unsigned long CERT_USAGE_SSLServerWithStepUp = 2
const unsigned long CERT_USAGE_StatusResponder = 10
const unsigned long CERT_USAGE_UserCertImport = 7
const unsigned long CERT_USAGE_VerifyCA = 8
readonly attribute AString commonName
readonly attribute string dbKey
const unsigned long EMAIL_CERT = 1 << 2
readonly attribute AString emailAddress
const unsigned long INVALID_CA = 1 << 6
readonly attribute nsIX509Cert issuer
const unsigned long ISSUER_NOT_TRUSTED = 1 << 4
const unsigned long ISSUER_UNKNOWN = 1 << 5
readonly attribute AString issuerCommonName
readonly attribute AString issuerName
readonly attribute AString issuerOrganization
readonly attribute AString issuerOrganizationUnit
readonly attribute AString md5Fingerprint
readonly attribute AString nickname
const unsigned long NOT_VERIFIED_UNKNOWN = 1 << 0
readonly attribute AString organization
readonly attribute AString organizationalUnit
readonly attribute AString serialNumber
const unsigned long SERVER_CERT = 1 << 3
readonly attribute AString sha1Fingerprint
readonly attribute AString subjectName
readonly attribute AString tokenName
const unsigned long UNKNOWN_CERT = 0
const unsigned long USAGE_NOT_ALLOWED = 1 << 7
const unsigned long USER_CERT = 1 << 1
readonly attribute
const unsigned long VERIFIED_OK = 0
readonly attribute string windowTitle

The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index