| 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 Map | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | configure(final BouncyCastleFipsProvider provider)
Implements abstract org. |
| generalDhAttributes | back to summary |
|---|---|
| private static final Map<String, String> generalDhAttributes | |
| PREFIX | back to summary |
|---|---|
| private static final String PREFIX | |
| ProvElgamal | back to summary |
|---|---|
| pack-priv ProvElgamal() | |
| configure | back to summary |
|---|---|
| public void configure(final BouncyCastleFipsProvider provider) Implements abstract org. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected String | engineToString()
Implements abstract java. |
| protected byte[] | localGetEncoded()
Implements abstract org. |
| protected void | localInit(byte[] params)
Implements abstract org. |
| AlgorithmParametersSpi | back to summary |
|---|---|
| pack-priv AlgorithmParametersSpi() | |
| engineToString | back to summary |
|---|---|
| protected String engineToString() Implements abstract java. Doc from java. Returns a formatted string describing the parameters.
| |
| localGetEncoded | back to summary |
|---|---|
| protected byte[] localGetEncoded() throws IOException Implements abstract org. Return the X.509 ASN.1 structure ElGamalParameter.
ElGamalParameter ::= SEQUENCE {
prime INTEGER, -- p
base INTEGER, -- g}
| |
| localInit | back to summary |
|---|---|
| protected void localInit(byte[] params) throws IOException Implements abstract org. | |
| 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 |
| KeyFactorySpi | back to summary |
|---|---|
| public KeyFactorySpi() | |
| 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 info) throws IOException Implements org. | |
| generatePublic | back to summary |
|---|---|
| public PublicKey generatePublic(SubjectPublicKeyInfo info) throws IOException Implements org. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ElGamal. | |
| pack-priv boolean | |
| pack-priv ElGamal. | |
| private final BouncyCastleFipsProvider | |
| pack-priv SecureRandom | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public KeyPair | |
| 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. random)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 |
|---|---|
| pack-priv ElGamal. | |
| initialised | back to summary |
|---|---|
| pack-priv boolean initialised | |
| param | back to summary |
|---|---|
| pack-priv ElGamal. | |
| provider | back to summary |
|---|---|
| private final BouncyCastleFipsProvider provider | |
| random | back to summary |
|---|---|
| pack-priv SecureRandom random | |
| strength | back to summary |
|---|---|
| pack-priv int strength | |
| KeyPairGeneratorSpi | back to summary |
|---|---|
| public KeyPairGeneratorSpi(BouncyCastleFipsProvider provider) | |
| 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
| |
| 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 random) 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
| |