CRSAPublicKey Class Reference
class CRSAPublicKey : public CRSAParameters
|
Representation of an RSA public key.
An RSA public key is identified by its modulus (n) and its encryption exponent (e).
Constructor & Destructor Documentation
CRSAPublicKey(RInteger &, RInteger &)
Parameters
RInteger
& aN
|
The RSA parameter, n (the modulus)
|
RInteger
& aE
|
The RSA parameter, e (the encryption exponent)
|
CRSAPublicKey(void)
IMPORT_C
|
CRSAPublicKey
|
(
|
void
|
|
)
|
[protected]
|
CRSAPublicKey(const CRSAPublicKey &)
~CRSAPublicKey(void)
IMPORT_C
|
~CRSAPublicKey
|
(
|
void
|
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
E(void)
IMPORT_C const
TInteger
&
|
E
|
(
|
void
|
|
)
|
const
|
Gets the RSA parameter, e (the encryption exponent)
NewL(RInteger &, RInteger &)
Creates a new
CRSAPublicKey
object from a specified modulus and encryption exponent.
-
leave
-
KErrArgument If either aN or aE are not positive integers, and releases ownership.
Parameters
RInteger
& aN
|
The RSA parameter, n (the modulus)
|
RInteger
& aE
|
The RSA parameter, e (the encryption exponent)
|
NewLC(RInteger &, RInteger &)
Creates a new
CRSAPublicKey
object from a specified modulus and encryption exponent.
The returned pointer is put onto the cleanup stack.
-
leave
-
KErrArgument If either aN or aE are not positive integers, and releases ownership.
Parameters
RInteger
& aN
|
The RSA parameter, n (the modulus)
|
RInteger
& aE
|
The RSA parameter, e (the encryption exponent)
|
operator=(const CRSAPublicKey &)
Member Data Documentation
RInteger
iE
The RSA encryption exponent, e
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.