CPKCS9ExtensionRequestAttr Class Reference

class CPKCS9ExtensionRequestAttr : public CPKCSAttributeBase

Class representing a collection of one or more X.509 Certificate Extension attributes.

Inherits from

Constructor & Destructor Documentation

CPKCS9ExtensionRequestAttr()

CPKCS9ExtensionRequestAttr()[private]

~CPKCS9ExtensionRequestAttr()

~CPKCS9ExtensionRequestAttr()[virtual]

Member Functions Documentation

AddExtensionL(const CX509CertExtension &)

IMPORT_C voidAddExtensionL(const CX509CertExtension &aExtension)

Adds an extension to the extensions attribute.

Parameters

const CX509CertExtension & aExtensionAn X.509 Certificate Extension object.

ConstructL(const CX509CertExtension &)

voidConstructL(const CX509CertExtension &aExtension)[private]

Parameters

const CX509CertExtension & aExtension

GetEncodingLC()

CASN1EncBase *GetEncodingLC()[virtual]
Get the ASN.1 encoding of the attribute and relinquish ownership of it, leaving it on the cleanup stack. This is called by CPKCS10Attribtues when AddAttribute() is called. Note that this method cannot be reused unless Reset() has been called.
panic
E32USER-CBase:66 if a stack frame for the next PushL() cannot be allocated.

NewL(const CX509CertExtension &)

IMPORT_C CPKCS9ExtensionRequestAttr *NewL(const CX509CertExtension &aExtension)[static]

Create a PKCS#9 Extensions attribute with the a single extension.

Parameters

const CX509CertExtension & aExtensionAn X.509 Certificate Extension object.

NewLC(const CX509CertExtension &)

IMPORT_C CPKCS9ExtensionRequestAttr *NewLC(const CX509CertExtension &aExtension)[static]

Create a PKCS#9 Extensions attribute with the a single extension, leaving it on the cleanup stack.

Parameters

const CX509CertExtension & aExtensionAn X.509 Certificate Extension object.

ResetL(const CX509CertExtension &)

IMPORT_C voidResetL(const CX509CertExtension &aExtension)

Reset method to allow for re-use of the attribute object. Already existing extensions are removed.

Parameters

const CX509CertExtension & aExtensionAn X.509 Certificate Extension object.

Member Data Documentation

CASN1EncSequence * iExtSeq

CASN1EncSequence *iExtSeq[private]