KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > crypto > SecretKeyFactory

javax.crypto
Class SecretKeyFactory

java.lang.Object
  extended by javax.crypto.SecretKeyFactory
See Also:
Top Examples, Source Code, getKeySpec, generateSecret, SecretKey, DESKeySpec, DESedeKeySpec, PBEKeySpec

public final SecretKey generateSecret(KeySpec keySpec)
                               throws InvalidKeySpecException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final String getAlgorithm()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final SecretKeyFactory getInstance(String algorithm)
                                          throws NoSuchAlgorithmException
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final SecretKeyFactory getInstance(String algorithm,
                                                 String provider)
                                          throws NoSuchAlgorithmException,
                                                 NoSuchProviderException
See Also:
IllegalArgumentException, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final SecretKeyFactory getInstance(String algorithm,
                                                 Provider provider)
                                          throws NoSuchAlgorithmException
See Also:
IllegalArgumentException, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final KeySpec getKeySpec(SecretKey key,
                                Class keySpec)
                         throws InvalidKeySpecException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Provider getProvider()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected SecretKeyFactory(SecretKeyFactorySpi keyFacSpi,
                           Provider provider,
                           String algorithm)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final SecretKey translateKey(SecretKey key)
                             throws InvalidKeyException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags