CRSAPrivateKeyStandard Class Reference
class CRSAPrivateKeyStandard : public CRSAPrivateKey
|
The 'classical' representation of a RSA private key.
Such a private key is composed of a modulus (n) and a decryption exponent (d).
Constructor & Destructor Documentation
CRSAPrivateKeyStandard(RInteger &, RInteger &)
Parameters
RInteger
& aN
|
The RSA parameter, n (the modulus)
|
RInteger
& aD
|
The RSA parameter, d (the decryption exponent)
|
CRSAPrivateKeyStandard(const CRSAPrivateKeyStandard &)
~CRSAPrivateKeyStandard(void)
IMPORT_C
|
~CRSAPrivateKeyStandard
|
(
|
void
|
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
D(void)
IMPORT_C const
TInteger
&
|
D
|
(
|
void
|
|
)
|
const
|
Gets the RSA parameter, d (the decryption exponent)
NewL(RInteger &, RInteger &)
Creates a new
CRSAPrivateKeyStandard
object from a specified modulus and decryption exponent.
-
leave
-
KErrArgument If either aN or aD are not positive integers, and releases ownership.
Parameters
RInteger
& aN
|
The RSA parameter, n (the modulus)
|
RInteger
& aD
|
The RSA parameter, d (the decryption exponent)
|
NewLC(RInteger &, RInteger &)
Creates a new
CRSAPrivateKeyStandard
object from a specified modulus and decryption exponent.
The returned pointer is put onto the cleanup stack.
-
leave
-
KErrArgument If either aN or aD are not positive integers, and releases ownership.
Parameters
RInteger
& aN
|
The RSA parameter, n (the modulus)
|
RInteger
& aD
|
The RSA parameter, d (the decryption exponent)
|
operator=(const CRSAPrivateKeyStandard &)
Member Data Documentation
RInteger
iD
The RSA decryption exponent, d
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.