»
Developer Library »
API Reference »
C++ API reference »
Certificate Manager »
CX509CertPolicyInfo
Location:
x509certext.h
Link against: x509.lib
Class CX509CertPolicyInfo
CX509CertPolicyInfo
Support
Supported from 6.0
Description
Defines a specific policy followed by a Certification Authority.
The policy under which a certificate has been issued may contain a number of these
specific policies.
Derivation
CBase | Base class for all classes to be instantiated on the heap |
CX509CertPolicyInfo | Defines a specific policy followed by a Certification Authority |
|
Defined in CX509CertPolicyInfo:
Id(), NewL(), NewL(), NewL(), NewLC(), NewLC(), NewLC(), Qualifiers(), ~CX509CertPolicyInfo()
Inherited from CBase:
operator new()
See also:
Construction and destruction
static CX509CertPolicyInfo* NewL(const TDesC8& aBinaryData);
Description
Creates a new specific policy object from the specified buffer
containing the binary coded representation.
Parameters
const TDesC8& aBinaryData |
The encoded binary representation. |
|
Return value
static CX509CertPolicyInfo* NewL(const TDesC8& aBinaryData, TInt& aPos);
Description
Creates a new specific policy object from the specified buffer
containing the binary coded representation, starting at the specified offset.
Parameters
const TDesC8& aBinaryData |
The encoded binary representation. |
const TInt& aPos |
The offset position from which to start decoding. |
|
Return value
static CX509CertPolicyInfo* NewL(const CX509CertPolicyInfo& aPolicy);
Description
Creates a new specific policy object from an existing object.
This is equivalent to a copy constructor.
Parameters
Return value
static CX509CertPolicyInfo* NewLC(const TDesC8& aBinaryData, TInt& aPos);
Description
Creates a new specific policy object from the specified buffer
containing the binary coded representation, starting at the specified offset, and puts a
pointer to it onto the cleanup stack.
Parameters
const TDesC8& aBinaryData |
The encoded binary representation. |
const TInt& aPos |
The offset position from which to start decoding. |
|
Return value
static CX509CertPolicyInfo* NewLC(const TDesC8& aBinaryData);
Description
Creates a new specific policy object from the specified buffer
containing the binary coded representation, and puts a pointer to it onto the cleanup stack.
Parameters
const TDesC8& aBinaryData |
The encoded binary representation. |
|
Return value
static CX509CertPolicyInfo* NewLC(const CX509CertPolicyInfo& aPolicy);
Description
Creates a new specific policy object from an existing object, and puts a pointer to it
onto the cleanup stack.
This is equivalent to a copy constructor.
Parameters
Return value
~CX509CertPolicyInfo();
Description
Destructor.
Frees all resources owned by the object, prior to its destruction.
const CArrayPtrFlat<CX509PolicyQualifierInfo>& Qualifiers() const;
Description
Gets a reference to the array of policy qualifers.
Return value
CArrayPtrFlatCX509PolicyQualifierInfo& |
The array of policy qualifiers. |
|
TPtrC Id() const;
Description
Gets the sepcific policy's Object Identifier (OID).
Return value
TPtrC |
A pointer descriptor representing the specific policy's OID. |
|