CCMSX509AttributeCertificate Class Reference

class CCMSX509AttributeCertificate : public CCMSX509Signed

X.509 AttributeCertificateInfo type module

ASN.1 definition: AttributeCertificate ::= SIGNED{AttributeCertificateInfo}

SIGNATURE{ToBeSigned} ::= SEQUENCE { algorithmIdentifier AlgorithmIdentifier, encrypted ENCRYPTED-HASH{ToBeSigned} }

SIGNED{ToBeSigned} ::= SEQUENCE { toBeSigned ToBeSigned, COMPONENTS OF SIGNATURE{ToBeSigned} }

cms.lib
Since
3.0

Inherits from

Public Member Functions
~CCMSX509AttributeCertificate()
voidDecodeImplicitTagL(const TDesC8 &, const TTagType)
voidDecodeL(const TDesC8 &)
CASN1EncBase *EncoderLC()
IMPORT_C const CCMSX509AttributeCertificateInfo &Info()
IMPORT_C CCMSX509AttributeCertificate *NewL()
IMPORT_C CCMSX509AttributeCertificate *NewL(const CCMSX509AttributeCertificateInfo &, const CCMSX509AlgorithmIdentifier &, const TDesC8 &)
IMPORT_C voidSetInfoL(const CCMSX509AttributeCertificateInfo &)
Protected Member Functions
CCMSX509AttributeCertificate()
IMPORT_C voidConstructL(const CCMSX509AttributeCertificateInfo &, const CCMSX509AlgorithmIdentifier &, const TDesC8 &)
IMPORT_C voidConstructL()
Private Member Functions
voidDecodeArrayL(CArrayPtr< TASN1DecGeneric > *)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CCMSSequence::CCMSSequence()
CCMSSequence::CreateDerEncodingL(CASN1EncBase *)
CCMSSequence::DecodeSequenceLC(const TDesC8 &)
CCMSSequence::DecodeSequenceLC(const TDesC8 &,TInt,TInt)
CCMSSequence::EncodeL(HBufC8 *&)const
CCMSX509Signed::AlgorithmIdentifier()const
CCMSX509Signed::BaseConstructL(const CCMSX509AlgorithmIdentifier &,const TDesC8 &)
CCMSX509Signed::CCMSX509Signed()
CCMSX509Signed::DecodeSignatureArrayL(CArrayPtr< TASN1DecGeneric > &,CCMSX509AlgorithmIdentifier *&,HBufC8 *&)const
CCMSX509Signed::DecodeSignatureL(const TDesC8 &,CCMSX509AlgorithmIdentifier *&,HBufC8 *&)const
CCMSX509Signed::Encrypted()const
CCMSX509Signed::SetAlgorithmIdentifierL(const CCMSX509AlgorithmIdentifier &)
CCMSX509Signed::SetEncryptedL(const TDesC8 &)
CCMSX509Signed::SignAndPopLC(CASN1EncBase *)const
CCMSX509Signed::~CCMSX509Signed()
Private Attributes
CCMSX509AttributeCertificateInfo *iInfo
MCMSX509AttributeCertificateExtension *iReserved
Inherited Attributes
CCMSX509Signed::iAlgorithmIdentifier
CCMSX509Signed::iEncrypted

Constructor & Destructor Documentation

CCMSX509AttributeCertificate()

IMPORT_CCCMSX509AttributeCertificate()[protected]

C++ default constructor.

~CCMSX509AttributeCertificate()

~CCMSX509AttributeCertificate()[virtual]

Destructor.

Member Functions Documentation

ConstructL(const CCMSX509AttributeCertificateInfo &, const CCMSX509AlgorithmIdentifier &, const TDesC8 &)

IMPORT_C voidConstructL(const CCMSX509AttributeCertificateInfo &aInfo,
const CCMSX509AlgorithmIdentifier &aAlgorithmIdentifier,
const TDesC8 &aEncrypted
)[protected]

Protected construction to allow derivation

Parameters

const CCMSX509AttributeCertificateInfo & aInfo
const CCMSX509AlgorithmIdentifier & aAlgorithmIdentifier
const TDesC8 & aEncrypted

ConstructL()

IMPORT_C voidConstructL()[protected]

Protected construction to allow derivation

DecodeArrayL(CArrayPtr< TASN1DecGeneric > *)

voidDecodeArrayL(CArrayPtr< TASN1DecGeneric > *aItems)[private]

Decodes internal data from a array of ASN.1 decoders

Parameters

CArrayPtr< TASN1DecGeneric > * aItemsitems to internalize

DecodeImplicitTagL(const TDesC8 &, const TTagType)

voidDecodeImplicitTagL(const TDesC8 &aRawData,
const TTagTypeaImplicitTag
)
Decoder method with implicit tag checking.
Since
3.0

Parameters

const TDesC8 & aRawDataraw-data to be parsed in this instance
const TTagType aImplicitTagtag to be checked

DecodeL(const TDesC8 &)

voidDecodeL(const TDesC8 &aRawData)
From MCMSModule
Since
3.0

Parameters

const TDesC8 & aRawDataraw-data to be parsed in this instance

EncoderLC()

CASN1EncBase *EncoderLC()const
From MCMSModule
Since
3.0

Info()

IMPORT_C const CCMSX509AttributeCertificateInfo &Info()const
Getter for the info.
Since
3.0

NewL()

IMPORT_C CCMSX509AttributeCertificate *NewL()[static]

Two-phased constructor.

NewL(const CCMSX509AttributeCertificateInfo &, const CCMSX509AlgorithmIdentifier &, const TDesC8 &)

IMPORT_C CCMSX509AttributeCertificate *NewL(const CCMSX509AttributeCertificateInfo &aInfo,
const CCMSX509AlgorithmIdentifier &aAlgorithmIdentifier,
const TDesC8 &aEncrypted
)[static]

Two-phased constructor. Copies of the parameters are made.

Parameters

const CCMSX509AttributeCertificateInfo & aInfoAttributeCertificateInfo, contains the actual data of the certificate.
const CCMSX509AlgorithmIdentifier & aAlgorithmIdentifieridentifies the algorithm used in the signature
const TDesC8 & aEncryptedmust be the result of applying a hashing procedure to the DER-encoded octets of a value of aInfo and then applying an encipherment procedure to those octets

SetInfoL(const CCMSX509AttributeCertificateInfo &)

IMPORT_C voidSetInfoL(const CCMSX509AttributeCertificateInfo &aInfo)
Setter for the info. Creates a copy.
Since
3.0

Parameters

const CCMSX509AttributeCertificateInfo & aInfoX.509 AttributeCertificateInfo

Member Data Documentation

CCMSX509AttributeCertificateInfo * iInfo

CCMSX509AttributeCertificateInfo *iInfo[private]

MCMSX509AttributeCertificateExtension * iReserved

MCMSX509AttributeCertificateExtension *iReserved[private]