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

public final Class OpenSSLPBKDF

extends Object
Class Inheritance
Imports
java.security.spec.InvalidKeySpecException, .KeySpec, javax.crypto.SecretKey, javax.crypto.spec.PBEKeySpec, .SecretKeySpec, org.bouncycastle.crypto.generators.OpenSSLPBEParametersGenerator, org.bouncycastle.crypto.params.KeyParameter, org.bouncycastle.jcajce.provider.config.ConfigurableProvider, org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory, org.bouncycastle.jcajce.provider.util.AlgorithmProvider, org.bouncycastle.util.Strings

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

OpenSSLPBKDFback to summary
private OpenSSLPBKDF()
org.bouncycastle.jcajce.provider.symmetric back to summary

public Class OpenSSLPBKDF.Mappings

extends AlgorithmProvider
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void

Field Detail

PREFIXback to summary
private static final String PREFIX

Constructor Detail

Mappingsback to summary
public Mappings()

Method Detail

configureback to summary
public void configure(ConfigurableProvider provider)

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

org.bouncycastle.jcajce.provider.symmetric back to summary

public Class OpenSSLPBKDF.PBKDF

extends BaseSecretKeyFactory
Class Inheritance

Field Summary

Inherited from org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory:
algNamealgOid

Constructor Summary

AccessConstructor and Description
public

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.symmetric.util.BaseSecretKeyFactory.engineGenerateSecret.

Generates a SecretKey object from the provided key specification (key material).
Inherited from org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory:
engineGetKeySpecengineTranslateKey

Constructor Detail

PBKDFback to summary
public PBKDF()

Method Detail

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

Overrides org.bouncycastle.jcajce.provider.symmetric.util.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.