Main Page | Class Hierarchy | Class Members | Global Enums and Constants | Global Entry Points | Related Pages

IAccCertificate Interface Reference


Detailed Description

The IAccCertificate interface is used to wrap X.509 certificate objects.

Public Types

Public Member Functions

Properties


Member Typedef Documentation

typedef enum IAccCertificate::AccCertificateTrustFlags IAccCertificate::AccCertificateTrustFlags

Categories of trust for the certificate.

typedef enum IAccCertificate::AccCertificateUsage IAccCertificate::AccCertificateUsage

Usage types for the certificate.

typedef enum IAccCertificate::AccCertificateProp IAccCertificate::AccCertificateProp

Properties for the Property method.


Member Enumeration Documentation

enum IAccCertificate::AccCertificateTrustFlags

Categories of trust for the certificate.

Enumerator:
AccCertificateTrustFlags_Ssl 
AccCertificateTrustFlags_Email 
AccCertificateTrustFlags_ObjectSigning 

enum IAccCertificate::AccCertificateUsage

Usage types for the certificate.

Enumerator:
AccCertificateUsage_SslClient 
AccCertificateUsage_SslServer 
AccCertificateUsage_Signing 
AccCertificateUsage_Encryption 

enum IAccCertificate::AccCertificateProp

Properties for the Property method.

Enumerator:
AccCertificateProp_Name  The friendly name for the certificate [get] xp_str*
AccCertificateProp_SerialNumber  The serial number of the certificate [get] xp_str*
AccCertificateProp_IssueTime  The time the certificate was issued [get] xp_date*
AccCertificateProp_ExpireTime  The time the certificate expires [get] xp_date*
AccCertificateProp_Usage  The certificate usage type; values are from AccCertificateUsage. [get] xp_uint*
AccCertificateProp_SubjectCommonName  The subject name for the certificate (CN) [get] xp_str*
AccCertificateProp_SubjectOrg  The organization name for the certificate (O) [get] xp_str*
AccCertificateProp_SubjectOrgUnit  The organizational unit for the certificate (OU) [get] xp_str*
AccCertificateProp_SubjectDomainComponent  The domain component for the certificate (DC) [get] xp_str*
AccCertificateProp_SubjectEmailAddress  The email address for the certificate [get] xp_str*
AccCertificateProp_IssuerCommonName  The issuer name [get] xp_str*
AccCertificateProp_IssuerOrg  The issuer organization [get] xp_str*
AccCertificateProp_IssuerOrgUnit  The issuer organizational unit [get] xp_str*
AccCertificateProp_IssuerDomainComponent  The issuer domain component [get] xp_str*
AccCertificateProp_Trusted  The categories in which this certificate has been trusted; values are from AccCertificateTrustFlags [get] xp_uint*


Member Function Documentation

HRESULT IAccCertificate::GetChain ( [in] xp_vbool  wantRoot,
[out, retval] xp_variant certs 
)

Get this cert's cert chain, optionally including the root cert, as a list of IAccCertificates.

HRESULT IAccCertificate::Verify ( [in] xp_int  usage  ) 

Verifies that the certificate is valid at the current time, for the specified usages.

HRESULT IAccCertificate::Trust ( [in] xp_int  trustFlags,
[in, defaultvalue(0)] xp_vbool  permanent 
)

Explicitly trust this cert for the specified categories, either for the current session or permanently.


Property Documentation

xp_variant IAccCertificate::Property( [in] AccCertificateProp property) ( [in] AccCertificateProp  property  )  [get]

Get a specific property of the certificate.


Questions? Stop by the AIM SDK Developer Forum
Created Mon Oct 15 18:06:39 2007 for AIM: Developer SDK
© 2007 AOL LLC. All Rights Reserved.