com.ibm.net.ssl
Class KeyManagerFactoryParametersSpec

java.lang.Object
  |
  +--com.ibm.net.ssl.KeyManagerFactoryParametersSpec

public final class KeyManagerFactoryParametersSpec
extends java.lang.Object

This class specifies the set of parameters to be used to initialize the KeyManagerFactory class.


Constructor Summary
KeyManagerFactoryParametersSpec(java.security.KeyStore ks, char[] password, java.lang.String jceProvider)
          This class specifies the set of parameters to be used to initialize the KeyManagerFactory class.
 
Method Summary
 java.lang.String getKeyManagerJCEProvider()
          Returns the jce provider.
 java.security.KeyStore getKeyManagerKS()
          Returns the name of the keystore.
 char[] getKeyManagerPWD()
          Returns the keystore password.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyManagerFactoryParametersSpec

public KeyManagerFactoryParametersSpec(java.security.KeyStore ks,
                                       char[] password,
                                       java.lang.String jceProvider)
This class specifies the set of parameters to be used to initialize the KeyManagerFactory class. This allows you to initialize a KeyManagerFactory class with a source of key material and provide the name of the JCE provider that is to be used to manage the private keys.

This is a z/OS specific API.

The provider typically uses a KeyStore for obtaining key material for use during secure socket negotiations. The KeyStore is generally password-protected.

Parameters:
ks - the key store.
password - the password for recovering keys in the KeyStore.
jceProvider - the Provider to process the KeyStore private keys when a provider other than SSLite is required.
Method Detail

getKeyManagerJCEProvider

public java.lang.String getKeyManagerJCEProvider()
Returns the jce provider.
Returns:
the jce provider.

getKeyManagerKS

public java.security.KeyStore getKeyManagerKS()
Returns the name of the keystore.
Returns:
the name of the keystore.

getKeyManagerPWD

public char[] getKeyManagerPWD()
Returns the keystore password.
Returns:
the keystore password.