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


Member Typedef Documentation

Categories of trust for the certificate.

Usage types for the certificate.

Properties for the Property method.


Member Enumeration Documentation

Categories of trust for the certificate.

Enumerator:
AccCertificateTrustFlags_Ssl 
AccCertificateTrustFlags_Email 
AccCertificateTrustFlags_ObjectSigning 

Usage types for the certificate.

Enumerator:
AccCertificateUsage_SslClient 
AccCertificateUsage_SslServer 
AccCertificateUsage_Signing 
AccCertificateUsage_Encryption 

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::Property ( [in] AccCertificateProp  property,
[out, retval] xp_variant value 
) [get]

Get a specific property of the certificate.

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.


Questions? Stop by the AIM SDK Developer Forum
Created Mon Nov 10 09:21:16 2008 for AIM: Developer SDK
© 2008 AOL LLC. All Rights Reserved.