CryptoSpi::MKeyPairGenerator Class Reference
class CryptoSpi::MKeyPairGenerator : public CryptoSpi::MPlugin
|
The Key Pair Generator definition. Intended to allow plug-ins to implement extensible Key Pair Generator functionality, and to work with all known existing Key pair Generator algorithms
Inherits from
-
CryptoSpi::MKeyPairGenerator
Member Functions Documentation
GenerateKeyPairL(TInt, const CCryptoParams &, CKeyPair *&)
void
|
GenerateKeyPairL
|
(
|
TInt
|
aKeySize,
|
|
const
CCryptoParams
&
|
aKeyParameters,
|
|
CKeyPair *&
|
aKeyPair
|
|
)
|
[pure virtual]
|
Generates a key pair
-
leave
-
... Any of the crypto error codes defined in cryptospi_errs.h or any of the system-wide error codes.
Parameters
TInt
aKeySize
|
The algorithm-specific metric as a number of bits
|
const
CCryptoParams
& aKeyParameters
|
The list of algorithm-specific parameters used by the generator to generate the key pair
|
CKeyPair *& aKeyPair
|
The generated key pair
|
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.