#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 const TInteger & | D | ( | void | ) | const |
Gets the RSA parameter, d (the decryption exponent)
Returns: The RSA parameter, d
IMPORT_C CRSAPrivateKeyStandard * | NewL | ( | RInteger & | aN, |
RInteger & | aD | |||
) | [static] |
Creates a new CRSAPrivateKeyStandard object from a specified modulus and decryption exponent.
Parameter | Description |
---|---|
aN | The RSA parameter, n (the modulus) |
aD | The RSA parameter, d (the decryption exponent) |
Returns: A pointer to a new CRSAPrivateKeyStandard object
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.
Parameter | Description |
---|---|
aN | The RSA parameter, n (the modulus) |
aD | The RSA parameter, d (the decryption exponent) |
Returns: A pointer to a new CRSAPrivateKeyStandard object