Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



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

CBaseBase class for all classes to be instantiated on the heap
CX509CertPolicyInfoDefines 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


NewL()

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

CX509CertPolicyInfo*

The new specific policy object.


NewL()

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

CX509CertPolicyInfo*

The new specific policy object.


NewL()

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

const CX509CertPolicyInfo& aPolicy

The specific policy object to be copied.

Return value

CX509CertPolicyInfo*

The new specific policy object.


NewLC()

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

CX509CertPolicyInfo*

The new specific policy object.


NewLC()

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

CX509CertPolicyInfo*

The new specific policy object.


NewLC()

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

const CX509CertPolicyInfo& aPolicy

The specific policy object to be copied.

Return value

CX509CertPolicyInfo*

The new specific policy object.


~CX509CertPolicyInfo()

~CX509CertPolicyInfo();

Description

Destructor.

Frees all resources owned by the object, prior to its destruction.

[Top]


Member functions


Qualifiers()

const CArrayPtrFlat<CX509PolicyQualifierInfo>& Qualifiers() const;

Description

Gets a reference to the array of policy qualifers.

Return value

CArrayPtrFlatCX509PolicyQualifierInfo&

The array of policy qualifiers.


Id()

TPtrC Id() const;

Description

Gets the sepcific policy's Object Identifier (OID).

Return value

TPtrC

A pointer descriptor representing the specific policy's OID.