org.bouncycastle.bcpg
public class RSAPublicBCPGKey extends BCPGObject implements BCPGKey
Constructor Summary | |
---|---|
RSAPublicBCPGKey(BCPGInputStream in)
Construct an RSA public key from the passed in stream.
| |
RSAPublicBCPGKey(BigInteger n, BigInteger e) |
Method Summary | |
---|---|
void | encode(BCPGOutputStream out) |
byte[] | getEncoded()
return the standard PGP encoding of the key.
|
String | getFormat()
return "PGP"
|
BigInteger | getModulus() |
BigInteger | getPublicExponent() |
Parameters: in
Throws: IOException
Parameters: n the modulus e the public exponent
See Also: getEncoded
See Also: getFormat