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

pack-priv Class ProvOpenSSLPBKDF

extends AlgorithmProvider
Class Inheritance
Imports
java.security.spec.InvalidKeySpecException, .KeySpec, javax.crypto.SecretKey, javax.crypto.spec.PBEKeySpec, org.bouncycastle.crypto.PasswordBasedDeriver, org.bouncycastle.crypto.general.PBKD, org.bouncycastle.util.Strings

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
private static final String

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void

Field Detail

PREFIXback to summary
private static final String PREFIX

Constructor Detail

ProvOpenSSLPBKDFback to summary
pack-priv ProvOpenSSLPBKDF()

Method Detail

configureback to summary
pack-priv void configure(BouncyCastleFipsProvider provider)

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

Annotations
@Override
org.bouncycastle.jcajce.provider back to summary

pack-priv Class ProvOpenSSLPBKDF.PBKDF

extends BaseKDFSecretKeyFactory
Class Inheritance

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
)

Implements abstract javax.crypto.SecretKeyFactorySpi.engineGenerateSecret.

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

Constructor Detail

PBKDFback to summary
pack-priv PBKDF()

Method Detail

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

Implements abstract javax.crypto.SecretKeyFactorySpi.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.