public abstract class AbstractKexFactoryManager extends AbstractInnerCloseable implements KexFactoryManager
AbstractCloseable.State
SignatureFactoriesManager.Utils
closeFuture, lock, state
log
Modifier | Constructor and Description |
---|---|
protected |
AbstractKexFactoryManager() |
protected |
AbstractKexFactoryManager(KexFactoryManager parent) |
Modifier and Type | Method and Description |
---|---|
List<NamedFactory<Cipher>> |
getCipherFactories()
Retrieve the list of named factories for
Cipher . |
List<NamedFactory<Compression>> |
getCompressionFactories()
Retrieve the list of named factories for
Compression . |
List<NamedFactory<KeyExchange>> |
getKeyExchangeFactories()
Retrieve the list of named factories for
KeyExchange . |
KeyPairProvider |
getKeyPairProvider()
Retrieve the
KeyPairProvider that will be used to find
the host key to use on the server side or the user key on the client side. |
List<NamedFactory<Mac>> |
getMacFactories()
Retrieve the list of named factories for
Mac . |
List<NamedFactory<Signature>> |
getSignatureFactories() |
protected <V> List<NamedFactory<V>> |
resolveEffectiveFactories(Class<V> factoryType,
List<NamedFactory<V>> local,
List<NamedFactory<V>> inherited) |
protected <V> V |
resolveEffectiveProvider(Class<V> providerType,
V local,
V inherited) |
void |
setCipherFactories(List<NamedFactory<Cipher>> cipherFactories) |
void |
setCompressionFactories(List<NamedFactory<Compression>> compressionFactories) |
void |
setKeyExchangeFactories(List<NamedFactory<KeyExchange>> keyExchangeFactories) |
void |
setKeyPairProvider(KeyPairProvider keyPairProvider) |
void |
setMacFactories(List<NamedFactory<Mac>> macFactories) |
void |
setSignatureFactories(List<NamedFactory<Signature>> signatureFactories) |
doCloseGracefully, doCloseImmediately, getInnerCloseable
builder, close, isClosed, isClosing, preClose
close, isOpen
protected AbstractKexFactoryManager()
protected AbstractKexFactoryManager(KexFactoryManager parent)
public List<NamedFactory<KeyExchange>> getKeyExchangeFactories()
KexFactoryManager
KeyExchange
.getKeyExchangeFactories
in interface KexFactoryManager
KeyExchange
factories, never null
public void setKeyExchangeFactories(List<NamedFactory<KeyExchange>> keyExchangeFactories)
setKeyExchangeFactories
in interface KexFactoryManager
public List<NamedFactory<Cipher>> getCipherFactories()
KexFactoryManager
Cipher
.getCipherFactories
in interface KexFactoryManager
Cipher
factories, never null
public void setCipherFactories(List<NamedFactory<Cipher>> cipherFactories)
setCipherFactories
in interface KexFactoryManager
public List<NamedFactory<Compression>> getCompressionFactories()
KexFactoryManager
Compression
.getCompressionFactories
in interface KexFactoryManager
Compression
factories, never null
public void setCompressionFactories(List<NamedFactory<Compression>> compressionFactories)
setCompressionFactories
in interface KexFactoryManager
public List<NamedFactory<Mac>> getMacFactories()
KexFactoryManager
Mac
.getMacFactories
in interface KexFactoryManager
Mac
factories, never null
public void setMacFactories(List<NamedFactory<Mac>> macFactories)
setMacFactories
in interface KexFactoryManager
public List<NamedFactory<Signature>> getSignatureFactories()
getSignatureFactories
in interface SignatureFactoriesManager
Signature
factoriespublic void setSignatureFactories(List<NamedFactory<Signature>> signatureFactories)
setSignatureFactories
in interface SignatureFactoriesManager
public KeyPairProvider getKeyPairProvider()
KeyPairProviderHolder
KeyPairProvider
that will be used to find
the host key to use on the server side or the user key on the client side.getKeyPairProvider
in interface KeyPairProviderHolder
KeyPairProvider
, never null
public void setKeyPairProvider(KeyPairProvider keyPairProvider)
setKeyPairProvider
in interface KeyPairProviderHolder
protected <V> List<NamedFactory<V>> resolveEffectiveFactories(Class<V> factoryType, List<NamedFactory<V>> local, List<NamedFactory<V>> inherited)
protected <V> V resolveEffectiveProvider(Class<V> providerType, V local, V inherited)
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.