Interface Tls
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Tls>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<PcepDispatcherConfig>
,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<PcepDispatcherConfig>, org.opendaylight.yangtools.yang.binding.Augmentable<Tls>
This class represents the following YANG schema fragment defined in module pcep-app-config
container tls { presence true; leaf keystore { type string; } leaf keystore-type { type store-type; } leaf keystore-path-type { type path-type; } leaf keystore-password { type string; } leaf certificate-password { type string; } leaf truststore { type string; } leaf truststore-type { type store-type; } leaf truststore-path-type { type path-type; } leaf truststore-password { type string; } }
The schema path to identify an instance is pcep-app-config/pcep-dispatcher-config/tlsTo create instances of this class use
TlsBuilder
.- See Also:
TlsBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static 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.String
getCertificatePassword()
Return certificatePassword, ornull
if it is not present.String
getKeystore()
Return keystore, ornull
if it is not present.String
getKeystorePassword()
Return keystorePassword, ornull
if it is not present.PathType
getKeystorePathType()
Return keystorePathType, ornull
if it is not present.StoreType
getKeystoreType()
Return keystoreType, ornull
if it is not present.String
getTruststore()
Return truststore, ornull
if it is not present.String
getTruststorePassword()
Return truststorePassword, ornull
if it is not present.PathType
getTruststorePathType()
Return truststorePathType, ornull
if it is not present.StoreType
getTruststoreType()
Return truststoreType, ornull
if it is not present.default Class<Tls>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
default Class<Tls> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
static int bindingHashCode(@NonNull Tls obj)
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
static boolean bindingEquals(@NonNull Tls thisObj, Object obj)
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
static String bindingToString(@NonNull Tls obj)
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:
java.lang.String
keystore, ornull
if it is not present.
-
getKeystoreType
StoreType getKeystoreType()
Return keystoreType, ornull
if it is not present.keystore type (JKS or PKCS12)
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.app.config.rev160707.StoreType
keystoreType, ornull
if it is not present.
-
getKeystorePathType
PathType getKeystorePathType()
Return keystorePathType, ornull
if it is not present.keystore path type (CLASSPATH or PATH)
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.app.config.rev160707.PathType
keystorePathType, ornull
if it is not present.
-
getKeystorePassword
String getKeystorePassword()
Return keystorePassword, ornull
if it is not present.password protecting keystore
- Returns:
java.lang.String
keystorePassword, ornull
if it is not present.
-
getCertificatePassword
String getCertificatePassword()
Return certificatePassword, ornull
if it is not present.password protecting certificate
- Returns:
java.lang.String
certificatePassword, ornull
if it is not present.
-
getTruststore
String getTruststore()
Return truststore, ornull
if it is not present.truststore location
- Returns:
java.lang.String
truststore, ornull
if it is not present.
-
getTruststoreType
StoreType getTruststoreType()
Return truststoreType, ornull
if it is not present.truststore type (JKS or PKCS12)
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.app.config.rev160707.StoreType
truststoreType, ornull
if it is not present.
-
getTruststorePathType
PathType getTruststorePathType()
Return truststorePathType, ornull
if it is not present.truststore path type (CLASSPATH or PATH)
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.app.config.rev160707.PathType
truststorePathType, ornull
if it is not present.
-
getTruststorePassword
String getTruststorePassword()
Return truststorePassword, ornull
if it is not present.password protecting truststore
- Returns:
java.lang.String
truststorePassword, ornull
if it is not present.
-
-