|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.util.jce.provider.JCERSAPrivateKey org.apache.geronimo.util.jce.provider.JCERSAPrivateCrtKey
public class JCERSAPrivateCrtKey
A provider representation for a RSA private key, with CRT factors included.
Field Summary |
---|
Fields inherited from class org.apache.geronimo.util.jce.provider.JCERSAPrivateKey |
---|
modulus, privateExponent |
Fields inherited from interface java.security.interfaces.RSAPrivateCrtKey |
---|
serialVersionUID |
Method Summary | |
---|---|
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. |
String |
toString()
|
Methods inherited from class org.apache.geronimo.util.jce.provider.JCERSAPrivateKey |
---|
getAlgorithm, getBagAttribute, getBagAttributeKeys, getModulus, getPrivateExponent, setBagAttribute |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.security.interfaces.RSAPrivateKey |
---|
getPrivateExponent |
Methods inherited from interface java.security.Key |
---|
getAlgorithm |
Methods inherited from interface java.security.interfaces.RSAKey |
---|
getModulus |
Method Detail |
---|
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 boolean equals(Object o)
equals
in class JCERSAPrivateKey
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |