|
Bouncy Castle Cryptography 1.29 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.jce.provider.JCERSAPrivateKey
org.bouncycastle.jce.provider.JCERSAPrivateCrtKey
A provider representation for a RSA private key, with CRT factors included.
| Field Summary |
| Fields inherited from class org.bouncycastle.jce.provider.JCERSAPrivateKey |
modulus, privateExponent |
| Fields inherited from interface java.security.PrivateKey |
serialVersionUID |
| Method Summary | |
boolean |
equals(java.lang.Object o)
|
java.math.BigInteger |
getCrtCoefficient()
return the CRT coefficient. |
byte[] |
getEncoded()
Return a PKCS8 representation of the key. |
java.lang.String |
getFormat()
return the encoding format we produce in getEncoded(). |
java.math.BigInteger |
getPrimeExponentP()
return the prime exponent for P. |
java.math.BigInteger |
getPrimeExponentQ()
return the prime exponent for Q. |
java.math.BigInteger |
getPrimeP()
return the prime P. |
java.math.BigInteger |
getPrimeQ()
return the prime Q. |
java.math.BigInteger |
getPublicExponent()
return the public exponent. |
java.lang.String |
toString()
|
| Methods inherited from class org.bouncycastle.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 java.lang.String getFormat()
getFormat in interface java.security.KeygetFormat in class JCERSAPrivateKeypublic byte[] getEncoded()
getEncoded in interface java.security.KeygetEncoded in class JCERSAPrivateKeypublic java.math.BigInteger getPublicExponent()
getPublicExponent in interface java.security.interfaces.RSAPrivateCrtKeypublic java.math.BigInteger getPrimeP()
getPrimeP in interface java.security.interfaces.RSAPrivateCrtKeypublic java.math.BigInteger getPrimeQ()
getPrimeQ in interface java.security.interfaces.RSAPrivateCrtKeypublic java.math.BigInteger getPrimeExponentP()
getPrimeExponentP in interface java.security.interfaces.RSAPrivateCrtKeypublic java.math.BigInteger getPrimeExponentQ()
getPrimeExponentQ in interface java.security.interfaces.RSAPrivateCrtKeypublic java.math.BigInteger getCrtCoefficient()
getCrtCoefficient in interface java.security.interfaces.RSAPrivateCrtKeypublic boolean equals(java.lang.Object o)
equals in class JCERSAPrivateKeypublic java.lang.String toString()
|
Bouncy Castle Cryptography 1.29 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||