CX509CertPolicyInfo Class Reference

class CX509CertPolicyInfo : public CBase

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.

Inherits from

Constructor & Destructor Documentation

CX509CertPolicyInfo()

CX509CertPolicyInfo()[private]

~CX509CertPolicyInfo()

~CX509CertPolicyInfo()[virtual]

Destructor.

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

Member Functions Documentation

ConstructL(const TDesC8 &, TInt &)

voidConstructL(const TDesC8 &aBinaryData,
TInt &aPos
)[private]

Parameters

const TDesC8 & aBinaryData
TInt & aPos

ConstructL(const CX509CertPolicyInfo &)

voidConstructL(const CX509CertPolicyInfo &aInfo)[private]

Parameters

const CX509CertPolicyInfo & aInfo

ConstructL(RReadStream &)

voidConstructL(RReadStream &aStream)[private]

Parameters

RReadStream & aStream

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Externalises an object of this class to a write stream.

The presence of this function means that the standard templated operator<<() can be used to externalise objects of this class.

Parameters

RWriteStream & aStreamStream to which the object should be externalised.

Id()

IMPORT_C TPtrCId()const

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

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Internalises an object of this class from a read stream.

The presence of this function means that the standard templated operator>>() can be used to internalise objects of this class.

Note that this function has assignment semantics: it replaces the old value of the object with a new value read from the read stream.

Parameters

RReadStream & aStreamStream from which the object should be internalised.

NewL(const TDesC8 &)

CX509CertPolicyInfo *NewL(const TDesC8 &aBinaryData)[static]

Creates a new CX509CertPolicyInfo object from the specified buffer containing the binary coded representation.

Parameters

const TDesC8 & aBinaryDataThe encoded binary representation.

NewL(const TDesC8 &, TInt &)

CX509CertPolicyInfo *NewL(const TDesC8 &aBinaryData,
TInt &aPos
)[static]

Creates a new CX509CertPolicyInfo object from the specified buffer containing the binary coded representation, starting at the specified offset.

Parameters

const TDesC8 & aBinaryDataThe encoded binary representation.
TInt & aPosThe offset position from which to start decoding.

NewL(const CX509CertPolicyInfo &)

IMPORT_C CX509CertPolicyInfo *NewL(const CX509CertPolicyInfo &aPolicy)[static]

Creates a new CX509CertPolicyInfo object from an existing object.

This is equivalent to a copy constructor.

Parameters

const CX509CertPolicyInfo & aPolicyThe CX509CertPolicyInfo object to be copied.

NewL(RReadStream &)

IMPORT_C CX509CertPolicyInfo *NewL(RReadStream &aStream)[static]

Creates a new CX509CertPolicyInfo object from a stream.

Parameters

RReadStream & aStream

NewLC(const TDesC8 &)

CX509CertPolicyInfo *NewLC(const TDesC8 &aBinaryData)[static]

Creates a new CX509CertPolicyInfo object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack.

Parameters

const TDesC8 & aBinaryDataThe encoded binary representation.

NewLC(const TDesC8 &, TInt &)

CX509CertPolicyInfo *NewLC(const TDesC8 &aBinaryData,
TInt &aPos
)[static]

Creates a new CX509CertPolicyInfo 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 & aBinaryDataThe encoded binary representation.
TInt & aPosThe offset position from which to start decoding.

NewLC(const CX509CertPolicyInfo &)

IMPORT_C CX509CertPolicyInfo *NewLC(const CX509CertPolicyInfo &aPolicy)[static]

Creates a new CX509CertPolicyInfo 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 & aPolicyThe CX509CertPolicyInfo object to be copied.

NewLC(RReadStream &)

IMPORT_C CX509CertPolicyInfo *NewLC(RReadStream &aStream)[static]

Creates a new CX509CertPolicyInfo object from a stream, and puts a pointer to it onto the cleanup stack.

Parameters

RReadStream & aStream

Qualifiers()

IMPORT_C const CArrayPtrFlat< CX509PolicyQualifierInfo > &Qualifiers()const

Gets a reference to the array of policy qualifers.

Member Data Documentation

HBufC * iCertPolicyId

HBufC *iCertPolicyId[private]

CArrayPtrFlat< CX509PolicyQualifierInfo > * iQualifiers

CArrayPtrFlat< CX509PolicyQualifierInfo > *iQualifiers[private]