javax.net.ssl
Class KeyManagerFactory
java.lang.Object
javax.net.ssl.KeyManagerFactory
public class KeyManagerFactory
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyManagerFactory
protected KeyManagerFactory(KeyManagerFactorySpi factorySpi,
Provider provider,
String algorithm)
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()
Please submit a feedback, bug or feature