CX509CertPolicyInfo Class Reference

#include <x509certext.h>

Link against: x509.lib

class CX509CertPolicyInfo : public CBase

Inherits from

Detailed 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.

See also: CX509CertPoliciesExt

Since
v6.0

Constructor & Destructor Documentation

~CX509CertPolicyInfo ( )

~CX509CertPolicyInfo()[virtual]

Destructor.

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

Member Function Documentation

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
aStreamStream to which the object should be externalised.

Id ( )

IMPORT_C TPtrCId()const

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

Return Value
A pointer descriptor representing the specific policy's 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
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
aBinaryDataThe encoded binary representation.
Return Value
The new CX509CertPolicyInfo object.

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
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.
Return Value
The new CX509CertPolicyInfo object.

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
aPolicyThe CX509CertPolicyInfo object to be copied.
Return Value
The new CX509CertPolicyInfo object.

NewL ( RReadStream & )

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

Creates a new CX509CertPolicyInfo object from a stream.

Return Value
The new CX509CertPolicyInfo object.

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
aBinaryDataThe encoded binary representation.
Return Value
The new CX509CertPolicyInfo object.

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
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.
Return Value
The new CX509CertPolicyInfo object.

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
aPolicyThe CX509CertPolicyInfo object to be copied.
Return Value
The new CX509CertPolicyInfo object.

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.

Return Value
The new CX509CertPolicyInfo object.

Qualifiers ( )

IMPORT_C const CArrayPtrFlat< CX509PolicyQualifierInfo > &Qualifiers()const

Gets a reference to the array of policy qualifers.

Return Value
The array of policy qualifiers.