| Modifier and Type | Field and Description |
|---|---|
| private BigInteger | |
| private BigInteger | |
| private BigInteger | |
| private BigInteger | |
| private BigInteger | |
| private BigInteger | |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | BCRSAPrivateCrtKey(RSAPrivateCrtKeyParameters
the parameters object representing the private key. key)construct a private key from it's org.bouncycastle.crypto equivalent. |
| pack-priv | |
| pack-priv | BCRSAPrivateCrtKey(RSAPrivateCrtKeySpec
the spec to be used in construction. spec)construct a private key from an RSAPrivateCrtKeySpec |
| pack-priv | BCRSAPrivateCrtKey(RSAPrivateCrtKey
the object implementing the RSAPrivateCrtKey interface. key)construct a private key from another RSAPrivateCrtKey. |
| pack-priv | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides org. Indicates whether some other object is "equal to" this one. |
| public BigInteger | Returns: the CRT coefficient.Implements java. return the CRT coefficient. |
| public byte[] | Returns: a PKCS8 representation of the key.Overrides org. Implements java. Return a PKCS8 representation of the key. |
| public String | Returns: the encoding format we produce in getEncoded().Overrides org. Implements java. return the encoding format we produce in getEncoded(). |
| public BigInteger | Returns: the prime exponent for P.Implements java. return the prime exponent for P. |
| public BigInteger | Returns: the prime exponent for Q.Implements java. return the prime exponent for Q. |
| public BigInteger | Returns: the prime P.Implements java. return the prime P. |
| public BigInteger | Returns: the prime Q.Implements java. return the prime Q. |
| public BigInteger | Returns: the public exponent.Implements java. return the public exponent. |
| public int | hashCode()
Overrides org. Returns a hash code value for this object. |
| private void | |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| private void |
| crtCoefficient | back to summary |
|---|---|
| private BigInteger crtCoefficient | |
| primeExponentP | back to summary |
|---|---|
| private BigInteger primeExponentP | |
| primeExponentQ | back to summary |
|---|---|
| private BigInteger primeExponentQ | |
| primeP | back to summary |
|---|---|
| private BigInteger primeP | |
| primeQ | back to summary |
|---|---|
| private BigInteger primeQ | |
| publicExponent | back to summary |
|---|---|
| private BigInteger publicExponent | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID Hides org. | |
| BCRSAPrivateCrtKey | back to summary |
|---|---|
| pack-priv BCRSAPrivateCrtKey(RSAPrivateCrtKeyParameters key) construct a private key from it's org.bouncycastle.crypto equivalent.
| |
| BCRSAPrivateCrtKey | back to summary |
|---|---|
| pack-priv BCRSAPrivateCrtKey(AlgorithmIdentifier algorithmIdentifier, RSAPrivateCrtKeyParameters key) | |
| BCRSAPrivateCrtKey | back to summary |
|---|---|
| pack-priv BCRSAPrivateCrtKey(RSAPrivateCrtKeySpec spec) construct a private key from an RSAPrivateCrtKeySpec
| |
| BCRSAPrivateCrtKey | back to summary |
|---|---|
| pack-priv BCRSAPrivateCrtKey(RSAPrivateCrtKey key) construct a private key from another RSAPrivateCrtKey.
| |
| BCRSAPrivateCrtKey | back to summary |
|---|---|
| pack-priv BCRSAPrivateCrtKey(PrivateKeyInfo info) throws IOException construct an RSA key from a private key info object. | |
| BCRSAPrivateCrtKey | back to summary |
|---|---|
| pack-priv BCRSAPrivateCrtKey(RSAPrivateKey key) construct an RSA key from a ASN.1 RSA private key object. | |
| BCRSAPrivateCrtKey | back to summary |
|---|---|
| pack-priv BCRSAPrivateCrtKey(AlgorithmIdentifier algorithmIdentifier, RSAPrivateKey key) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides org. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getCrtCoefficient | back to summary |
|---|---|
| public BigInteger getCrtCoefficient() Implements java. return the CRT coefficient.
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() Overrides org. Implements java. Return a PKCS8 representation of the key. The sequence returned represents a full PrivateKeyInfo object.
| |
| getFormat | back to summary |
|---|---|
| public String getFormat() Overrides org. Implements java. return the encoding format we produce in getEncoded().
| |
| getPrimeExponentP | back to summary |
|---|---|
| public BigInteger getPrimeExponentP() Implements java. return the prime exponent for P.
| |
| getPrimeExponentQ | back to summary |
|---|---|
| public BigInteger getPrimeExponentQ() Implements java. return the prime exponent for Q.
| |
| getPrimeP | back to summary |
|---|---|
| public BigInteger getPrimeP() Implements java. return the prime P.
| |
| getPrimeQ | back to summary |
|---|---|
| public BigInteger getPrimeQ() Implements java. return the prime Q.
| |
| getPublicExponent | back to summary |
|---|---|
| public BigInteger getPublicExponent() Implements java. return the public exponent.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException Hides org. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream out) throws IOException Hides org. | |