public class TlsConfigurationImpl extends Object implements TlsConfiguration
| Constructor and Description |
|---|
TlsConfigurationImpl(KeystoreType trustStoreType,
String trustStore,
PathType trustStorePathType,
KeystoreType keyStoreType,
String keyStore,
PathType keyStorePathType,
List<String> cipherSuites)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCertificatePassword()
Returns the password protecting the certificate.
|
List<String> |
getCipherSuites()
Returns the list of cipher suites for TLS connection.
|
String |
getKeystorePassword()
Returns the password protecting the key store.
|
String |
getTlsKeystore()
Returns the key store location.
|
PathType |
getTlsKeystorePathType()
Returns the key store path type.
|
KeystoreType |
getTlsKeystoreType()
Returns the key store type.
|
String |
getTlsTruststore()
Returns the trust store location.
|
PathType |
getTlsTruststorePathType()
Returns the trust store path type.
|
KeystoreType |
getTlsTruststoreType()
Returns the trust store type.
|
String |
getTruststorePassword()
Returns the password protecting the trust store.
|
public TlsConfigurationImpl(KeystoreType trustStoreType, String trustStore, PathType trustStorePathType, KeystoreType keyStoreType, String keyStore, PathType keyStorePathType, List<String> cipherSuites)
trustStoreType - JKS or PKCS12trustStore - path to trustStore filetrustStorePathType - truststore path type (classpath or path)keyStoreType - JKS or PKCS12keyStore - path to keyStore filekeyStorePathType - keystore path type (classpath or path)public KeystoreType getTlsTruststoreType()
TlsConfigurationgetTlsTruststoreType in interface TlsConfigurationpublic String getTlsTruststore()
TlsConfigurationgetTlsTruststore in interface TlsConfigurationpublic KeystoreType getTlsKeystoreType()
TlsConfigurationgetTlsKeystoreType in interface TlsConfigurationpublic String getTlsKeystore()
TlsConfigurationgetTlsKeystore in interface TlsConfigurationpublic PathType getTlsKeystorePathType()
TlsConfigurationgetTlsKeystorePathType in interface TlsConfigurationpublic PathType getTlsTruststorePathType()
TlsConfigurationgetTlsTruststorePathType in interface TlsConfigurationpublic String getKeystorePassword()
TlsConfigurationgetKeystorePassword in interface TlsConfigurationpublic String getCertificatePassword()
TlsConfigurationgetCertificatePassword in interface TlsConfigurationpublic String getTruststorePassword()
TlsConfigurationgetTruststorePassword in interface TlsConfigurationpublic List<String> getCipherSuites()
TlsConfigurationgetCipherSuites in interface TlsConfigurationCopyright © 2020 OpenDaylight. All rights reserved.