|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.jcajce.provider.asymmetric.rsa.BCRSAPrivateKey
org.bouncycastle.jcajce.provider.asymmetric.rsa.BCRSAPrivateCrtKey
public class BCRSAPrivateCrtKey
A provider representation for a RSA private key, with CRT factors included.
| Field Summary |
|---|
| Fields inherited from class org.bouncycastle.jcajce.provider.asymmetric.rsa.BCRSAPrivateKey |
|---|
modulus, privateExponent |
| 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. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class org.bouncycastle.jcajce.provider.asymmetric.rsa.BCRSAPrivateKey |
|---|
getAlgorithm, getBagAttribute, getBagAttributeKeys, getModulus, getPrivateExponent, setBagAttribute |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, 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 BCRSAPrivateKeypublic byte[] getEncoded()
getEncoded in interface java.security.KeygetEncoded in class BCRSAPrivateKeypublic 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 int hashCode()
hashCode in class BCRSAPrivateKeypublic boolean equals(java.lang.Object o)
equals in class BCRSAPrivateKeypublic java.lang.String toString()
toString in class java.lang.Object
|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||