RWimCertMgmt Class Reference
class RWimCertMgmt : public RWimClient
|
RWimCertMgmt
This class handle certificate handling and KeyInformation handling related traffic between client and server. WimClient
-
Since
-
Series 60 2.1
Public Member Functions
|
|
~RWimCertMgmt
()
|
TUint8
|
CertCount
(
TWimEntryType
)
|
void
|
CertDetailsL
(const
TCertificateAddress
,
TWimCertDetails
&,
TRequestStatus
&)
|
CWimCertPckgBuf
<
TCertExtrasInfo
> *
|
CertExtrasPckgBuf
()
|
void
|
CertRefLst
(
TCertificateAddressList
,
TWimCertInfo
*,
TUint8
,
TWimEntryType
,
TRequestStatus
&)
|
TInt
|
CertRefLst
(
TCertificateAddressList
,
TWimCertInfo
*,
TUint8
,
TWimEntryType
)
|
RWimCertMgmt
*
|
ClientSessionL
()
|
void
|
DeallocCertAddParametersPckgBuf
()
|
void
|
DeallocExportPublicKeyPckgBuf
()
|
void
|
DeallocGetExtrasPckgBuf
()
|
void
|
DeallocJavaDataPckgBuf
()
|
void
|
DeallocKeySignPckgBuf
()
|
void
|
DeallocOmaDataPckgBuf
()
|
void
|
DeallocRemoveCertPckgBuf
()
|
void
|
DeallocWimCertPckgBuf
()
|
void
|
ExportPublicKeyL
(
TExportPublicKey
&,
TRequestStatus
&)
|
void
|
GetCertExtrasL
(const
TPtr8
*,
TCertExtrasInfo
&,
TUint
,
TRequestStatus
&)
|
TInt
|
GetKeyInfo
(const
TInt32
,
TKeyInfo
&)
|
void
|
KeyList
(
TDes8
&,
TDes8
&,
TRequestStatus
&)
|
void
|
RemoveL
(
TWimCertRemoveAddr
,
TRequestStatus
&)
|
void
|
RetrieveACFDataL
(
TJavaProv
&,
TRequestStatus
&, const
TWimServRqst
)
|
void
|
RetrieveACIFDataL
(
TJavaProv
&,
TRequestStatus
&, const
TWimServRqst
)
|
void
|
RetrieveAuthObjsInfoL
(const
RArray
<
TInt
> &,
RArray
<
TJavaPINParams
> &,
TRequestStatus
&, const
TWimServRqst
)
|
void
|
RetrieveLabelAndPathL
(
TDes8
&,
TDes8
&,
TRequestStatus
&, const
TWimServRqst
)
|
void
|
RetrieveOmaDataL
(
TOmaProv
&,
TRequestStatus
&, const
TWimServRqst
)
|
void
|
SignL
(
TKeySignParameters
&,
TRequestStatus
&)
|
void
|
StoreCertificateL
(const
TDes8
&,
TWimCertAddParameters
&,
TWimCertLocation
,
TRequestStatus
&)
|
CWimCertPckgBuf
<
TJavaProv
> *
|
TJavaProvPckgBuf
()
|
CWimCertPckgBuf
<
TOmaProv
> *
|
TOmaProvPckgBuf
()
|
Inherited Functions
|
|
RHandleBase::Attributes()const
|
|
RHandleBase::BTraceId()const
|
|
RHandleBase::Close()
|
|
RHandleBase::DoExtendedClose()
|
|
RHandleBase::Duplicate(const RThread &,TOwnerType)
|
|
RHandleBase::FullName()const
|
|
RHandleBase::FullName(TDes &)const
|
|
RHandleBase::Handle()const
|
|
RHandleBase::HandleInfo(THandleInfo *)
|
|
RHandleBase::Name()const
|
|
RHandleBase::NotifyDestruction(TRequestStatus &)
|
|
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
|
|
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
|
|
RHandleBase::RHandleBase()
|
|
RHandleBase::RHandleBase(TInt)
|
|
RHandleBase::SetHandle(TInt)
|
|
RHandleBase::SetHandleNC(TInt)
|
|
RSessionBase::CreateSession(RServer2,const TVersion &)
|
|
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
|
|
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
|
|
RSessionBase::CreateSession(const TDesC &,const TVersion &)
|
|
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
|
|
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
|
|
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
|
|
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
|
|
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
|
|
RSessionBase::Open(TInt,TOwnerType)
|
|
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
|
|
RSessionBase::Send(TInt)const
|
|
RSessionBase::Send(TInt,const TIpcArgs &)const
|
|
RSessionBase::SendReceive(TInt)const
|
|
RSessionBase::SendReceive(TInt,TRequestStatus &)const
|
|
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
|
|
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
|
|
RSessionBase::SetReturnedHandle(TInt)
|
|
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
|
|
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
|
|
RSessionBase::ShareAuto()
|
|
RSessionBase::ShareProtected()
|
|
RWimClient::CancelInitialize()
|
|
RWimClient::Connect()
|
|
RWimClient::FreeAddrLst(const TUint32)
|
|
RWimClient::FreeWIMAddr(const TWimAddress)
|
|
RWimClient::FreeWIMAddrLst(const TWimAddressList,const TUint)
|
|
RWimClient::Initialize(TRequestStatus &)
|
|
RWimClient::RWimClient()
|
|
RWimClient::SendReceiveData(TWimServRqst,TIpcArgs &)
|
|
RWimClient::SendReceiveData(TWimServRqst,TIpcArgs &,TRequestStatus &)
|
|
RWimClient::StartWim()
|
|
RWimClient::Version()const
|
|
RWimClient::~RWimClient()
|
Constructor & Destructor Documentation
RWimCertMgmt()
RWimCertMgmt
|
(
|
)
|
[private]
|
RWimCertMgmt(const RWimCertMgmt &)
~RWimCertMgmt()
~RWimCertMgmt
|
(
|
)
|
[virtual]
|
Destructor. Allocated memory is released.
Member Functions Documentation
CertCount(TWimEntryType)
TUint8
|
CertCount
|
(
|
TWimEntryType
|
aType
|
)
|
|
Returns the count of certificates
Parameters
TWimEntryType
aType
|
-The type of certificates to be counted.
|
CertDetailsL(const TCertificateAddress, TWimCertDetails &, TRequestStatus &)
Returns certificate details.
CertRefLst(TCertificateAddressList, TWimCertInfo *, TUint8, TWimEntryType, TRequestStatus &)
Returns certificate list on the WIM.
Parameters
TCertificateAddressList
aCertAddrLst
|
- to hold references to certificates
|
TWimCertInfo
* aCertInfoArr
|
-address of the certlist address
|
TUint8
aCount
|
-the count of certificates
|
TWimEntryType
aCertEntryType
|
-What type of certificates is wanted: ECrEntryTypeAll, ECrEntryTypeCA or ECrEntryTypePersonal
|
TRequestStatus
& aStatus
|
-Caller's status
|
CertRefLst(TCertificateAddressList, TWimCertInfo *, TUint8, TWimEntryType)
Returns certificate list on the WIM.
Parameters
TCertificateAddressList
aCertAddrLst
|
- to hold references to certificates
|
TWimCertInfo
* aCertInfoArr
|
-address of the certlist address
|
TUint8
aCount
|
-the count of certificates
|
TWimEntryType
aCertEntryType
|
-What type of certificates is wanted: ECrEntryTypeAll, ECrEntryTypeCA or ECrEntryTypePersonal
|
ClientSessionL()
A Static method to get the client Session RWimCertMgmt*
DeallocCertAddParametersPckgBuf()
void
|
DeallocCertAddParametersPckgBuf
|
(
|
)
|
|
Deallocates memory from iPckgAddCerts.
DeallocExportPublicKeyPckgBuf()
void
|
DeallocExportPublicKeyPckgBuf
|
(
|
)
|
|
Deallocates memory from iPckgBufExportPublicKey.
DeallocGetExtrasPckgBuf()
void
|
DeallocGetExtrasPckgBuf
|
(
|
)
|
|
Deallocates memory from iPckgGetExtrasAllocated.
DeallocJavaDataPckgBuf()
void
|
DeallocJavaDataPckgBuf
|
(
|
)
|
|
Deallocates memory from iPckgBufJavaProv
DeallocKeySignPckgBuf()
void
|
DeallocKeySignPckgBuf
|
(
|
)
|
|
Deallocates memory from iPckgKeySignParameters.
DeallocOmaDataPckgBuf()
void
|
DeallocOmaDataPckgBuf
|
(
|
)
|
|
Deallocates memory from iPckgBufOmaProv
DeallocRemoveCertPckgBuf()
void
|
DeallocRemoveCertPckgBuf
|
(
|
)
|
|
Deallocates memory from iPckgRemoveCert.
DeallocWimCertPckgBuf()
void
|
DeallocWimCertPckgBuf
|
(
|
)
|
|
Deallocates memory from iPckgCertDetails.
ExportPublicKeyL(TExportPublicKey &, TRequestStatus &)
GetCertExtrasL(const TPtr8 *, TCertExtrasInfo &, TUint, TRequestStatus &)
Gets certificate extra information from one certificate
Parameters
const
TPtr8
* aKeyId
|
- identifies needed certificate
|
TCertExtrasInfo
& aCertExtrasInfo
|
-Preallocated structure to hold the certificate extra info
|
TUint
aUsage
|
-Identifies the usage of certificate, User or CA
|
TRequestStatus
& aStatus
|
-Caller's status
|
GetKeyInfo(const TInt32, TKeyInfo &)
Gets keyInfo for single key.
Parameters
const
TInt32
aKeyReference
|
-Unique identifier for key.
|
TKeyInfo
& aKeyInfo
|
-Struct for other key information.
|
KeyList(TDes8 &, TDes8 &, TRequestStatus &)
Returns KeyList from the WIM.
Parameters
TDes8
& aKeyList
|
-KeyReferences are listed to this
|
TDes8
& aKeyCount
|
-The number of keys is put to this
|
TRequestStatus
& aStatus
|
-Caller's status
|
RemoveL(TWimCertRemoveAddr, TRequestStatus &)
Removes a certificate from WIM.
RetrieveACFDataL(TJavaProv &, TRequestStatus &, const TWimServRqst)
Parameters
TJavaProv
& aJavaProvStruct
|
Struct to hold Java data.
|
TRequestStatus
& aStatus
|
Caller's status
|
const
TWimServRqst
aOpCode
|
Code of operation
|
RetrieveACIFDataL(TJavaProv &, TRequestStatus &, const TWimServRqst)
Parameters
TJavaProv
& aJavaProvStruct
|
Struct to hold Java data.
|
TRequestStatus
& aStatus
|
Caller's status
|
const
TWimServRqst
aOpCode
|
Code of operation
|
RetrieveAuthObjsInfoL(const RArray< TInt > &, RArray< TJavaPINParams > &, TRequestStatus &, const TWimServRqst)
Retrieves Authtication object data.
RetrieveLabelAndPathL(TDes8 &, TDes8 &, TRequestStatus &, const TWimServRqst)
Retrieves Label and Path.
RetrieveOmaDataL(TOmaProv &, TRequestStatus &, const TWimServRqst)
Retrieves data for OMA Provisioning support. Data can be data size, type or the actual binary data.
Parameters
TOmaProv
& aOmaProvStruct
|
-Struct to hold OMA Provisioning data.
|
TRequestStatus
& aStatus
|
-Caller's status
|
const
TWimServRqst
aOpCode
|
-Code of operation ( EGetOMAFileSize or EGetOMAFile
|
SignL(TKeySignParameters &, TRequestStatus &)
StoreCertificateL(const TDes8 &, TWimCertAddParameters &, TWimCertLocation, TRequestStatus &)
Stores the certificate to WIM.
Parameters
const
TDes8
& aCertificate
|
|
TWimCertAddParameters
& aParams
|
- TWimCertAddParameters params to the certificate
|
TWimCertLocation
aLocation
|
-Location where we want to store. In this case: EWimCertLocationWIMCard
|
TRequestStatus
& aStatus
|
|
operator=(const RWimCertMgmt &)
Member Data Documentation
TPtrC8 * iAuthIdLstPtr
TPtrC8
*
|
iAuthIdLstPtr
|
[private]
|
TPtr8 * iAuthObjsInfoLstPtr
TPtr8
*
|
iAuthObjsInfoLstPtr
|
[private]
|
TPtr8
iCertInfoLst
TPtr8
|
iCertInfoLst
|
[private]
|
CWimCertPckgBuf< TWimCertAddParameters > * iPckgBufAddCerts
TBool
iPckgBufAddCertsAllocated
TBool
|
iPckgBufAddCertsAllocated
|
[private]
|
CWimCertPckgBuf< TWimCertDetails > * iPckgBufCertDetails
TBool
iPckgBufCertDetailsAllocated
TBool
|
iPckgBufCertDetailsAllocated
|
[private]
|
CWimCertPckgBuf< TExportPublicKey > * iPckgBufExportPublicKey
TBool
iPckgBufExportPublicKeyAllocated
TBool
|
iPckgBufExportPublicKeyAllocated
|
[private]
|
CWimCertPckgBuf< TCertExtrasInfo > * iPckgBufGetExtras
TBool
iPckgBufGetExtrasAllocated
TBool
|
iPckgBufGetExtrasAllocated
|
[private]
|
CWimCertPckgBuf< TJavaProv > * iPckgBufJavaProv
TBool
iPckgBufJavaProvAllocated
TBool
|
iPckgBufJavaProvAllocated
|
[private]
|
TBool
iPckgBufKeySignAllocated
TBool
|
iPckgBufKeySignAllocated
|
[private]
|
CWimCertPckgBuf< TKeySignParameters > * iPckgBufKeySignParameters
CWimCertPckgBuf< TOmaProv > * iPckgBufOmaProv
TBool
iPckgBufOmaProvAllocated
TBool
|
iPckgBufOmaProvAllocated
|
[private]
|
CWimCertPckgBuf< TWimCertRemoveAddr > * iPckgBufRemoveCert
TBool
iPckgBufRemoveCertAllocated
TBool
|
iPckgBufRemoveCertAllocated
|
[private]
|
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.