DESede.KeyFactory (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.jcajce.provider.symmetric

## Class DESede.KeyFactory

- java.lang.Object
- - javax.crypto.SecretKeyFactorySpi
  - - org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory
    - - org.bouncycastle.jcajce.provider.symmetric.DESede.KeyFactory

- All Implemented Interfaces:
    PBE
  Enclosing class:
    DESede

      public static class DESede.KeyFactory
      extends BaseSecretKeyFactory

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.bouncycastle.jcajce.provider.symmetric.util.PBE

      `PBE.Util`

  - ### Field Summary

    - ### Fields inherited from class org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory

      `algName, algOid`

    - ### Fields inherited from interface org.bouncycastle.jcajce.provider.symmetric.util.PBE

      `GOST3411, MD2, MD5, OPENSSL, PKCS12, PKCS5S1, PKCS5S1_UTF8, PKCS5S2, PKCS5S2_UTF8, RIPEMD160, SHA1, SHA256, TIGER`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DESede.KeyFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected javax.crypto.SecretKey` | `engineGenerateSecret(java.security.spec.KeySpec keySpec)`
    `protected java.security.spec.KeySpec` | `engineGetKeySpec(javax.crypto.SecretKey key, java.lang.Class keySpec)`

    - ### Methods inherited from class org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory

      `engineTranslateKey`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DESede.KeyFactory

          public DESede.KeyFactory()

  - ### Method Detail

    - #### engineGetKeySpec

          protected java.security.spec.KeySpec engineGetKeySpec(javax.crypto.SecretKey key,
                                                    java.lang.Class keySpec)
                                                         throws java.security.spec.InvalidKeySpecException

      Overrides:
        `engineGetKeySpec` in class `BaseSecretKeyFactory`
      Throws:
        `java.security.spec.InvalidKeySpecException`

    - #### engineGenerateSecret

          protected javax.crypto.SecretKey engineGenerateSecret(java.security.spec.KeySpec keySpec)
                                                         throws java.security.spec.InvalidKeySpecException

      Overrides:
        `engineGenerateSecret` in class `BaseSecretKeyFactory`
      Throws:
        `java.security.spec.InvalidKeySpecException`