Android
javax.crypto
public class

javax.crypto.SecretKeyFactory

java.lang.Object
javax.crypto.SecretKeyFactory

Summary

Protected Constructors

            SecretKeyFactory(SecretKeyFactorySpi keyFacSpi, Provider provider, String algorithm)

Public Methods

    final      SecretKey  generateSecret(KeySpec keySpec)
    final      String  getAlgorithm()
    final  static    SecretKeyFactory  getInstance(String algorithm, String provider)
    final  static    SecretKeyFactory  getInstance(String algorithm, Provider provider)
    final  static    SecretKeyFactory  getInstance(String algorithm)
    final      KeySpec  getKeySpec(SecretKey key, Class keySpec)
    final      Provider  getProvider()
    final      SecretKey  translateKey(SecretKey key)
Methods inherited from class java.lang.Object

Details

Protected Constructors

protected SecretKeyFactory(SecretKeyFactorySpi keyFacSpi, Provider provider, String algorithm)

Public Methods

public final SecretKey generateSecret(KeySpec keySpec)

public final String getAlgorithm()

public static final SecretKeyFactory getInstance(String algorithm, String provider)

public static final SecretKeyFactory getInstance(String algorithm, Provider provider)

public static final SecretKeyFactory getInstance(String algorithm)

public final KeySpec getKeySpec(SecretKey key, Class keySpec)

public final Provider getProvider()

public final SecretKey translateKey(SecretKey key)

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48