CPnpUtilImpl Class Reference
class CPnpUtilImpl : public CBase
|
Constructor & Destructor Documentation
CPnpUtilImpl()
CPnpUtilImpl
|
(
|
)
|
[private]
|
~CPnpUtilImpl()
IMPORT_C
|
~CPnpUtilImpl
|
(
|
)
|
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
CreateEncryptionKeyL(TDes8 &)
void
|
CreateEncryptionKeyL
|
(
|
TDes8
&
|
aEncryptionKey
|
)
|
[private]
|
CreateNewNonceL(const TUint, TDes8 &)
IMPORT_C void
|
CreateNewNonceL
|
(
|
const
TUint
|
aTimeOut,
|
|
TDes8
&
|
aNonce
|
|
)
|
|
Commented in base class CPnPUtil
CreateNewToken(TUint32, TInt &)
Commented in base class CPnPUtil
DecodeBase64LC(const TDesC8 &)
HBufC8
*
|
DecodeBase64LC
|
(
|
const
TDesC8
&
|
aEncodedDesc
|
)
|
[private]
|
Decodes given base64-encoded data. Leaves with KErrCorrupted if The data is not base64-encoded.
Parameters
const
TDesC8
& aEncodedDesc
|
The base64 encoded data.
|
DecodeCharL(const TChar)
TChar
|
DecodeCharL
|
(
|
const
TChar
|
aCharacter
|
)
|
[private]
|
A helper function for base64 encoding
FetchAccessPoint(TUint32 &)
Commented in base class CPnPUtil
FetchHomeNetworkInfoL()
IMPORT_C void
|
FetchHomeNetworkInfoL
|
(
|
)
|
|
Commented in base class CPnPUtil
FetchNetworkInfoL()
IMPORT_C void
|
FetchNetworkInfoL
|
(
|
)
|
|
Commented in base class CPnPUtil
FormatMncCodeL(const RMobilePhone::TMobilePhoneNetworkCountryCode, const RMobilePhone::TMobilePhoneNetworkIdentity, RMobilePhone::TMobilePhoneNetworkIdentity &)
Commented in base class CPnPUtil
GetKeyInfoL(TDes8 &)
IMPORT_C void
|
GetKeyInfoL
|
(
|
TDes8
&
|
aKeyInfo
|
)
|
|
Commented in base class CPnPUtil
GetNonceL(TDes8 &)
IMPORT_C void
|
GetNonceL
|
(
|
TDes8
&
|
aNonce
|
)
|
|
Commented in base class CPnPUtil
GetNonceValidityTimeL()
IMPORT_C
TInt
|
GetNonceValidityTimeL
|
(
|
)
|
|
Commented in base class CPnPUtil
GetTokenValidityTime()
IMPORT_C
TInt
|
GetTokenValidityTime
|
(
|
)
|
|
Commented in base class CPnPUtil
GetTokenValue(TInt &)
IMPORT_C
TInt
|
GetTokenValue
|
(
|
TInt
&
|
aToken
|
)
|
|
Commented in base class CPnPUtil
HomeMccL()
Commented in base class CPnPUtil
HomeMncL()
Commented in base class CPnPUtil
ImsiL(RMobilePhone::TMobilePhoneSubscriberId &)
Commented in base class CPnPUtil
LogAsASCIIHexL(const TDesC8 &)
void
|
LogAsASCIIHexL
|
(
|
const
TDesC8
&
|
aDesc
|
)
|
[private]
|
Writes the descriptor to log as hexadecimal character representation.
NetworkMccL()
Commented in base class CPnPUtil
NetworkMncL()
Commented in base class CPnPUtil
OperatorLongName(RMobilePhone::TMobilePhoneNetworkLongName &)
Commented in base class CPnPUtil
RandomCharacter(TInt64 &)
RegisteredInHomeNetworkL()
IMPORT_C
TBool
|
RegisteredInHomeNetworkL
|
(
|
)
|
|
Commented in base class CPnPUtil
SetHomeMccL(const RMobilePhone::TMobilePhoneNetworkCountryCode)
Commented in base class CPnPUtil
SetHomeMncL(const RMobilePhone::TMobilePhoneNetworkIdentity)
Commented in base class CPnPUtil
SetNetworkMccL(const RMobilePhone::TMobilePhoneNetworkCountryCode)
Commented in base class CPnPUtil
SetNetworkMncL(const RMobilePhone::TMobilePhoneNetworkIdentity)
Commented in base class CPnPUtil
StoreAccessPoint(TUint32)
Commented in base class CPnPUtil
VerifyDigestL(const TDesC8 &, const TDesC8 &, const TDesC8 &)
Verifies the digest that the sender gave. The digest (hash value) is calculated as follows: H( nonce:data ), where H (hash) is the sha1 operation
Parameters
const
TDesC8
& aSendersDigest
|
The digest that the sender gave. In binary format (decoded from base64 format).
|
const
TDesC8
& aData
|
The data
|
const
TDesC8
& aNonce
|
The original randomly created nonce.
|
VerifySignatureL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const TDesC8 &)
Commented in base class CPnPUtil
Version(TDes &)
IMPORT_C
TInt
|
Version
|
(
|
TDes
&
|
aVersion
|
)
|
|
Commented in base class CPnPUtil
Member Data Documentation
C3DESDecryptor * iDecryptor
C3DESEncryptor * iEncryptor
RMobilePhone::TMobilePhoneNetworkCountryCode
iHomeMCC
RMobilePhone::TMobilePhoneNetworkIdentity
iHomeMNC
TBuf< 15 > iIMSI
TBuf
< 15 >
|
iIMSI
|
[private]
|
RMobilePhone::TMobilePhoneNetworkCountryCode
iNetworkMCC
RMobilePhone::TMobilePhoneNetworkIdentity
iNetworkMNC
RMobilePhone
iPhone
RMobilePhone
|
iPhone
|
[private]
|
TBool
iRegisteredInHomeNetwork
TBool
|
iRegisteredInHomeNetwork
|
[private]
|
CRepository * iRepository
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.