| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final ASN1ObjectIdentifier[] | |
| private static final SignatureOperatorFactory | |
| private static SignatureOperatorFactory | |
| private static final Map | |
| private static final String | |
| 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. |
| private static SignatureOperatorFactory |
| dsaOids | back to summary |
|---|---|
| private static final ASN1ObjectIdentifier[] dsaOids | |
| fipsDsaFactory | back to summary |
|---|---|
| private static final SignatureOperatorFactory<T extends Parameters> fipsDsaFactory | |
| genDsaFactory | back to summary |
|---|---|
| private static SignatureOperatorFactory<T extends Parameters> genDsaFactory | |
| generalDsaAttributes | back to summary |
|---|---|
| private static final Map<String, String> generalDsaAttributes | |
| PREFIX | back to summary |
|---|---|
| private static final String PREFIX | |
| privateKeyConverter | back to summary |
|---|---|
| private static final PrivateKeyConverter<AsymmetricDSAPrivateKey> privateKeyConverter | |
| publicKeyConverter | back to summary |
|---|---|
| private static final PublicKeyConverter<AsymmetricDSAPublicKey> publicKeyConverter | |
| ProvDSA | back to summary |
|---|---|
| pack-priv ProvDSA() | |
| configure | back to summary |
|---|---|
| public void configure(final BouncyCastleFipsProvider provider) Implements abstract org. | |
| getGeneralDSAFactory | back to summary |
|---|---|
| private static SignatureOperatorFactory | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public final OutputSignerUsingSecureRandom | createSigner(AsymmetricPrivateKey
the signing key to use. key, FipsDSA.the parameters to use to initialize the signer. parametersImplements org. |
| public final OutputVerifier | createVerifier(AsymmetricPublicKey
the verification key to use. key, FipsDSA.the parameters to use to initialize the verifier. parametersImplements org. |
| AdaptiveSignatureOperatorFactory | back to summary |
|---|---|
| private AdaptiveSignatureOperatorFactory() | |
| createSigner | back to summary |
|---|---|
| public final OutputSignerUsingSecureRandom Implements org. Doc from org. Create a signer which will create signatures against data written to its output stream.
| |
| createVerifier | back to summary |
|---|---|
| public final OutputVerifier Implements org. Doc from org. Create a verifier which will verify signatures against data written to its output stream.
| |
| Modifier and Type | Field and Description |
|---|---|
| private FipsDSA. | |
| private final BouncyCastleFipsProvider | |
| private DSA. | |
| protected SecureRandom | |
| protected int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected AlgorithmParameters | engineGenerateParameters()
Implements abstract java. |
| protected void | engineInit(int
the size (number of bits). strength, SecureRandom the source of randomness. random)Implements abstract java. |
| protected void | engineInit(AlgorithmParameterSpec
the set of algorithm-specific parameter generation values. genParamSpec, SecureRandom the source of randomness. random)Implements abstract java. |
| fipsGen | back to summary |
|---|---|
| private FipsDSA. | |
| fipsProvider | back to summary |
|---|---|
| private final BouncyCastleFipsProvider fipsProvider | |
| genGen | back to summary |
|---|---|
| private DSA. | |
| random | back to summary |
|---|---|
| protected SecureRandom random | |
| strength | back to summary |
|---|---|
| protected int strength | |
| DSAAlgorithmParameterGenerator | back to summary |
|---|---|
| pack-priv DSAAlgorithmParameterGenerator(BouncyCastleFipsProvider fipsProvider) | |
| engineGenerateParameters | back to summary |
|---|---|
| protected AlgorithmParameters engineGenerateParameters() Implements abstract java. Doc from java. Generates the parameters.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(int strength, SecureRandom random) Implements abstract java. Doc from java. Initializes this parameter generator for a certain size and source of randomness.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(AlgorithmParameterSpec genParamSpec, SecureRandom random) throws InvalidAlgorithmParameterException Implements abstract java. Doc from java. Initializes this parameter generator with a set of algorithm-specific parameter generation values.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv DSADomainParameterSpec |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected void | engineInit(AlgorithmParameterSpec
the parameter specification. paramSpec)Implements abstract java. paramSpec.
|
| protected String | engineToString()
Implements abstract java. |
| protected boolean | |
| protected AlgorithmParameterSpec | localEngineGetParameterSpec(Class<T> paramSpec)
Implements abstract org. |
| protected byte[] | localGetEncoded()
Implements abstract org. |
| protected void | localInit(byte[] params)
Implements abstract org. |
| currentSpec | back to summary |
|---|---|
| pack-priv DSADomainParameterSpec currentSpec | |
| DSAAlgorithmParameters | back to summary |
|---|---|
| pack-priv DSAAlgorithmParameters() | |
| engineInit | back to summary |
|---|---|
| protected void engineInit(AlgorithmParameterSpec paramSpec) throws InvalidParameterSpecException Implements abstract java. Doc from java. Initializes this parameters object using the parameters
specified in
| |
| engineToString | back to summary |
|---|---|
| protected String engineToString() Implements abstract java. Doc from java. Returns a formatted string describing the parameters.
| |
| isASN1FormatString | back to summary |
|---|---|
| protected boolean isASN1FormatString(String format) Overrides org. | |
| localEngineGetParameterSpec | back to summary |
|---|---|
| protected AlgorithmParameterSpec localEngineGetParameterSpec(Class<T> paramSpec) throws InvalidParameterSpecException Implements abstract org. | |
| localGetEncoded | back to summary |
|---|---|
| protected byte[] localGetEncoded() throws IOException Implements abstract org. Return the X.509 ASN.1 structure DSAParameter.
DSAParameter ::= SEQUENCE {
prime INTEGER, -- p
subprime INTEGER, -- q
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 keyInfo) throws IOException Implements org. | |
| generatePublic | back to summary |
|---|---|
| public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) throws IOException Implements org. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv AsymmetricKeyPairGenerator | |
| private final BouncyCastleFipsProvider | |
| pack-priv boolean | |
| private 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 AsymmetricKeyPairGenerator<T extends Parameters, P extends AsymmetricPublicKey, S extends AsymmetricPrivateKey> engine | |
| fipsProvider | back to summary |
|---|---|
| private final BouncyCastleFipsProvider fipsProvider | |
| initialised | back to summary |
|---|---|
| pack-priv boolean initialised | |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| strength | back to summary |
|---|---|
| pack-priv int strength | |
| KeyPairGenerator | back to summary |
|---|---|
| public KeyPairGenerator(BouncyCastleFipsProvider fipsProvider) | |
| 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
| |