Build 1.0_r1(from source)

javax.net.ssl
Class KeyManagerFactory

java.lang.Object
  extended by javax.net.ssl.KeyManagerFactory

public class KeyManagerFactory
extends Object


Constructor Summary
protected KeyManagerFactory(KeyManagerFactorySpi factorySpi, Provider provider, String algorithm)
           
 
Method Summary
 String getAlgorithm()
           
static String getDefaultAlgorithm()
           
static KeyManagerFactory getInstance(String algorithm)
           
static KeyManagerFactory getInstance(String algorithm, Provider provider)
           
static KeyManagerFactory getInstance(String algorithm, String provider)
           
 KeyManager[] getKeyManagers()
           
 Provider getProvider()
           
 void init(KeyStore ks, char[] password)
           
 void init(ManagerFactoryParameters spec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyManagerFactory

protected KeyManagerFactory(KeyManagerFactorySpi factorySpi,
                            Provider provider,
                            String algorithm)
Method Detail

getAlgorithm

public final String getAlgorithm()

getInstance

public static final KeyManagerFactory getInstance(String algorithm)
                                           throws NoSuchAlgorithmException
Throws:
NoSuchAlgorithmException

getInstance

public static final KeyManagerFactory getInstance(String algorithm,
                                                  String provider)
                                           throws NoSuchAlgorithmException,
                                                  NoSuchProviderException
Throws:
NoSuchAlgorithmException
NoSuchProviderException

getInstance

public static final KeyManagerFactory getInstance(String algorithm,
                                                  Provider provider)
                                           throws NoSuchAlgorithmException
Throws:
NoSuchAlgorithmException

getProvider

public final Provider getProvider()

init

public final void init(KeyStore ks,
                       char[] password)
                throws KeyStoreException,
                       NoSuchAlgorithmException,
                       UnrecoverableKeyException
Throws:
KeyStoreException
NoSuchAlgorithmException
UnrecoverableKeyException

init

public final void init(ManagerFactoryParameters spec)
                throws InvalidAlgorithmParameterException
Throws:
InvalidAlgorithmParameterException

getKeyManagers

public final KeyManager[] getKeyManagers()

getDefaultAlgorithm

public static final String getDefaultAlgorithm()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature