public class JCERSAPrivateCrtKey extends JCERSAPrivateKey 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 JCERSAPrivateKey
public byte[] getEncoded()
getEncoded
in interface Key
getEncoded
in class JCERSAPrivateKey
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 JCERSAPrivateKey
public boolean equals(Object o)
equals
in class JCERSAPrivateKey
Copyright © 2015. All rights reserved.