#include <asymmetrickeys.h>
class CRSAPublicKey : public CRSAParameters |
Protected Attributes | |
---|---|
RInteger | iE |
Public Member Functions | |
---|---|
virtual | ~CRSAPublicKey(void) |
IMPORT_C const TInteger & | E(void) |
IMPORT_C CRSAPublicKey * | NewL(RInteger &, RInteger &) |
IMPORT_C CRSAPublicKey * | NewLC(RInteger &, RInteger &) |
Protected Member Functions | |
---|---|
CRSAPublicKey(RInteger &, RInteger &) | |
CRSAPublicKey(void) |
Inherited Attributes | |
---|---|
CRSAParameters::iN |
Representation of an RSA public key.
An RSA public key is identified by its modulus (n) and its encryption exponent (e).
IMPORT_C const TInteger & | E | ( | void | ) | const |
Gets the RSA parameter, e (the encryption exponent)
Returns: The RSA parameter, e
IMPORT_C CRSAPublicKey * | NewL | ( | RInteger & | aN, |
RInteger & | aE | |||
) | [static] |
Creates a new CRSAPublicKey object from a specified modulus and encryption exponent.
Parameter | Description |
---|---|
aN | The RSA parameter, n (the modulus) |
aE | The RSA parameter, e (the encryption exponent) |
Returns: A pointer to a new CRSAPublicKey object
IMPORT_C CRSAPublicKey * | NewLC | ( | RInteger & | aN, |
RInteger & | aE | |||
) | [static] |
Creates a new CRSAPublicKey object from a specified modulus and encryption exponent.
The returned pointer is put onto the cleanup stack.
Parameter | Description |
---|---|
aN | The RSA parameter, n (the modulus) |
aE | The RSA parameter, e (the encryption exponent) |
Returns: A pointer to a new CRSAPublicKey object