Bouncy Castle Cryptography 1.11 API Specification: Class JCESecretKeyFactory.DES
Bouncy Castle Cryptography 1.11

org.bouncycastle.jce.provider
Class JCESecretKeyFactory.DES

java.lang.Object
  |
  +--javax.crypto.SecretKeyFactorySpi
        |
        +--org.bouncycastle.jce.provider.JCESecretKeyFactory
              |
              +--org.bouncycastle.jce.provider.JCESecretKeyFactory.DES
Enclosing class:
JCESecretKeyFactory

public static class JCESecretKeyFactory.DES
extends JCESecretKeyFactory


Inner classes inherited from class org.bouncycastle.jce.provider.JCESecretKeyFactory
JCESecretKeyFactory.DES, JCESecretKeyFactory.DESede, JCESecretKeyFactory.PBE_PKCS12, JCESecretKeyFactory.PBE_PKCS5
 
Constructor Summary
JCESecretKeyFactory.DES()
           
 
Method Summary
protected  SecretKey engineGenerateSecret(java.security.spec.KeySpec keySpec)
          Generates a SecretKey object from the provided key specification (key material).
 
Methods inherited from class org.bouncycastle.jce.provider.JCESecretKeyFactory
engineGetKeySpec, engineTranslateKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCESecretKeyFactory.DES

public JCESecretKeyFactory.DES()
Method Detail

engineGenerateSecret

protected SecretKey engineGenerateSecret(java.security.spec.KeySpec keySpec)
                                  throws java.security.spec.InvalidKeySpecException
Description copied from class: SecretKeyFactorySpi
Generates a SecretKey object from the provided key specification (key material).
Overrides:
engineGenerateSecret in class JCESecretKeyFactory
Following copied from class: javax.crypto.SecretKeyFactorySpi
Parameters:
keySpec - the specification (key material) of the secret key
Returns:
the secret key
Throws:
java.security.spec.InvalidKeySpecException - if the given key specification is inappropriate for this secret-key factory to produce a secret key.

Bouncy Castle Cryptography 1.11