#include <x509certext.h>
Link against: x509.lib
class CX509CertPolicyInfo : public CBase |
Public Member Functions | |
---|---|
virtual | ~CX509CertPolicyInfo() |
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C TPtrC | Id() |
IMPORT_C void | InternalizeL(RReadStream &) |
CX509CertPolicyInfo * | NewL(const TDesC8 &) |
CX509CertPolicyInfo * | NewL(const TDesC8 &, TInt &) |
IMPORT_C CX509CertPolicyInfo * | NewL(const CX509CertPolicyInfo &) |
IMPORT_C CX509CertPolicyInfo * | NewL(RReadStream &) |
CX509CertPolicyInfo * | NewLC(const TDesC8 &) |
CX509CertPolicyInfo * | NewLC(const TDesC8 &, TInt &) |
IMPORT_C CX509CertPolicyInfo * | NewLC(const CX509CertPolicyInfo &) |
IMPORT_C CX509CertPolicyInfo * | NewLC(RReadStream &) |
IMPORT_C const CArrayPtrFlat< CX509PolicyQualifierInfo > & | Qualifiers() |
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
~CX509CertPolicyInfo | ( | ) | [virtual] |
Destructor.
Frees all resources owned by the object, prior to its destruction.
IMPORT_C void | ExternalizeL | ( | 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 | |
---|---|
aStream | Stream to which the object should be externalised. |
IMPORT_C TPtrC | Id | ( | ) | const |
Gets the specific policy's Object Identifier (OID).
IMPORT_C void | InternalizeL | ( | 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 | |
---|---|
aStream | Stream from which the object should be internalised. |
CX509CertPolicyInfo * | NewL | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a new CX509CertPolicyInfo object from the specified buffer containing the binary coded representation.
Parameters | |
---|---|
aBinaryData | The encoded binary representation. |
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 | |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. |
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 | |
---|---|
aPolicy | The CX509CertPolicyInfo object to be copied. |
IMPORT_C CX509CertPolicyInfo * | NewL | ( | RReadStream & | aStream | ) | [static] |
Creates a new CX509CertPolicyInfo object from a stream.
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 | |
---|---|
aBinaryData | The encoded binary representation. |
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 | |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. |
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 | |
---|---|
aPolicy | The CX509CertPolicyInfo object to be copied. |
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.
IMPORT_C const CArrayPtrFlat< CX509PolicyQualifierInfo > & | Qualifiers | ( | ) | const |
Gets a reference to the array of policy qualifers.