| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private AsymmetricCipherKeyPairGenerator | |
| private SecureRandom | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public KeyPair | generateKeyPair()
Implements abstract java. Generates a key pair. |
| private static int | |
| private static int | |
| private int | |
| private static String | |
| public void | initialize(int
the keysize. This is an
algorithm-specific metric, such as modulus length, specified in
number of bits. strength, SecureRandom the source of randomness for this generator. secureRandom)Implements abstract java. Initializes the key pair generator for a certain keysize, using the default parameter set. |
| public void | initialize(AlgorithmParameterSpec
the parameter set used to generate the keys. paramSpec, SecureRandom the source of randomness for this generator. secureRandom)Overrides java. Initializes the key pair generator using the specified parameter set and user-provided source of randomness. |
| private AsymmetricCipherKeyPairGenerator |
| algorithmDeclared | back to summary |
|---|---|
| private final int algorithmDeclared | |
| algorithmInitialized | back to summary |
|---|---|
| private int algorithmInitialized | |
| Ed25519 | back to summary |
|---|---|
| private static final int Ed25519 | |
| Ed448 | back to summary |
|---|---|
| private static final int Ed448 | |
| EdDSA | back to summary |
|---|---|
| private static final int EdDSA | |
| generator | back to summary |
|---|---|
| private AsymmetricCipherKeyPairGenerator generator | |
| secureRandom | back to summary |
|---|---|
| private SecureRandom secureRandom | |
| X25519 | back to summary |
|---|---|
| private static final int X25519 | |
| X448 | back to summary |
|---|---|
| private static final int X448 | |
| XDH | back to summary |
|---|---|
| private static final int XDH | |
| KeyPairGeneratorSpi | back to summary |
|---|---|
| pack-priv KeyPairGeneratorSpi(int algorithmDeclared) | |
| 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.
| |
| getAlgorithmFamily | back to summary |
|---|---|
| private static int getAlgorithmFamily(int algorithm) | |
| getAlgorithmForName | back to summary |
|---|---|
| private static int getAlgorithmForName(String name) throws InvalidAlgorithmParameterException | |
| getAlgorithmForStrength | back to summary |
|---|---|
| private int getAlgorithmForStrength(int strength) | |
| getNameFromParams | back to summary |
|---|---|
| private static String getNameFromParams(AlgorithmParameterSpec paramSpec) throws InvalidAlgorithmParameterException | |
| initialize | back to summary |
|---|---|
| public void initialize(int strength, SecureRandom secureRandom) 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 paramSpec, SecureRandom secureRandom) 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
| |
| setupGenerator | back to summary |
|---|---|
| private AsymmetricCipherKeyPairGenerator setupGenerator() | |
| Access | Constructor and Description |
|---|---|
| public |
| Ed25519 | back to summary |
|---|---|
| public Ed25519() | |
| Access | Constructor and Description |
|---|---|
| public |
| Ed448 | back to summary |
|---|---|
| public Ed448() | |
| Access | Constructor and Description |
|---|---|
| public |
| EdDSA | back to summary |
|---|---|
| public EdDSA() | |
| Access | Constructor and Description |
|---|---|
| public |
| X25519 | back to summary |
|---|---|
| public X25519() | |
| Access | Constructor and Description |
|---|---|
| public |
| X448 | back to summary |
|---|---|
| public X448() | |
| Access | Constructor and Description |
|---|---|
| public |
| XDH | back to summary |
|---|---|
| public XDH() | |