java.security.PublicKey for RSA keys which uses BoringSSL to
perform all the operations.
| Modifier and Type | Field and Description |
|---|---|
| private transient boolean | |
| private transient OpenSSLKey | |
| private BigInteger | |
| private BigInteger | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private synchronized void | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public String | getAlgorithm()
Implements java. |
| public byte[] | getEncoded()
Implements java. null
if this key does not support encoding.
|
| public String | getFormat()
Implements java. null if this key does not support encoding.
|
| pack-priv static OpenSSLKey | |
| public BigInteger | |
| public OpenSSLKey | |
| public BigInteger | getPublicExponent()
Implements java. |
| public int | |
| private void | |
| public String | |
| private void |
| fetchedParams | back to summary |
|---|---|
| private transient boolean fetchedParams | |
| key | back to summary |
|---|---|
| private transient OpenSSLKey key | |
| modulus | back to summary |
|---|---|
| private BigInteger modulus | |
| publicExponent | back to summary |
|---|---|
| private BigInteger publicExponent | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| OpenSSLRSAPublicKey | back to summary |
|---|---|
| pack-priv OpenSSLRSAPublicKey(OpenSSLKey key) | |
| OpenSSLRSAPublicKey | back to summary |
|---|---|
| pack-priv OpenSSLRSAPublicKey(RSAPublicKeySpec spec) throws InvalidKeySpecException | |
| ensureReadParams | back to summary |
|---|---|
| private synchronized void ensureReadParams() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. 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. | |
| getAlgorithm | back to summary |
|---|---|
| public String getAlgorithm() Implements java. Doc from java. Returns the standard algorithm name for this key. For example, "DSA" would indicate that this key is a DSA key. See the key related sections (KeyFactory, KeyGenerator, KeyPairGenerator, and SecretKeyFactory) in the Java Security Standard Algorithm Names Specification for information about standard key algorithm names. | |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() Implements java. Doc from java. Returns the key in its primary encoding format, or
| |
| getFormat | back to summary |
|---|---|
| public String getFormat() Implements java. Doc from java. Returns the name of the primary encoding format of this key,
or | |
| getInstance | back to summary |
|---|---|
| pack-priv static OpenSSLKey getInstance(RSAPublicKey rsaPublicKey) throws InvalidKeyException | |
| getModulus | back to summary |
|---|---|
| public BigInteger getModulus() Implements java. Doc from java. Returns the modulus.
| |
| getOpenSSLKey | back to summary |
|---|---|
| public OpenSSLKey getOpenSSLKey() Implements org.
| |
| getPublicExponent | back to summary |
|---|---|
| public BigInteger getPublicExponent() Implements java. Doc from java. Returns the public exponent.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the 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 stream) throws IOException, ClassNotFoundException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream stream) throws IOException | |