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()
TlsConfiguration
getTlsTruststoreType
in interface TlsConfiguration
public String getTlsTruststore()
TlsConfiguration
getTlsTruststore
in interface TlsConfiguration
public KeystoreType getTlsKeystoreType()
TlsConfiguration
getTlsKeystoreType
in interface TlsConfiguration
public String getTlsKeystore()
TlsConfiguration
getTlsKeystore
in interface TlsConfiguration
public PathType getTlsKeystorePathType()
TlsConfiguration
getTlsKeystorePathType
in interface TlsConfiguration
public PathType getTlsTruststorePathType()
TlsConfiguration
getTlsTruststorePathType
in interface TlsConfiguration
public String getKeystorePassword()
TlsConfiguration
getKeystorePassword
in interface TlsConfiguration
public String getCertificatePassword()
TlsConfiguration
getCertificatePassword
in interface TlsConfiguration
public String getTruststorePassword()
TlsConfiguration
getTruststorePassword
in interface TlsConfiguration
public List<String> getCipherSuites()
TlsConfiguration
getCipherSuites
in interface TlsConfiguration
Copyright © 2020 OpenDaylight. All rights reserved.