Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: x509certext.h
Link against: x509.lib

Class CX509CertPolicyInfo

class CX509CertPolicyInfo : public CBase;

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

Members

Defined in CX509CertPolicyInfo:
ExternalizeL(), Id(), InternalizeL(), NewL(), NewL(), NewLC(), NewLC(), Qualifiers()

Inherited from CBase:
Delete(), Extension_(), operator new()

See also:


Construction and destruction


NewL()

static IMPORT_C CX509CertPolicyInfo *NewL(const CX509CertPolicyInfo &aPolicy);

Description

Creates a new CX509CertPolicyInfo object from an existing object.

This is equivalent to a copy constructor.

Parameters

const CX509CertPolicyInfo &aPolicy

The CX509CertPolicyInfo object to be copied.

Return value

CX509CertPolicyInfo *

The new CX509CertPolicyInfo object.


NewLC()

static IMPORT_C CX509CertPolicyInfo *NewLC(const CX509CertPolicyInfo &aPolicy);

Description

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 &aPolicy

The CX509CertPolicyInfo object to be copied.

Return value

CX509CertPolicyInfo *

The new CX509CertPolicyInfo object.


NewL()

static IMPORT_C CX509CertPolicyInfo *NewL(RReadStream &aStream);

Description

Creates a new CX509CertPolicyInfo object from a stream.

Parameters

RReadStream &aStream

Return value

CX509CertPolicyInfo *

The new CX509CertPolicyInfo object.


NewLC()

static IMPORT_C CX509CertPolicyInfo *NewLC(RReadStream &aStream);

Description

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

Parameters

RReadStream &aStream

Return value

CX509CertPolicyInfo *

The new CX509CertPolicyInfo object.

[Top]


Member functions


Qualifiers()

IMPORT_C const CArrayPtrFlat< CX509PolicyQualifierInfo > &Qualifiers() const;

Description

Gets a reference to the array of policy qualifers.

Return value

const CArrayPtrFlat< CX509PolicyQualifierInfo > &

The array of policy qualifiers.


Id()

IMPORT_C TPtrC Id() const;

Description

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

Return value

TPtrC

A pointer descriptor representing the specific policy's OID.


ExternalizeL()

IMPORT_C void ExternalizeL(RWriteStream &aStream) const;

Description

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 &aStream

Stream to which the object should be externalised.


InternalizeL()

IMPORT_C void InternalizeL(RReadStream &aStream);

Description

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 &aStream

Stream from which the object should be internalised.