org.bouncycastle.jce.provider

Class JCESecretKeyFactory.PBEKeyFactory

Enclosing Class:
JCESecretKeyFactory
Implemented Interfaces:
PBE
Known Direct Subclasses:
JCESecretKeyFactory.PBEWithMD2AndRC2, JCESecretKeyFactory.PBEWithMD5And128BitAESCBCOpenSSL, JCESecretKeyFactory.PBEWithMD5And192BitAESCBCOpenSSL, JCESecretKeyFactory.PBEWithMD5And256BitAESCBCOpenSSL, JCESecretKeyFactory.PBEWithMD5AndRC2, JCESecretKeyFactory.PBEWithRIPEMD160, JCESecretKeyFactory.PBEWithSHA, JCESecretKeyFactory.PBEWithSHA1AndDES, JCESecretKeyFactory.PBEWithSHA1AndRC2, JCESecretKeyFactory.PBEWithSHA256And128BitAESBC, JCESecretKeyFactory.PBEWithSHA256And192BitAESBC, JCESecretKeyFactory.PBEWithSHA256And256BitAESBC, JCESecretKeyFactory.PBEWithSHAAnd128BitAESBC, JCESecretKeyFactory.PBEWithSHAAnd128BitRC2, JCESecretKeyFactory.PBEWithSHAAnd128BitRC4, JCESecretKeyFactory.PBEWithSHAAnd192BitAESBC, JCESecretKeyFactory.PBEWithSHAAnd256BitAESBC, JCESecretKeyFactory.PBEWithSHAAnd40BitRC2, JCESecretKeyFactory.PBEWithSHAAnd40BitRC4, JCESecretKeyFactory.PBEWithSHAAndDES2Key, JCESecretKeyFactory.PBEWithSHAAndDES3Key, JCESecretKeyFactory.PBEWithSHAAndIDEA, JCESecretKeyFactory.PBEWithSHAAndTwofish, JCESecretKeyFactory.PBEWithTiger

public static class JCESecretKeyFactory.PBEKeyFactory
extends JCESecretKeyFactory

Nested Class Summary

Nested classes/interfaces inherited from class org.bouncycastle.jce.provider.JCESecretKeyFactory

JCESecretKeyFactory.DES, JCESecretKeyFactory.DESede, JCESecretKeyFactory.DESPBEKeyFactory, JCESecretKeyFactory.PBEKeyFactory, JCESecretKeyFactory.PBEWithMD2AndDES, JCESecretKeyFactory.PBEWithMD2AndRC2, JCESecretKeyFactory.PBEWithMD5And128BitAESCBCOpenSSL, JCESecretKeyFactory.PBEWithMD5And192BitAESCBCOpenSSL, JCESecretKeyFactory.PBEWithMD5And256BitAESCBCOpenSSL, JCESecretKeyFactory.PBEWithMD5AndDES, JCESecretKeyFactory.PBEWithMD5AndRC2, JCESecretKeyFactory.PBEWithRIPEMD160, JCESecretKeyFactory.PBEWithSHA, JCESecretKeyFactory.PBEWithSHA1AndDES, JCESecretKeyFactory.PBEWithSHA1AndRC2, JCESecretKeyFactory.PBEWithSHA256And128BitAESBC, JCESecretKeyFactory.PBEWithSHA256And192BitAESBC, JCESecretKeyFactory.PBEWithSHA256And256BitAESBC, JCESecretKeyFactory.PBEWithSHAAnd128BitAESBC, JCESecretKeyFactory.PBEWithSHAAnd128BitRC2, JCESecretKeyFactory.PBEWithSHAAnd128BitRC4, JCESecretKeyFactory.PBEWithSHAAnd192BitAESBC, JCESecretKeyFactory.PBEWithSHAAnd256BitAESBC, JCESecretKeyFactory.PBEWithSHAAnd40BitRC2, JCESecretKeyFactory.PBEWithSHAAnd40BitRC4, JCESecretKeyFactory.PBEWithSHAAndDES2Key, JCESecretKeyFactory.PBEWithSHAAndDES3Key, JCESecretKeyFactory.PBEWithSHAAndIDEA, JCESecretKeyFactory.PBEWithSHAAndTwofish, JCESecretKeyFactory.PBEWithTiger

Field Summary

Fields inherited from class org.bouncycastle.jce.provider.JCESecretKeyFactory

algName, algOid

Fields inherited from interface org.bouncycastle.jce.provider.PBE

MD2, MD5, OPENSSL, PKCS12, PKCS5S1, PKCS5S2, RIPEMD160, SHA1, SHA256, TIGER

Constructor Summary

PBEKeyFactory(String algorithm, DERObjectIdentifier oid, boolean forCipher, int scheme, int digest, int keySize, int ivSize)

Method Summary

protected SecretKey
engineGenerateSecret(KeySpec keySpec)

Methods inherited from class org.bouncycastle.jce.provider.JCESecretKeyFactory

engineGenerateSecret, engineGetKeySpec, engineTranslateKey

Constructor Details

PBEKeyFactory

public PBEKeyFactory(String algorithm,
                     DERObjectIdentifier oid,
                     boolean forCipher,
                     int scheme,
                     int digest,
                     int keySize,
                     int ivSize)

Method Details

engineGenerateSecret

protected SecretKey engineGenerateSecret(KeySpec keySpec)
            throws InvalidKeySpecException
Overrides:
engineGenerateSecret in interface JCESecretKeyFactory