| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final byte | |
| private static final byte | |
| private static final PrivateKeyConverter | |
| private static final PublicKeyConverter | |
| private static final Map | |
| private static final Map | |
| private static final String | |
| private static final byte | |
| private static final byte | |
| private static final PrivateKeyConverter | |
| private static final PublicKeyConverter |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | configure(final BouncyCastleFipsProvider provider)
Implements abstract org. |
| Ed25519_type | back to summary |
|---|---|
| private static final byte Ed25519_type | |
| Ed448_type | back to summary |
|---|---|
| private static final byte Ed448_type | |
| edPrivateKeyConverter | back to summary |
|---|---|
| private static final PrivateKeyConverter<AsymmetricEdDSAPrivateKey> edPrivateKeyConverter | |
| edPublicKeyConverter | back to summary |
|---|---|
| private static final PublicKeyConverter<AsymmetricEdDSAPublicKey> edPublicKeyConverter | |
| generalEdDSAAttributes | back to summary |
|---|---|
| private static final Map<String, String> generalEdDSAAttributes | |
| generalXDHAttributes | back to summary |
|---|---|
| private static final Map<String, String> generalXDHAttributes | |
| PREFIX | back to summary |
|---|---|
| private static final String PREFIX | |
| x25519_type | back to summary |
|---|---|
| private static final byte x25519_type | |
| x448_type | back to summary |
|---|---|
| private static final byte x448_type | |
| xPrivateKeyConverter | back to summary |
|---|---|
| private static final PrivateKeyConverter<AsymmetricXDHPrivateKey> xPrivateKeyConverter | |
| xPublicKeyConverter | back to summary |
|---|---|
| private static final PublicKeyConverter<AsymmetricXDHPublicKey> xPublicKeyConverter | |
| ProvEdEC | back to summary |
|---|---|
| pack-priv ProvEdEC() | |
| configure | back to summary |
|---|---|
| public void configure(final BouncyCastleFipsProvider provider) Implements abstract org. | |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | |
| private final boolean | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected PrivateKey | engineGeneratePrivate(KeySpec
the specification (key material) of the private key. keySpec)Overrides org. |
| protected PublicKey | engineGeneratePublic(KeySpec
the specification (key material) of the public key. keySpec)Overrides org. |
| protected KeySpec | engineGetKeySpec(Key
the key. key, Class<T> the specification class in which
the key material should be returned. spec)Overrides org. |
| protected Key | engineTranslateKey(Key
the key whose provider is unknown or untrusted. key)Implements abstract java. |
| public PrivateKey | |
| public PublicKey |
| algorithm | back to summary |
|---|---|
| pack-priv String algorithm | |
| isXdh | back to summary |
|---|---|
| private final boolean isXdh | |
| specificBase | back to summary |
|---|---|
| private final int specificBase | |
| KeyFactorySpi | back to summary |
|---|---|
| public KeyFactorySpi(String algorithm, boolean isXdh, int specificBase) | |
| engineGeneratePrivate | back to summary |
|---|---|
| protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException Overrides org. Doc from java. Generates a private key object from the provided key specification (key material).
| |
| engineGeneratePublic | back to summary |
|---|---|
| protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException Overrides org. Doc from java. Generates a public key object from the provided key specification (key material).
| |
| engineGetKeySpec | back to summary |
|---|---|
| protected KeySpec engineGetKeySpec(Key key, Class<T> spec) throws InvalidKeySpecException Overrides org. Doc from java. Returns a specification (key material) of the given key
object.
| |
| engineTranslateKey | back to summary |
|---|---|
| protected Key engineTranslateKey(Key key) throws InvalidKeyException Implements abstract java. Doc from java. Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.
| |
| generatePrivate | back to summary |
|---|---|
| public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) throws IOException Implements org. | |
| generatePublic | back to summary |
|---|---|
| public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) throws IOException Implements org. | |
| 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() | |
| Modifier and Type | Field and Description |
|---|---|
| private AsymmetricKeyPairGenerator | |
| private boolean | |
| private final boolean | |
| private EdEC. | |
| private final BouncyCastleFipsProvider | |
| private SecureRandom |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public KeyPair | |
| private EdEC. | |
| public void | initialize(int
the keysize. This is an
algorithm-specific metric, such as modulus length, specified in
number of bits. strength)Overrides java. SecureRandom
implementation of the highest-priority installed provider as the source
of randomness.
|
| 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. secureRandom)Overrides java. |
| public void | initialize(AlgorithmParameterSpec
the parameter set used to generate the keys. params)Overrides java. SecureRandom
implementation of the highest-priority installed provider as the source
of randomness.
|
| public void | initialize(AlgorithmParameterSpec
the parameter set used to generate the keys. params, SecureRandom the source of randomness. random)Overrides java. |
| engine | back to summary |
|---|---|
| private AsymmetricKeyPairGenerator<T extends Parameters, P extends AsymmetricPublicKey, S extends AsymmetricPrivateKey> engine | |
| initialised | back to summary |
|---|---|
| private boolean initialised | |
| isXDH | back to summary |
|---|---|
| private final boolean isXDH | |
| params | back to summary |
|---|---|
| private EdEC. | |
| provider | back to summary |
|---|---|
| private final BouncyCastleFipsProvider provider | |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| KeyPairGeneratorSpi | back to summary |
|---|---|
| public KeyPairGeneratorSpi(BouncyCastleFipsProvider provider, boolean isXDH, EdEC. | |
| generateKeyPair | back to summary |
|---|---|
| public KeyPair generateKeyPair() Overrides java. Doc from java. Generates a key pair. If this This will generate a new key pair every time it is called. This method is functionally equivalent to
| |
| getParams | back to summary |
|---|---|
| private EdEC. | |
| initialize | back to summary |
|---|---|
| public void initialize(int strength) Overrides java. Doc from java. Initializes the key pair generator for a certain keysize using
a default parameter set and the
| |
| initialize | back to summary |
|---|---|
| public void initialize(int strength, SecureRandom secureRandom) Overrides java. Doc from java. Initializes the key pair generator for a certain keysize with the given source of randomness (and a default parameter set).
| |
| initialize | back to summary |
|---|---|
| public void initialize(AlgorithmParameterSpec params) throws InvalidAlgorithmParameterException Overrides java. Doc from java. Initializes the key pair generator using the specified parameter
set and the This concrete method has been added to this previously-defined
abstract class.
This method calls the KeyPairGeneratorSpi
| |
| initialize | back to summary |
|---|---|
| public void initialize(AlgorithmParameterSpec params, SecureRandom random) throws InvalidAlgorithmParameterException Overrides java. Doc from java. Initializes the key pair generator with the given parameter set and source of randomness. This concrete method has been added to this previously-defined
abstract class.
This method calls the KeyPairGeneratorSpi
| |
| Modifier and Type | Field and Description |
|---|---|
| private final EdEC. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Parameters | createParameters(boolean forEncryption, AlgorithmParameterSpec spec, SecureRandom random)
Implements org. |
| params | back to summary |
|---|---|
| private final EdEC. | |
| XDHParametersCreator | back to summary |
|---|---|
| pack-priv XDHParametersCreator(EdEC. | |
| createParameters | back to summary |
|---|---|
| public Parameters createParameters(boolean forEncryption, AlgorithmParameterSpec spec, SecureRandom random) throws InvalidAlgorithmParameterException Implements org. | |