| Bouncy Castle Cryptography Library 1.33 | |
| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.bouncycastle.bcpg.BCPGObjectorg.bouncycastle.bcpg.RSAPublicBCPGKeyConstructor Summary | |
| |
| |
Method Summary | |
void |
|
byte[] |
|
String |
|
BigInteger | |
BigInteger | |
Methods inherited from class org.bouncycastle.bcpg.BCPGObject | |
encode, getEncoded | |
public RSAPublicBCPGKey(BigInteger n,
BigInteger e)
- Parameters:
n- the moduluse- the public exponent
public RSAPublicBCPGKey(BCPGInputStream in) throws IOException
Construct an RSA public key from the passed in stream.
- Parameters:
in-
public void encode(BCPGOutputStream out) throws IOException
- Overrides:
- encode in interface BCPGObject
public byte[] getEncoded()
return the standard PGP encoding of the key.
- Specified by:
- getEncoded in interface BCPGKey
- Overrides:
- getEncoded in interface BCPGObject
- See Also:
BCPGKey.getEncoded()
public BigInteger getModulus()
public BigInteger getPublicExponent()