PrivateKey for EC keys based on BoringSSL.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| protected transient OpenSSLECGroupContext | |
| protected transient OpenSSLKey | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| 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 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 OpenSSLKey | |
| public ECParameterSpec | getParams()
Implements java. |
| private BigInteger | |
| public BigInteger | |
| public int | |
| private void | |
| public String | |
| pack-priv static OpenSSLKey | wrapJCAPrivateKeyForTLSStackOnly(PrivateKey privateKey, PublicKey publicKey)
Wraps the provided private key for use in the TLS/SSL stack only. |
| pack-priv static OpenSSLKey | wrapJCAPrivateKeyForTLSStackOnly(PrivateKey privateKey, ECParameterSpec params)
Wraps the provided private key for use in the TLS/SSL stack only. |
| pack-priv static OpenSSLKey | |
| private static OpenSSLKey | |
| private void |
| ALGORITHM | back to summary |
|---|---|
| private static final String ALGORITHM | |
| group | back to summary |
|---|---|
| protected transient OpenSSLECGroupContext group | |
| key | back to summary |
|---|---|
| protected transient OpenSSLKey key | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| OpenSSLECPrivateKey | back to summary |
|---|---|
| pack-priv OpenSSLECPrivateKey(OpenSSLECGroupContext group, OpenSSLKey key) | |
| OpenSSLECPrivateKey | back to summary |
|---|---|
| pack-priv OpenSSLECPrivateKey(OpenSSLKey key) | |
| OpenSSLECPrivateKey | back to summary |
|---|---|
| pack-priv OpenSSLECPrivateKey(ECPrivateKeySpec ecKeySpec) throws InvalidKeySpecException | |
| 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(ECPrivateKey ecPrivateKey) throws InvalidKeyException | |
| getOpenSSLKey | back to summary |
|---|---|
| public OpenSSLKey getOpenSSLKey() Implements org.
| |
| getParams | back to summary |
|---|---|
| public ECParameterSpec getParams() Implements java. Doc from java. Returns the domain parameters associated with this key. The domain parameters are either explicitly specified or implicitly created during key generation.
| |
| getPrivateKey | back to summary |
|---|---|
| private BigInteger getPrivateKey() | |
| getS | back to summary |
|---|---|
| public BigInteger getS() Implements java. Doc from java. Returns the private value S.
| |
| 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. | |
| wrapJCAPrivateKeyForTLSStackOnly | back to summary |
|---|---|
| pack-priv static OpenSSLKey wrapJCAPrivateKeyForTLSStackOnly(PrivateKey privateKey, PublicKey publicKey) throws InvalidKeyException Wraps the provided private key for use in the TLS/SSL stack only. Sign/decrypt operations
using the key will be delegated to the | |
| wrapJCAPrivateKeyForTLSStackOnly | back to summary |
|---|---|
| pack-priv static OpenSSLKey wrapJCAPrivateKeyForTLSStackOnly(PrivateKey privateKey, ECParameterSpec params) throws InvalidKeyException Wraps the provided private key for use in the TLS/SSL stack only. Sign/decrypt operations
using the key will be delegated to the | |
| wrapPlatformKey | back to summary |
|---|---|
| pack-priv static OpenSSLKey wrapPlatformKey(ECPrivateKey ecPrivateKey) throws InvalidKeyException | |
| wrapPlatformKey | back to summary |
|---|---|
| private static OpenSSLKey wrapPlatformKey(ECPrivateKey ecPrivateKey, OpenSSLECGroupContext group) throws InvalidKeyException | |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream stream) throws IOException | |