Interface Tls
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Tls>
,org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<SwitchConnectionConfig>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator")
public interface Tls
extends org.opendaylight.yangtools.yang.binding.ChildOf<SwitchConnectionConfig>, org.opendaylight.yangtools.yang.binding.Augmentable<Tls>
This class represents the following YANG schema fragment defined in module openflow-switch-connection-config
container tls { leaf keystore { type string; } leaf keystore-type { type of-config:keystore-type; } leaf keystore-path-type { type of-config:path-type; } leaf keystore-password { type string; } leaf certificate-password { type string; } leaf truststore { type string; } leaf truststore-type { type of-config:keystore-type; } leaf truststore-path-type { type of-config:path-type; } leaf truststore-password { type string; } leaf-list cipher-suites { type string; ordered-by user; } }
To create instances of this class use TlsBuilder
.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
bindingEquals
(@NonNull Tls thisObj, Object obj) Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode
(@NonNull Tls obj) Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString
(@NonNull Tls obj) Default implementation ofObject.toString()
contract for this interface.Return certificatePassword, ornull
if it is not present.Return cipherSuites, ornull
if it is not present.Return keystore, ornull
if it is not present.Return keystorePassword, ornull
if it is not present.Return keystorePathType, ornull
if it is not present.Return keystoreType, ornull
if it is not present.Return truststore, ornull
if it is not present.Return truststorePassword, ornull
if it is not present.Return truststorePathType, ornull
if it is not present.Return truststoreType, ornull
if it is not present.default @NonNull String
Return certificatePassword, guaranteed to be non-null.Return cipherSuites, guaranteed to be non-null.default @NonNull String
Return keystore, guaranteed to be non-null.default @NonNull String
Return keystorePassword, guaranteed to be non-null.default @NonNull PathType
Return keystorePathType, guaranteed to be non-null.default @NonNull KeystoreType
Return keystoreType, guaranteed to be non-null.default @NonNull String
Return truststore, guaranteed to be non-null.default @NonNull String
Return truststorePassword, guaranteed to be non-null.default @NonNull PathType
Return truststorePathType, guaranteed to be non-null.default @NonNull KeystoreType
Return truststoreType, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentations
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
Default implementation ofObject.hashCode()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj
- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException
- ifobj
is null
-
bindingEquals
Default implementation ofObject.equals(Object)
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj
- Object acting as the receiver of equals invocationobj
- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException
- ifthisObj
is null
-
bindingToString
Default implementation ofObject.toString()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj
- Object for which to generate toString() result.- Returns:
String
value of data modeled by this interface.- Throws:
NullPointerException
- ifobj
is null
-
getKeystore
String getKeystore()Return keystore, ornull
if it is not present.keystore location
- Returns:
String
keystore, ornull
if it is not present.
-
requireKeystore
Return keystore, guaranteed to be non-null.keystore location
- Returns:
String
keystore, guaranteed to be non-null.- Throws:
NoSuchElementException
- if keystore is not present
-
getKeystoreType
KeystoreType getKeystoreType()Return keystoreType, ornull
if it is not present.keystore type (JKS or PKCS12)
- Returns:
KeystoreType
keystoreType, ornull
if it is not present.
-
requireKeystoreType
Return keystoreType, guaranteed to be non-null.keystore type (JKS or PKCS12)
- Returns:
KeystoreType
keystoreType, guaranteed to be non-null.- Throws:
NoSuchElementException
- if keystoreType is not present
-
getKeystorePathType
PathType getKeystorePathType()Return keystorePathType, ornull
if it is not present.keystore path type (CLASSPATH or PATH)
- Returns:
PathType
keystorePathType, ornull
if it is not present.
-
requireKeystorePathType
Return keystorePathType, guaranteed to be non-null.keystore path type (CLASSPATH or PATH)
- Returns:
PathType
keystorePathType, guaranteed to be non-null.- Throws:
NoSuchElementException
- if keystorePathType is not present
-
getKeystorePassword
String getKeystorePassword()Return keystorePassword, ornull
if it is not present.password protecting keystore
- Returns:
String
keystorePassword, ornull
if it is not present.
-
requireKeystorePassword
Return keystorePassword, guaranteed to be non-null.password protecting keystore
- Returns:
String
keystorePassword, guaranteed to be non-null.- Throws:
NoSuchElementException
- if keystorePassword is not present
-
getCertificatePassword
String getCertificatePassword()Return certificatePassword, ornull
if it is not present.password protecting certificate
- Returns:
String
certificatePassword, ornull
if it is not present.
-
requireCertificatePassword
Return certificatePassword, guaranteed to be non-null.password protecting certificate
- Returns:
String
certificatePassword, guaranteed to be non-null.- Throws:
NoSuchElementException
- if certificatePassword is not present
-
getTruststore
String getTruststore()Return truststore, ornull
if it is not present.truststore location
- Returns:
String
truststore, ornull
if it is not present.
-
requireTruststore
Return truststore, guaranteed to be non-null.truststore location
- Returns:
String
truststore, guaranteed to be non-null.- Throws:
NoSuchElementException
- if truststore is not present
-
getTruststoreType
KeystoreType getTruststoreType()Return truststoreType, ornull
if it is not present.truststore type (JKS or PKCS12)
- Returns:
KeystoreType
truststoreType, ornull
if it is not present.
-
requireTruststoreType
Return truststoreType, guaranteed to be non-null.truststore type (JKS or PKCS12)
- Returns:
KeystoreType
truststoreType, guaranteed to be non-null.- Throws:
NoSuchElementException
- if truststoreType is not present
-
getTruststorePathType
PathType getTruststorePathType()Return truststorePathType, ornull
if it is not present.truststore path type (CLASSPATH or PATH)
- Returns:
PathType
truststorePathType, ornull
if it is not present.
-
requireTruststorePathType
Return truststorePathType, guaranteed to be non-null.truststore path type (CLASSPATH or PATH)
- Returns:
PathType
truststorePathType, guaranteed to be non-null.- Throws:
NoSuchElementException
- if truststorePathType is not present
-
getTruststorePassword
String getTruststorePassword()Return truststorePassword, ornull
if it is not present.password protecting truststore
- Returns:
String
truststorePassword, ornull
if it is not present.
-
requireTruststorePassword
Return truststorePassword, guaranteed to be non-null.password protecting truststore
- Returns:
String
truststorePassword, guaranteed to be non-null.- Throws:
NoSuchElementException
- if truststorePassword is not present
-
getCipherSuites
Return cipherSuites, ornull
if it is not present.combination of cryptographic algorithms used by TLS connection
- Returns:
List<String>
cipherSuites, ornull
if it is not present.
-
requireCipherSuites
Return cipherSuites, guaranteed to be non-null.combination of cryptographic algorithms used by TLS connection
- Returns:
List<String>
cipherSuites, guaranteed to be non-null.- Throws:
NoSuchElementException
- if cipherSuites is not present
-