Class DES.DESPBEKeyFactory
- java.lang.Object
-
- javax.crypto.SecretKeyFactorySpi
-
- org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory
-
- org.bouncycastle.jcajce.provider.symmetric.DES.DESPBEKeyFactory
-
- All Implemented Interfaces:
PBE
- Direct Known Subclasses:
DES.PBEWithMD2KeyFactory
,DES.PBEWithMD5KeyFactory
,DES.PBEWithSHA1KeyFactory
,DESede.PBEWithSHAAndDES2KeyFactory
,DESede.PBEWithSHAAndDES3KeyFactory
- Enclosing class:
- DES
public static class DES.DESPBEKeyFactory extends BaseSecretKeyFactory
-
-
Field Summary
-
Fields inherited from class org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory
algName, algOid
-
-
Constructor Summary
Constructors Constructor Description DESPBEKeyFactory(java.lang.String algorithm, ASN1ObjectIdentifier oid, boolean forCipher, int scheme, int digest, int keySize, int ivSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.crypto.SecretKey
engineGenerateSecret(java.security.spec.KeySpec keySpec)
-
Methods inherited from class org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory
engineGetKeySpec, engineTranslateKey
-
-
-
-
Constructor Detail
-
DESPBEKeyFactory
public DESPBEKeyFactory(java.lang.String algorithm, ASN1ObjectIdentifier oid, boolean forCipher, int scheme, int digest, int keySize, int ivSize)
-
-
Method Detail
-
engineGenerateSecret
protected javax.crypto.SecretKey engineGenerateSecret(java.security.spec.KeySpec keySpec) throws java.security.spec.InvalidKeySpecException
- Overrides:
engineGenerateSecret
in classBaseSecretKeyFactory
- Throws:
java.security.spec.InvalidKeySpecException
-
-