CSRTPMasterKey Class Reference
class CSRTPMasterKey : public CBase
|
Contains an SRTP master key.
Constructor & Destructor Documentation
CSRTPMasterKey(TUint, TUint)
CSRTPMasterKey
|
(
|
TUint
|
aN_E,
|
|
TUint
|
aN_A
|
|
)
|
[private]
|
Member Functions Documentation
AuthKeyLength()
IMPORT_C
TUint
|
AuthKeyLength
|
(
|
)
|
const
|
ConstructL(const TDesC8 &, const TDesC8 &)
void
|
ConstructL
|
(
|
const
TDesC8
&
|
aKey,
|
|
const
TDesC8
&
|
aMKI
|
|
)
|
[private]
|
EncrKeyLength()
IMPORT_C
TUint
|
EncrKeyLength
|
(
|
)
|
const
|
MKI()
IMPORT_C const
TDesC8
&
|
MKI
|
(
|
)
|
const
|
MasterKey()
IMPORT_C const
TDesC8
&
|
MasterKey
|
(
|
)
|
const
|
NewL(const TDesC8 &, const TDesC8 &, TUint, TUint)
Two-phased constructor.
CSRTPCryptoContext
takes the ownership of MasterKey and MasterSalt
-
leave
-
KErrNone if success, system-wide error code otherwise
NewLC(const TDesC8 &, const TDesC8 &, TUint, TUint)
Two-phased constructor.
CSRTPCryptoContext
takes the ownership of MasterKey and MasterSalt
-
leave
-
KErrNone if success, system-wide error code otherwise
Valid()
IMPORT_C
TBool
|
Valid
|
(
|
)
|
const
|
operator=(const CSRTPMasterKey &)
Member Data Documentation
HBufC8 * iKey
The master key value. The length of the key is determined by the Size() function.
HBufC8 * iMKI
The master key identifier value
TUint
iN_A
The bit length of the authentication key
TUint
iN_E
The bit length of the encryption key
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.