PKCS12::CDecPkcs12SafeContentsBag Class Reference

class PKCS12::CDecPkcs12SafeContentsBag : public PKCS12::CDecPkcs12SafeBag

Decodes the SafeContents bag present within a SafeBag and returns an array of Safebags present within this SafeContents bag.

Inherits from

Constructor & Destructor Documentation

CDecPkcs12SafeContentsBag()

CDecPkcs12SafeContentsBag ( ) [private]

Constructor.

CDecPkcs12SafeContentsBag(const CDecPkcs12SafeContentsBag &)

CDecPkcs12SafeContentsBag ( const CDecPkcs12SafeContentsBag & aDecPkcs12SafeContentsBag ) [private]

Copy Constructor.

Parameters

const CDecPkcs12SafeContentsBag & aDecPkcs12SafeContentsBag A CDecPkcs12SafeContentsBag object.

~CDecPkcs12SafeContentsBag()

~CDecPkcs12SafeContentsBag ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL(const TDesC8 &)

void ConstructL ( const TDesC8 & aSafeContentsBagData ) [private]
This decodes the entire SafeContentsBag structure.
leave
KErrArgument if the data is not a sequence or class tag name is not Universal.
CDecPkcs12SafeBag

Parameters

const TDesC8 & aSafeContentsBagData Contains a PKCS#12 SafeBag structure.

NewL(const TDesC8 &)

IMPORT_C CDecPkcs12SafeContentsBag * NewL ( const TDesC8 & aSafeContentsBagData ) [static]

Creates a new PKCS#12SafeContentsBag object.

leave
KErrArgument if the data is not a sequence or class tag name is not Universal.

Parameters

const TDesC8 & aSafeContentsBagData Contains a PKCS#12 SafeBag structure.

SafeBags()

IMPORT_C const RPointerArray < CDecPkcs12SafeBag > & SafeBags ( ) const

The SafeContents Bag contains one or more Safe Bags in it.This method returns the reference to all these SafeBags.

operator=(const CDecPkcs12SafeContentsBag &)

CDecPkcs12SafeContentsBag & operator= ( const CDecPkcs12SafeContentsBag & aDecPkcs12SafeContentsBag ) [private]

Assignment operator.

Parameters

const CDecPkcs12SafeContentsBag & aDecPkcs12SafeContentsBag A CDecPkcs12SafeContentsBag object.

Member Data Documentation

RPointerArray< CDecPkcs12SafeBag > iSafeBags

RPointerArray < CDecPkcs12SafeBag > iSafeBags [private]

Contains an array of SafeBags present within the SafeContents Bag