Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## mx4j.tools.adaptor.ssl
Interface SSLAdaptorServerSocketFactoryMBean

All Superinterfaces:
  AdaptorServerSocketFactory

All Known Implementing Classes:
  SSLAdaptorServerSocketFactory

public interface SSLAdaptorServerSocketFactoryMBean
extends AdaptorServerSocketFactory

Management interface for the SSL ServerSocket factory

Version:
  $Revision: 1.3 $

Method Summary
`void` | `setKeyManagerAlgorithm(java.lang.String algorithm)` Sets the key manager algorithm, by default is "SunX509".
`void` | `setKeyManagerPassword(java.lang.String password)` Sets the password to access the key present in the keystore.
`void` | `setKeyStoreName(java.lang.String name)` Sets the name of the keystore; if the keystore is of type JKS, then this is a file name, that will be resolved by the ClassLoader of this class, via getResourceAsStream.
`void` | `setKeyStorePassword(java.lang.String password)` Sets the password to access the keystore specified by `setKeyStoreName(java.lang.String)`.
`void` | `setKeyStoreType(java.lang.String keyStoreType)` Sets the type of the keystore, by default is "JKS".
`void` | `setSSLProtocol(java.lang.String protocol)` Sets the SSL protocol version, by default is "TLS".
`void` | `setTrustManagerAlgorithm(java.lang.String algorithm)` Sets the trust manager algorithm, by default is "SunX509".
`void` | `setTrustStoreName(java.lang.String name)` Sets the name of the truststore; if the truststore is of type JKS, then this is a file name, that will be resolved by the ClassLoader of this class, via getResourceAsStream.
`void` | `setTrustStorePassword(java.lang.String password)` Sets the password to access the truststore specified by `setTrustStoreName(java.lang.String)`.
`void` | `setTrustStoreType(java.lang.String trustStoreType)` Sets the type of the truststore, by default is "JKS".

Methods inherited from interface mx4j.tools.adaptor.AdaptorServerSocketFactory
`createServerSocket`

Method Detail

### setKeyStoreType

    public void setKeyStoreType(java.lang.String keyStoreType)

  Sets the type of the keystore, by default is "JKS".

### setTrustStoreType

    public void setTrustStoreType(java.lang.String trustStoreType)

  Sets the type of the truststore, by default is "JKS".

### setKeyStoreName

    public void setKeyStoreName(java.lang.String name)

  Sets the name of the keystore; if the keystore is of type JKS, then this is a file name, that will be resolved by the ClassLoader of this class, via getResourceAsStream.

### setTrustStoreName

    public void setTrustStoreName(java.lang.String name)

  Sets the name of the truststore; if the truststore is of type JKS, then this is a file name, that will be resolved by the ClassLoader of this class, via getResourceAsStream.

### setKeyStorePassword

    public void setKeyStorePassword(java.lang.String password)

  Sets the password to access the keystore specified by `setKeyStoreName(java.lang.String)`.

  It correspond to the value of the -storepass option of keytool.

### setTrustStorePassword

    public void setTrustStorePassword(java.lang.String password)

  Sets the password to access the truststore specified by `setTrustStoreName(java.lang.String)`.

  It correspond to the value of the -storepass option of keytool.

### setKeyManagerAlgorithm

    public void setKeyManagerAlgorithm(java.lang.String algorithm)

  Sets the key manager algorithm, by default is "SunX509".

### setTrustManagerAlgorithm

    public void setTrustManagerAlgorithm(java.lang.String algorithm)

  Sets the trust manager algorithm, by default is "SunX509".

### setKeyManagerPassword

    public void setKeyManagerPassword(java.lang.String password)

  Sets the password to access the key present in the keystore.

  It correspond to the value of the -keypass option of keytool; if not specified, the KeyStore password is taken.

### setSSLProtocol

    public void setSSLProtocol(java.lang.String protocol)

  Sets the SSL protocol version, by default is "TLS".

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.