Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <x509CertExt_v2.h>
Link against: x509.lib
This item is not part of the S60 5th Edition SDK

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:

Inherited from CBase:

See also:


Construction and destruction


NewL(const CX509CertPolicyInfo &)

IMPORT_C static 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(const CX509CertPolicyInfo &)

IMPORT_C static 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(RReadStream &)

IMPORT_C static CX509CertPolicyInfo* NewL(RReadStream &aStream);

Description

Creates a new CX509CertPolicyInfo object from a stream.

Parameters

RReadStream &aStream

Return value

CX509CertPolicyInfo *

The new CX509CertPolicyInfo object.


NewLC(RReadStream &)

IMPORT_C static 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.


~CX509CertPolicyInfo()

virtual ~CX509CertPolicyInfo();

Description

Destructor.

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

[Top]


Member functions


Qualifiers()const

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()const

IMPORT_C TPtrC Id() const;

Description

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

Return value

TPtrC16

A pointer descriptor representing the specific policy's OID.


ExternalizeL(RWriteStream &)const

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<<(RWriteStream &,const T &) can be used to externalise objects of this class.

Parameters

RWriteStream &aStream

Stream to which the object should be externalised.


InternalizeL(RReadStream &)

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>>(RReadStream &,T &) 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.