Top Inners Fields Constructors Methods
org.bouncycastle.jcajce.provider

pack-priv final Class ProvDESede

extends AlgorithmProvider
Class Inheritance
Imports
java.security.InvalidAlgorithmParameterException, .SecureRandom, java.security.spec.AlgorithmParameterSpec, .InvalidKeySpecException, .KeySpec, java.util.HashMap, .Map, javax.crypto.SecretKey, javax.crypto.spec.DESedeKeySpec, .IvParameterSpec, .PBEParameterSpec, org.bouncycastle.asn1.oiw.OIWObjectIdentifiers, org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers, org.bouncycastle.crypto.AuthenticationParameters, .AuthenticationParametersWithIV, .CryptoServicesRegistrar, .Parameters, .ParametersWithIV, .PasswordBasedDeriver, .SymmetricKeyGenerator, org.bouncycastle.crypto.fips.FipsParameters, .FipsTripleDES, org.bouncycastle.crypto.general.TripleDES, org.bouncycastle.crypto.internal.ValidatedSymmetricKey, org.bouncycastle.crypto.internal.params.DesParameters, org.bouncycastle.jcajce.spec.WrapParameterSpec

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
private Class<T>[]
private FipsTripleDES.KeyWrapOperatorFactory
private FipsTripleDES.OperatorFactory
private ParametersCreatorProvider<FipsParameters>
private static final Map<String, String>
private ParametersCreatorProvider<Parameters>
private static final String

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void

Field Detail

availableSpecsback to summary
private Class<T>[] availableSpecs
fipsKeyWrapOperatorFactoryback to summary
private FipsTripleDES.KeyWrapOperatorFactory fipsKeyWrapOperatorFactory
fipsOperatorFactoryback to summary
private FipsTripleDES.OperatorFactory fipsOperatorFactory
fipsParametersCreatorProviderback to summary
private ParametersCreatorProvider<FipsParameters> fipsParametersCreatorProvider
generalDesEdeAttributesback to summary
private static final Map<String, String> generalDesEdeAttributes
generalParametersCreatorProviderback to summary
private ParametersCreatorProvider<Parameters> generalParametersCreatorProvider
PREFIXback to summary
private static final String PREFIX

Constructor Detail

ProvDESedeback to summary
pack-priv ProvDESede()

Method Detail

configureback to summary
public void configure(final BouncyCastleFipsProvider provider)

Implements abstract org.bouncycastle.jcajce.provider.AlgorithmProvider.configure.

org.bouncycastle.jcajce.provider back to summary

pack-priv Class ProvDESede.KeyFactory

extends BaseSecretKeyFactory
Class Inheritance

Field Summary

Inherited from org.bouncycastle.jcajce.provider.BaseSecretKeyFactory:
algorithmalgorithmNamevalidator

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected SecretKey
engineGenerateSecret(KeySpec
the specification (key material) of the secret key
keySpec
)

Overrides org.bouncycastle.jcajce.provider.BaseSecretKeyFactory.engineGenerateSecret.

Generates a SecretKey object from the provided key specification (key material).
protected KeySpec
engineGetKeySpec(SecretKey
the key
key
,
Class<T>
the requested format in which the key material shall be returned
keySpec
)

Overrides org.bouncycastle.jcajce.provider.BaseSecretKeyFactory.engineGetKeySpec.

Returns a specification (key material) of the given key object in the requested format.
Inherited from org.bouncycastle.jcajce.provider.BaseSecretKeyFactory:
engineTranslateKeygenericGetKeySpec

Constructor Detail

KeyFactoryback to summary
pack-priv KeyFactory()

Method Detail

engineGenerateSecretback to summary
protected SecretKey engineGenerateSecret(KeySpec keySpec) throws InvalidKeySpecException

Overrides org.bouncycastle.jcajce.provider.BaseSecretKeyFactory.engineGenerateSecret.

Doc from javax.crypto.SecretKeyFactorySpi.engineGenerateSecret.

Generates a SecretKey object from the provided key specification (key material).

Parameters
keySpec:KeySpec

the specification (key material) of the secret key

Returns:SecretKey

the secret key

Exceptions
InvalidKeySpecException:
if the given key specification is inappropriate for this secret-key factory to produce a secret key.
engineGetKeySpecback to summary
protected KeySpec engineGetKeySpec(SecretKey key, Class<T> keySpec) throws InvalidKeySpecException

Overrides org.bouncycastle.jcajce.provider.BaseSecretKeyFactory.engineGetKeySpec.

Doc from javax.crypto.SecretKeyFactorySpi.engineGetKeySpec.

Returns a specification (key material) of the given key object in the requested format.

Parameters
key:SecretKey

the key

keySpec:Class<T>

the requested format in which the key material shall be returned

Returns:KeySpec

the underlying key specification (key material) in the requested format

Exceptions
InvalidKeySpecException:
if the requested key specification is inappropriate for the given key (e.g., the algorithms associated with key and keySpec do not match, or key references a key on a cryptographic hardware device whereas keySpec is the specification of a software-based key), or the given key cannot be dealt with (e.g., the given key has an algorithm or format not supported by this secret-key factory).