CSymbianCertStore Class Reference
class CSymbianCertStore : public CActive
|
Constructor & Destructor Documentation
CSymbianCertStore()
CSymbianCertStore
|
(
|
)
|
[private]
|
~CSymbianCertStore()
~CSymbianCertStore
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddCert(const TDesC8 &, const TDesC8 &)
IMPORT_C void
|
AddCert
|
(
|
const
TDesC8
&
|
aCertData,
|
|
const
TDesC8
&
|
aCertName
|
|
)
|
|
Parameters
const
TDesC8
& aCertData
|
The cert data
|
const
TDesC8
& aCertName
|
Name of the cert
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
By default Symbian 2nd phase constructor is private.
CreateUnifiedCertStoreL()
IMPORT_C void
|
CreateUnifiedCertStoreL
|
(
|
)
|
|
Create Unified Cert Store
DoCancel()
void
|
DoCancel
|
(
|
)
|
[protected, virtual]
|
This function is called as part of the active object's
Cancel()
.
FindCertL(const TDesC8 &)
IMPORT_C void
|
FindCertL
|
(
|
const
TDesC8
&
|
aLabel
|
)
|
|
Find a cert in the Unified Cert Store
Parameters
const
TDesC8
& aLabel
|
The name of the cert to be found
|
FindMatchedCert()
void
|
FindMatchedCert
|
(
|
)
|
[private]
|
To find matched key in the phase EFindingKeys
GetCertList()
Get list of certs from SymbianCertStore
GetCertSize()
IMPORT_C
TUint
|
GetCertSize
|
(
|
)
|
|
Get the size of the cert stored
GetError()
IMPORT_C
TInt
|
GetError
|
(
|
)
|
|
GetRetrieveCertData()
IMPORT_C
HBufC8
*
|
GetRetrieveCertData
|
(
|
)
|
|
ListCertL()
IMPORT_C void
|
ListCertL
|
(
|
)
|
|
List certs from the Unified Cert Store
NewLC()
Create new object and put it on clean stack.
ResetAndDestroyCertsArray()
void
|
ResetAndDestroyCertsArray
|
(
|
)
|
[private]
|
Release all resources kept in iCerts array (exept for iCert which is released separetly) and empty iCerts array
ResetCertsList()
void
|
ResetCertsList
|
(
|
)
|
[private]
|
Release all resources kept in iCerts array and empty iCerts array
RetrieveCertDataL()
IMPORT_C void
|
RetrieveCertDataL
|
(
|
)
|
|
Retrieve Cert Data. Sets iCertData from iCert
RetrieveCertObjectL()
IMPORT_C void
|
RetrieveCertObjectL
|
(
|
)
|
|
Retrieve Cert Object. Sets iCertObject from iCert
RunError(TInt)
TInt
|
RunError
|
(
|
TInt
|
aError
|
)
|
[protected, virtual]
|
Handles Leaves from RunL function.
RunL()
void
|
RunL
|
(
|
)
|
[protected, virtual]
|
From
CActive
Callback function, invoked to handle responses from the server
hasCert()
IMPORT_C
TInt
|
hasCert
|
(
|
)
|
|
Check if a cert is found in the Unified Cert Store
Member Enumerations Documentation
Enum TState
State of active object. EUnitialized standard state EInitializingCertStore during initialize certstore EFindingCerts during finding cert EListCerts during listing certs EAddingCert during adding cert ERetrievingCertData during retrieving cert data ERetrievingCertObject during retrieving cert object
Enumerators
EUnitialized
|
|
EInitializingCertStore
|
|
EFindingCerts
|
|
EListCerts
|
|
EAddingCert
|
|
ERetrievingCertData
|
|
ERetrievingCertObject
|
|
Member Data Documentation
CCertAttributeFilter * iCertFilter
Store filter to search in SymbianCertStore
HBufC * iCertLabel
HBufC
*
|
iCertLabel
|
[private]
|
CCertificate * iCertObject
store the retrived parsed representation, derived object
CUnifiedCertStore * iCertStore
CUnifiedCertStore *
|
iCertStore
|
[private]
|
A reference to the CUnifiedCertStore class
RMPointerArray< CCTCertInfo > iCerts
RFs
iFs
A reference to the File Server Client
MCTWritableCertStore * iWritableCertStore
A reference to the WritableCertStore
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.