Class DES.KeyFactory

    • Constructor Detail

      • KeyFactory

        public 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