| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private final NamedParameterSpec | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public PublicKey | calculatePublicKey()
Overrides default sun. Calculates a matching public key. |
| pack-priv void | |
| public String | getAlgorithm()
Overrides sun. Implements java. Returns the standard algorithm name for this key. |
| public byte[] | |
| public AlgorithmParameterSpec | getParams()
Overrides default java. Returns the parameters associated with this key. |
| public Optional | getScalar()
Implements java. Get the scalar value encoded as an unpruned byte array. |
| private void | readObject(ObjectInputStream
the stream)ObjectInputStream from which data is readHides sun. Restores the state of this object from the stream. |
| k | back to summary |
|---|---|
| private byte[] k | |
| paramSpec | back to summary |
|---|---|
private final NamedParameterSpec paramSpec
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides sun. | |
| XDHPrivateKeyImpl | back to summary |
|---|---|
| pack-priv XDHPrivateKeyImpl(XECParameters params, byte[] k) throws InvalidKeyException | |
| XDHPrivateKeyImpl | back to summary |
|---|---|
| pack-priv XDHPrivateKeyImpl(byte[] encoded) throws InvalidKeyException | |
| calculatePublicKey | back to summary |
|---|---|
| public PublicKey calculatePublicKey() Overrides default sun. Doc from sun. Calculates a matching public key. | |
| checkLength | back to summary |
|---|---|
| pack-priv void checkLength(XECParameters params) throws InvalidKeyException | |
| getAlgorithm | back to summary |
|---|---|
| public String getAlgorithm() Overrides sun. Implements java. Doc from java. Returns the standard algorithm name for this key. For example, "RSA" would indicate that this key is an RSA key. See the Key Algorithms section in the Java Security Standard Algorithm Names Specification for information about standard key algorithm names.
| |
| getK | back to summary |
|---|---|
| public byte[] getK() | |
| getParams | back to summary |
|---|---|
| public AlgorithmParameterSpec getParams() Overrides default java. Doc from java. Returns the parameters associated with this key. The parameters are optional and may be either explicitly specified or implicitly created during key pair generation.
| |
| getScalar | back to summary |
|---|---|
| public Optional Implements java. Doc from java. Get the scalar value encoded as an unpruned byte array. A new copy of the array is returned each time this method is called.
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException Hides sun. Restores the state of this object from the stream. Deserialization of this object is not supported.
| |