|
Bouncy Castle Cryptography 1.21 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.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.interfaces.RSAPrivateCrtKey |
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 |
getModulus, getPrivateExponent |
| Methods inherited from interface java.security.Key |
getAlgorithm |
| 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 RSAPrivateCrtKeypublic java.math.BigInteger getPrimeP()
getPrimeP in interface RSAPrivateCrtKeypublic java.math.BigInteger getPrimeQ()
getPrimeQ in interface RSAPrivateCrtKeypublic java.math.BigInteger getPrimeExponentP()
getPrimeExponentP in interface RSAPrivateCrtKeypublic java.math.BigInteger getPrimeExponentQ()
getPrimeExponentQ in interface RSAPrivateCrtKeypublic java.math.BigInteger getCrtCoefficient()
getCrtCoefficient in interface RSAPrivateCrtKeypublic boolean equals(java.lang.Object o)
equals in class JCERSAPrivateKeypublic java.lang.String toString()
toString in class java.lang.Object
|
Bouncy Castle Cryptography 1.21 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||