public class BCRSAPrivateCrtKey extends BCRSAPrivateKey implements RSAPrivateCrtKey
modulus, privateExponent
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
BigInteger |
getCrtCoefficient()
return the CRT coefficient.
|
byte[] |
getEncoded()
Return a PKCS8 representation of the key.
|
String |
getFormat()
return the encoding format we produce in getEncoded().
|
BigInteger |
getPrimeExponentP()
return the prime exponent for P.
|
BigInteger |
getPrimeExponentQ()
return the prime exponent for Q.
|
BigInteger |
getPrimeP()
return the prime P.
|
BigInteger |
getPrimeQ()
return the prime Q.
|
BigInteger |
getPublicExponent()
return the public exponent.
|
int |
hashCode() |
String |
toString() |
getAlgorithm, getBagAttribute, getBagAttributeKeys, getModulus, getPrivateExponent, setBagAttribute
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPrivateExponent
getAlgorithm
destroy, isDestroyed
getModulus
public String getFormat()
getFormat
in interface Key
getFormat
in class BCRSAPrivateKey
public byte[] getEncoded()
getEncoded
in interface Key
getEncoded
in class BCRSAPrivateKey
public BigInteger getPublicExponent()
getPublicExponent
in interface RSAPrivateCrtKey
public BigInteger getPrimeP()
getPrimeP
in interface RSAPrivateCrtKey
public BigInteger getPrimeQ()
getPrimeQ
in interface RSAPrivateCrtKey
public BigInteger getPrimeExponentP()
getPrimeExponentP
in interface RSAPrivateCrtKey
public BigInteger getPrimeExponentQ()
getPrimeExponentQ
in interface RSAPrivateCrtKey
public BigInteger getCrtCoefficient()
getCrtCoefficient
in interface RSAPrivateCrtKey
public int hashCode()
hashCode
in class BCRSAPrivateKey
public boolean equals(Object o)
equals
in class BCRSAPrivateKey
Copyright © 2018 BouncyCastle.org. All rights reserved.