mx4j.tools.adaptor.ssl

Interface SSLAdaptorServerSocketFactoryMBean

All Superinterfaces:
AdaptorServerSocketFactory
Known Implementing Classes:
SSLAdaptorServerSocketFactory

public interface SSLAdaptorServerSocketFactoryMBean
extends AdaptorServerSocketFactory

Management interface for the SSL ServerSocket factory
Version:
$Revision: 1.3 $

Method Summary

void
setKeyManagerAlgorithm(String algorithm)
Sets the key manager algorithm, by default is "SunX509".
void
setKeyManagerPassword(String password)
Sets the password to access the key present in the keystore.
void
setKeyStoreName(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(String password)
Sets the password to access the keystore specified by setKeyStoreName(String).
void
setKeyStoreType(String keyStoreType)
Sets the type of the keystore, by default is "JKS".
void
setSSLProtocol(String protocol)
Sets the SSL protocol version, by default is "TLS".
void
setTrustManagerAlgorithm(String algorithm)
Sets the trust manager algorithm, by default is "SunX509".
void
setTrustStoreName(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(String password)
Sets the password to access the truststore specified by setTrustStoreName(String).
void
setTrustStoreType(String trustStoreType)
Sets the type of the truststore, by default is "JKS".

Methods inherited from interface mx4j.tools.adaptor.AdaptorServerSocketFactory

createServerSocket

Method Details

setKeyManagerAlgorithm

public void setKeyManagerAlgorithm(String algorithm)
Sets the key manager algorithm, by default is "SunX509".

setKeyManagerPassword

public void setKeyManagerPassword(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.


setKeyStoreName

public void setKeyStoreName(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.

setKeyStorePassword

public void setKeyStorePassword(String password)
Sets the password to access the keystore specified by setKeyStoreName(String).

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


setKeyStoreType

public void setKeyStoreType(String keyStoreType)
Sets the type of the keystore, by default is "JKS".

setSSLProtocol

public void setSSLProtocol(String protocol)
Sets the SSL protocol version, by default is "TLS".

setTrustManagerAlgorithm

public void setTrustManagerAlgorithm(String algorithm)
Sets the trust manager algorithm, by default is "SunX509".

setTrustStoreName

public void setTrustStoreName(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.

setTrustStorePassword

public void setTrustStorePassword(String password)
Sets the password to access the truststore specified by setTrustStoreName(String).

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


setTrustStoreType

public void setTrustStoreType(String trustStoreType)
Sets the type of the truststore, by default is "JKS".

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