CTlsEncrypt Class Reference
class CTlsEncrypt : public CBase
|
Public Member Functions
|
|
~CTlsEncrypt
()
|
TUint
|
ComputeMacL
(
TDes8
&, const
TDesC8
&,
TBool
,
TInt64
&,
TRecordProtocol
)
|
void
|
CreateEncryptorL
()
|
TInt
|
DecryptAndVerifyL
(const
TDesC8
&,
HBufC8
*&,
TInt64
&,
TRecordProtocol
&)
|
TInt
|
EncryptL
(const
TDesC8
&,
HBufC8
*&,
TInt64
&,
TRecordProtocol
&)
|
void
|
GenerateExportKeysL
()
|
CTlsEncrypt
*
|
NewL
(
TTLSMasterSecretInput
&,
TTLSCipherSuite
&,
HBufC8
*,
CTlsCryptoAttributes
*)
|
IMPORT_C void
|
TLSPRFComputationsL
(const
TDesC8
&, const
TDesC8
&, const
TTLSMACAlgorithm
&, const
TInt
,
TDes8
&)
|
IMPORT_C void
|
TLSPRFL
(const
TDesC8
&, const
TDesC8
&, const
TInt
,
TDes8
&)
|
Constructor & Destructor Documentation
Member Functions Documentation
ComputeMacL(TDes8 &, const TDesC8 &, TBool, TInt64 &, TRecordProtocol)
CreateEncryptorL()
void
|
CreateEncryptorL
|
(
|
)
|
|
DecryptAndVerifyL(const TDesC8 &, HBufC8 *&, TInt64 &, TRecordProtocol &)
EncryptL(const TDesC8 &, HBufC8 *&, TInt64 &, TRecordProtocol &)
GenerateExportKeysL()
void
|
GenerateExportKeysL
|
(
|
)
|
|
NewL(TTLSMasterSecretInput &, TTLSCipherSuite &, HBufC8 *, CTlsCryptoAttributes *)
TLSPRFComputationsL(const TDesC8 &, const TDesC8 &, const TTLSMACAlgorithm &, const TInt, TDes8 &)
TLSPRFL(const TDesC8 &, const TDesC8 &, const TInt, TDes8 &)
IMPORT_C void
|
TLSPRFL
|
(
|
const
TDesC8
&
|
aSecret,
|
|
const
TDesC8
&
|
aLabelAndSeed,
|
|
const
TInt
|
aLen,
|
|
TDes8
&
|
aOut
|
|
)
|
[static]
|
Member Data Documentation
TInt
iCipherIndex
TInt
|
iCipherIndex
|
[private]
|
TTLSCipherSuite
iCipherSuiteId
TBuf8< 32 > iClientWriteIV
TBuf8
< 32 >
|
iClientWriteIV
|
[private]
|
TBuf8< 32 > iClientWriteKey
TBuf8
< 32 >
|
iClientWriteKey
|
[private]
|
HBufC8 * iKeyMaterial
HBufC8
*
|
iKeyMaterial
|
[private]
|
TTLSMasterSecretInput
iMasterSecretInput
TBuf8< 32 > iServerWriteIV
TBuf8
< 32 >
|
iServerWriteIV
|
[private]
|
TBuf8< 32 > iServerWriteKey
TBuf8
< 32 >
|
iServerWriteKey
|
[private]
|
CTlsCryptoAttributes * iTlsCryptoAttributes
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.