#include <asymmetrickeys.h>
class CRSAPrivateKeyStandard : public CRSAPrivateKey |
Protected Attributes | |
---|---|
RInteger | iD |
Public Member Functions | |
---|---|
virtual | ~CRSAPrivateKeyStandard(void) |
IMPORT_C const TInteger & | D(void) |
IMPORT_C CRSAPrivateKeyStandard * | NewL(RInteger &, RInteger &) |
IMPORT_C CRSAPrivateKeyStandard * | NewLC(RInteger &, RInteger &) |
Protected Member Functions | |
---|---|
CRSAPrivateKeyStandard(RInteger &, RInteger &) |
Inherited Attributes | |
---|---|
CRSAParameters::iN | |
CRSAPrivateKey::iKeyType |
The 'classical' representation of a RSA private key.
Such a private key is composed of a modulus (n) and a decryption exponent (d).
IMPORT_C | ~CRSAPrivateKeyStandard | ( | void | ) | [virtual] |
Destructor
IMPORT_C const TInteger & | D | ( | void | ) | const |
Gets the RSA parameter, d (the decryption exponent)
IMPORT_C CRSAPrivateKeyStandard * | NewL | ( | RInteger & | aN, |
RInteger & | aD | |||
) | [static] |
Creates a new CRSAPrivateKeyStandard object from a specified modulus and decryption exponent.
Parameters | |
---|---|
aN | The RSA parameter, n (the modulus) |
aD | The RSA parameter, d (the decryption exponent) |
Leave Codes | |
---|---|
KErrArgument | If either aN or aD are not positive integers, and releases ownership. |
IMPORT_C CRSAPrivateKeyStandard * | NewLC | ( | RInteger & | aN, |
RInteger & | aD | |||
) | [static] |
Creates a new CRSAPrivateKeyStandard object from a specified modulus and decryption exponent.
The returned pointer is put onto the cleanup stack.
Parameters | |
---|---|
aN | The RSA parameter, n (the modulus) |
aD | The RSA parameter, d (the decryption exponent) |
Leave Codes | |
---|---|
KErrArgument | If either aN or aD are not positive integers, and releases ownership. |