org.bouncycastle.bcpg
Class RSASecretBCPGKey
- BCPGKey
public class RSASecretBCPGKey
base class for an RSA Secret (or Private) Key.
RSASecretBCPGKey
public RSASecretBCPGKey(BigInteger d,
BigInteger p,
BigInteger q)
RSASecretBCPGKey
public RSASecretBCPGKey(BCPGInputStream in)
throws IOException
getCrtCoefficient
public BigInteger getCrtCoefficient()
return the crt coefficient
getModulus
public BigInteger getModulus()
return the modulus for this key.
getPrimeExponentP
public BigInteger getPrimeExponentP()
return the prime exponent of p
getPrimeExponentQ
public BigInteger getPrimeExponentQ()
return the prime exponent of q
getPrimeP
public BigInteger getPrimeP()
return the prime P
getPrimeQ
public BigInteger getPrimeQ()
return the prime Q
getPrivateExponent
public BigInteger getPrivateExponent()
return the private exponent for this key.