| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final NamedParameterSpec | |
| private XECParameters | |
| private XECOperations | |
| private SecureRandom |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public KeyPair | generateKeyPair()
Implements abstract java. Generates a key pair. |
| public void | initialize(int keySize, SecureRandom random)
Implements abstract java. Initializes the key pair generator for a certain keysize, using the default parameter set. |
| public void | initialize(AlgorithmParameterSpec params, SecureRandom random)
Overrides java. Initializes the key pair generator using the specified parameter set and user-provided source of randomness. |
| private void | |
| private void |
| DEFAULT_PARAM_SPEC | back to summary |
|---|---|
| private static final NamedParameterSpec DEFAULT_PARAM_SPEC | |
| lockedParams | back to summary |
|---|---|
| private XECParameters lockedParams | |
| ops | back to summary |
|---|---|
| private XECOperations ops | |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| XDHKeyPairGenerator | back to summary |
|---|---|
| pack-priv XDHKeyPairGenerator() | |
| XDHKeyPairGenerator | back to summary |
|---|---|
| private XDHKeyPairGenerator(NamedParameterSpec paramSpec) | |
| generateKeyPair | back to summary |
|---|---|
| public KeyPair generateKeyPair() Implements abstract java. Doc from java. Generates a key pair. Unless an initialization method is called using a KeyPairGenerator interface, algorithm-specific defaults will be used. This will generate a new key pair every time it is called.
| |
| initialize | back to summary |
|---|---|
| public void initialize(int keySize, SecureRandom random) Implements abstract java. Doc from java. Initializes the key pair generator for a certain keysize, using the default parameter set.
| |
| initialize | back to summary |
|---|---|
| public void initialize(AlgorithmParameterSpec params, SecureRandom random) throws InvalidAlgorithmParameterException Overrides java. Doc from java. Initializes the key pair generator using the specified parameter set and user-provided source of randomness. This concrete method has been added to this previously-defined
abstract class. (For backwards compatibility, it cannot be abstract.)
It may be overridden by a provider to initialize the key pair
generator. Such an override
is expected to throw an
| |
| initializeImpl | back to summary |
|---|---|
| private void initializeImpl(XECParameters params, SecureRandom random) | |
| tryInitialize | back to summary |
|---|---|
| private void tryInitialize(NamedParameterSpec paramSpec) | |
| Access | Constructor and Description |
|---|---|
| public |
| X25519 | back to summary |
|---|---|
| public X25519() | |
| Access | Constructor and Description |
|---|---|
| public |
| X448 | back to summary |
|---|---|
| public X448() | |