|
Bouncy Castle Cryptography 1.33 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.bcpg.BCPGObject
org.bouncycastle.bcpg.RSAPublicBCPGKey
base class for an RSA Public Key.
| Constructor Summary | |
RSAPublicBCPGKey(BCPGInputStream in)
Construct an RSA public key from the passed in stream. |
|
RSAPublicBCPGKey(java.math.BigInteger n,
java.math.BigInteger e)
|
|
| Method Summary | |
void |
encode(BCPGOutputStream out)
|
byte[] |
getEncoded()
return the standard PGP encoding of the key. |
java.lang.String |
getFormat()
return "PGP" |
java.math.BigInteger |
getModulus()
|
java.math.BigInteger |
getPublicExponent()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RSAPublicBCPGKey(BCPGInputStream in)
throws java.io.IOException
in -
java.io.IOException
public RSAPublicBCPGKey(java.math.BigInteger n,
java.math.BigInteger e)
n - the moduluse - the public exponent| Method Detail |
public java.math.BigInteger getPublicExponent()
public java.math.BigInteger getModulus()
public java.lang.String getFormat()
getFormat in interface BCPGKeyBCPGKey.getFormat()public byte[] getEncoded()
getEncoded in interface BCPGKeygetEncoded in class BCPGObjectBCPGKey.getEncoded()
public void encode(BCPGOutputStream out)
throws java.io.IOException
encode in class BCPGObjectjava.io.IOException
|
Bouncy Castle Cryptography 1.33 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||