CPBAuthData Class Reference
class CPBAuthData : public CBase |
Contains the password based authentication data. Used to check the passphrase when decrypting.
Constructor & Destructor Documentation
CPBAuthData(void)
IMPORT_C | CPBAuthData | ( | void | | ) | [protected] |
CPBAuthData(const CPBAuthData &)
~CPBAuthData(void)
~CPBAuthData | ( | void | | ) | [virtual] |
Member Functions Documentation
ConstructL(const TDesC8 &, const TDesC8 &, TUint, TUint)
ConstructL(const CPBAuthData &)
ConstructL(RReadStream &)
ExternalizeL(RWriteStream &)
Externalizes the encryption parameters into a write stream.
Iterations()
IMPORT_C TInt | Iterations | ( | ) | const |
Gets the number of iterations of the hashing algorithm.
Key()
Gets the authentication key
NewL(const TDesC8 &, const TDesC8 &, TUint, TUint)
Derives an authentication key.
Parameters
const TDesC8 & aPassword | The user's initial password |
const TDesC8 & aSalt | The salt |
TUint aKeySize | The key size |
TUint aIterations | The number of iterations of the PBE algorithm |
NewL(const CPBAuthData &)
Creates a new CPBAuthData object from an existing authentication key.
Parameters
const CPBAuthData & aData | The existing CPBAuthData object |
NewL(RReadStream &)
Creates a new CPBAuthData object from an existing authentication key by internalizing the authentication data from a read stream.
NewLC(const TDesC8 &, const TDesC8 &, TUint, TUint)
Derives an authentication key.
The returned pointer is put onto the cleanup stack.
Parameters
const TDesC8 & aPassword | The user's initial password |
const TDesC8 & aSalt | The salt |
TUint aKeySize | The key size |
TUint aIterations | The number of iterations of the PBE algorithm |
NewLC(const CPBAuthData &)
Creates a new CPBAuthData object from an existing authentication key.
The returned pointer is put onto the cleanup stack.
Parameters
const CPBAuthData & aData | The existing CPBAuthData object |
NewLC(RReadStream &)
Creates a new CPBAuthData object from an existing authentication key by internalizing the authentication data from a read stream.
The returned pointer is put onto the cleanup stack.
Salt()
Gets the salt used for the authentication
operator=(const CPBAuthData &)
operator==(const CPBAuthData &)
Tests whether two authentication keys are identical
Parameters
const CPBAuthData & aAuth | The authentication data object which holds the key to be tested |
Member Data Documentation
TUint
iIterations
TUint
| iIterations | [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.