org.bouncycastle.bcpg
public class RSASecretBCPGKey extends BCPGObject implements BCPGKey
| Constructor Summary | |
|---|---|
| RSASecretBCPGKey(BCPGInputStream in) | |
| RSASecretBCPGKey(BigInteger d, BigInteger p, BigInteger q) | |
| Method Summary | |
|---|---|
| void | encode(BCPGOutputStream out) |
| BigInteger | getCrtCoefficient()
return the crt coefficient |
| byte[] | getEncoded()
return the standard PGP encoding of the key.
|
| String | getFormat()
return "PGP"
|
| BigInteger | getModulus()
return the modulus for this key.
|
| BigInteger | getPrimeExponentP()
return the prime exponent of p |
| BigInteger | getPrimeExponentQ()
return the prime exponent of q |
| BigInteger | getPrimeP()
return the prime P |
| BigInteger | getPrimeQ()
return the prime Q |
| BigInteger | getPrivateExponent()
return the private exponent for this key.
|
Parameters: in
Throws: IOException
Parameters: d p q
See Also: getEncoded
See Also: getFormat
Returns: BigInteger
Returns: BigInteger