MPKCS12 Class Reference

class MPKCS12

Class MPKCS12 The MPKCS12 abstract base class for opening a PKCS #12 file. PKCS #12 is a format used to store and protect user's private data, i.e. his/her key pairs, certificates and other personal information.

Since
Series 60 3.0
Public Member Functions
const CArrayPtr< CX509Certificate > &CACertificates()
TBool IsPKCS12Data(const TDesC8 &)
TUint IterCount()
voidParseL(const TDesC8 &, const TDesC16 &)
const CArrayPtr< HBufC8 > &PrivateKeys()
voidRelease()
TUint SafeBagsCount()
const CArrayPtr< CX509Certificate > &UserCertificates()
Protected Member Functions
~MPKCS12()

Constructor & Destructor Documentation

~MPKCS12()

~MPKCS12()[protected, inline, virtual]

Destructor.

Member Functions Documentation

CACertificates()

const CArrayPtr< CX509Certificate > &CACertificates()const [pure virtual]
?member_description.
Since
Series ?XX ?SeriesXX_version

IsPKCS12Data(const TDesC8 &)

TBool IsPKCS12Data(const TDesC8 &aBinaryData)[pure virtual]

Recognizes PKCS#12 data

Parameters

const TDesC8 & aBinaryData

IterCount()

TUint IterCount()const [pure virtual]

ParseL(const TDesC8 &, const TDesC16 &)

voidParseL(const TDesC8 &aPKCS12,
const TDesC16 &aPassword
)[pure virtual]

Executes actual parsing.

Parameters

const TDesC8 & aPKCS12PKCS#12 encoded data
const TDesC16 & aPasswordUsed to generate encryption key.

PrivateKeys()

const CArrayPtr< HBufC8 > &PrivateKeys()const [pure virtual]

Release()

voidRelease()[pure virtual]

Frees resources of the MPKCS12 class

SafeBagsCount()

TUint SafeBagsCount()const [pure virtual]

UserCertificates()

const CArrayPtr< CX509Certificate > &UserCertificates()const [pure virtual]