Uses of Interface
javax.crypto.SecretKey

Packages that use SecretKey
javax.crypto This package defines the main JCE 1.2 classes. 
javax.crypto.spec This package defines JCE 1.2 KeySpec and AlgorithmParameterSpec subclasses. 
 

Uses of SecretKey in javax.crypto
 

Methods in javax.crypto that return SecretKey
 SecretKey SecretKeyFactory.generateSecret(KeySpec keySpec)
          Generates a SecretKey object from the provided key specification (key material).
 SecretKey SecretKeyFactory.translateKey(SecretKey key)
          Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.
protected abstract  SecretKey SecretKeyFactorySpi.engineGenerateSecret(KeySpec keySpec)
          Generates a SecretKey object from the provided key specification (key material).
protected abstract  SecretKey SecretKeyFactorySpi.engineTranslateKey(SecretKey key)
          Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.
 SecretKey KeyGenerator.generateKey()
          Generates a secret key.
 SecretKey KeyAgreement.generateSecret(String algorithm)
          Creates the shared secret and returns it as a secret key object of the requested algorithm type.
protected abstract  SecretKey KeyAgreementSpi.engineGenerateSecret(String algorithm)
          Creates the shared secret and returns it as a secret key object of the requested algorithm type.
protected abstract  SecretKey KeyGeneratorSpi.engineGenerateKey()
          Generates a secret key.
 

Methods in javax.crypto with parameters of type SecretKey
 KeySpec SecretKeyFactory.getKeySpec(SecretKey key, Class keySpec)
          Returns a specification (key material) of the given key object in the requested format.
 SecretKey SecretKeyFactory.translateKey(SecretKey key)
          Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.
protected abstract  KeySpec SecretKeyFactorySpi.engineGetKeySpec(SecretKey key, Class keySpec)
          Returns a specification (key material) of the given key object in the requested format.
protected abstract  SecretKey SecretKeyFactorySpi.engineTranslateKey(SecretKey key)
          Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.
 

Uses of SecretKey in javax.crypto.spec
 

Classes in javax.crypto.spec that implement SecretKey
 class SecretKeySpec
          This class specifies a secret key in a provider-independent fashion.