Class TlsConfigurationImpl
java.lang.Object
org.opendaylight.openflowjava.protocol.api.connection.TlsConfigurationImpl
- All Implemented Interfaces:
- TlsConfiguration
Class is used only for testing purposes - passwords are hard-coded.
- Author:
- michal.polkorab
- 
Constructor SummaryConstructorsConstructorDescriptionTlsConfigurationImpl(KeystoreType trustStoreType, String trustStore, PathType trustStorePathType, KeystoreType keyStoreType, String keyStore, PathType keyStorePathType, List<String> cipherSuites) Default constructor.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the password protecting the certificate.Returns the list of cipher suites for TLS connection.Returns the password protecting the key store.Returns the key store location.Returns the key store path type.Returns the key store type.Returns the trust store location.Returns the trust store path type.Returns the trust store type.Returns the password protecting the trust store.
- 
Constructor Details- 
TlsConfigurationImplpublic TlsConfigurationImpl(KeystoreType trustStoreType, String trustStore, PathType trustStorePathType, KeystoreType keyStoreType, String keyStore, PathType keyStorePathType, List<String> cipherSuites) Default constructor.- Parameters:
- trustStoreType- JKS or PKCS12
- trustStore- path to trustStore file
- trustStorePathType- truststore path type (classpath or path)
- keyStoreType- JKS or PKCS12
- keyStore- path to keyStore file
- keyStorePathType- keystore path type (classpath or path)
 
 
- 
- 
Method Details- 
getTlsTruststoreTypeDescription copied from interface:TlsConfigurationReturns the trust store type.- Specified by:
- getTlsTruststoreTypein interface- TlsConfiguration
- Returns:
- trust store type
 
- 
getTlsTruststoreDescription copied from interface:TlsConfigurationReturns the trust store location.- Specified by:
- getTlsTruststorein interface- TlsConfiguration
- Returns:
- trust store location
 
- 
getTlsKeystoreTypeDescription copied from interface:TlsConfigurationReturns the key store type.- Specified by:
- getTlsKeystoreTypein interface- TlsConfiguration
- Returns:
- key store type
 
- 
getTlsKeystoreDescription copied from interface:TlsConfigurationReturns the key store location.- Specified by:
- getTlsKeystorein interface- TlsConfiguration
- Returns:
- key store location
 
- 
getTlsKeystorePathTypeDescription copied from interface:TlsConfigurationReturns the key store path type.- Specified by:
- getTlsKeystorePathTypein interface- TlsConfiguration
- Returns:
- key store path type (CLASSPATH or PATH)
 
- 
getTlsTruststorePathTypeDescription copied from interface:TlsConfigurationReturns the trust store path type.- Specified by:
- getTlsTruststorePathTypein interface- TlsConfiguration
- Returns:
- trust store path type (CLASSPATH or PATH)
 
- 
getKeystorePasswordDescription copied from interface:TlsConfigurationReturns the password protecting the key store.- Specified by:
- getKeystorePasswordin interface- TlsConfiguration
- Returns:
- password protecting the specified key store
 
- 
getCertificatePasswordDescription copied from interface:TlsConfigurationReturns the password protecting the certificate.- Specified by:
- getCertificatePasswordin interface- TlsConfiguration
- Returns:
- password protecting certificate
 
- 
getTruststorePasswordDescription copied from interface:TlsConfigurationReturns the password protecting the trust store.- Specified by:
- getTruststorePasswordin interface- TlsConfiguration
- Returns:
- password protecting specified trust store
 
- 
getCipherSuitesDescription copied from interface:TlsConfigurationReturns the list of cipher suites for TLS connection.- Specified by:
- getCipherSuitesin interface- TlsConfiguration
- Returns:
- list of cipher suites for TLS connection
 
 
-