| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private XECParameters | |
| private XECOperations | |
| private XECPrivateKey | |
| private byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| private <T extends Throwable> void | |
| protected Key | engineDoPhase(Key key, boolean lastPhase)
Implements abstract javax. Executes the next phase of this key agreement with the given key that was received from one of the other parties involved in this key agreement. |
| protected byte[] | engineGenerateSecret()
Implements abstract javax. Generates the shared secret and returns it in a new buffer. |
| protected int | engineGenerateSecret(byte[] sharedSecret, int offset)
Implements abstract javax. Generates the shared secret, and places it into the buffer
|
| protected SecretKey | engineGenerateSecret(String algorithm)
Implements abstract javax. Creates the shared secret and returns it as a secret key object of the requested algorithm type. |
| protected void | engineInit(Key key, SecureRandom random)
Implements abstract javax. Initializes this key agreement with the given key and source of randomness. |
| protected void | engineInit(Key key, final AlgorithmParameterSpec params, SecureRandom random)
Implements abstract javax. Initializes this key agreement with the given key, set of algorithm parameters, and source of randomness. |
| private void |
| lockedParams | back to summary |
|---|---|
| private XECParameters lockedParams | |
| ops | back to summary |
|---|---|
| private XECOperations ops | |
| privateKey | back to summary |
|---|---|
| private XECPrivateKey privateKey | |
| secret | back to summary |
|---|---|
| private byte[] secret | |
| XDHKeyAgreement | back to summary |
|---|---|
| pack-priv XDHKeyAgreement() | |
| XDHKeyAgreement | back to summary |
|---|---|
| pack-priv XDHKeyAgreement(AlgorithmParameterSpec paramSpec) | |
| allZero | back to summary |
|---|---|
| private boolean allZero(byte[] arr) | |
| checkLockedParams | back to summary |
|---|---|
| private <T extends Throwable> void checkLockedParams(Function<String, T> exception, XECParameters params) throws Function:T | |
| engineDoPhase | back to summary |
|---|---|
| protected Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException, IllegalStateException Implements abstract javax. Doc from javax. Executes the next phase of this key agreement with the given key that was received from one of the other parties involved in this key agreement.
| |
| engineGenerateSecret | back to summary |
|---|---|
| protected byte[] engineGenerateSecret() throws IllegalStateException Implements abstract javax. Doc from javax. Generates the shared secret and returns it in a new buffer. This method resets this
| |
| engineGenerateSecret | back to summary |
|---|---|
| protected int engineGenerateSecret(byte[] sharedSecret, int offset) throws IllegalStateException, ShortBufferException Implements abstract javax. Doc from javax. Generates the shared secret, and places it into the buffer
If the This method resets this
| |
| engineGenerateSecret | back to summary |
|---|---|
| protected SecretKey engineGenerateSecret(String algorithm) throws IllegalStateException, NoSuchAlgorithmException, InvalidKeyException Implements abstract javax. Doc from javax. Creates the shared secret and returns it as a secret key object of the requested algorithm type. This method resets this
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException Implements abstract javax. Doc from javax. Initializes this key agreement with the given key and source of randomness. The given key is required to contain all the algorithm parameters required for this key agreement. If the key agreement algorithm requires random bytes, it gets them
from the given source of randomness,
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(Key key, final AlgorithmParameterSpec params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException Implements abstract javax. Doc from javax. Initializes this key agreement with the given key, set of algorithm parameters, and source of randomness.
| |
| initImpl | back to summary |
|---|---|
| private void initImpl(Key key) throws InvalidKeyException | |
| Access | Constructor and Description |
|---|---|
| public |
| X25519 | back to summary |
|---|---|
| public X25519() | |
| Access | Constructor and Description |
|---|---|
| public |
| X448 | back to summary |
|---|---|
| public X448() | |