Interface PcepSessionTls
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
Tls
@Generated("mdsal-binding-generator")
public interface PcepSessionTls
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module pcep-config
grouping pcep-session-tls {
typedef path-type {
type enumeration {
enum PATH;
enum CLASSPATH;
}
}
typedef store-type {
type enumeration {
enum JKS;
enum PKCS12;
}
}
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;
}
}
-
Method Summary
Modifier and TypeMethodDescriptionReturn certificatePassword, ornullif it is not present.Return keystore, ornullif it is not present.Return keystorePassword, ornullif it is not present.Return keystorePathType, ornullif it is not present.Return keystoreType, ornullif it is not present.Return truststore, ornullif it is not present.Return truststorePassword, ornullif it is not present.Return truststorePathType, ornullif it is not present.Return truststoreType, ornullif it is not present.default @NonNull StringReturn certificatePassword, guaranteed to be non-null.default @NonNull StringReturn keystore, guaranteed to be non-null.default @NonNull StringReturn keystorePassword, guaranteed to be non-null.default @NonNull PathTypeReturn keystorePathType, guaranteed to be non-null.default @NonNull StoreTypeReturn keystoreType, guaranteed to be non-null.default @NonNull StringReturn truststore, guaranteed to be non-null.default @NonNull StringReturn truststorePassword, guaranteed to be non-null.default @NonNull PathTypeReturn truststorePathType, guaranteed to be non-null.default @NonNull StoreTypeReturn truststoreType, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getKeystore
String getKeystore()Return keystore, ornullif it is not present.keystore location- Returns:
Stringkeystore, ornullif it is not present.
-
requireKeystore
Return keystore, guaranteed to be non-null.keystore location- Returns:
Stringkeystore, guaranteed to be non-null.- Throws:
NoSuchElementException- if keystore is not present
-
getKeystoreType
StoreType getKeystoreType()Return keystoreType, ornullif it is not present.keystore type (JKS or PKCS12)- Returns:
StoreTypekeystoreType, ornullif it is not present.
-
requireKeystoreType
Return keystoreType, guaranteed to be non-null.keystore type (JKS or PKCS12)- Returns:
StoreTypekeystoreType, guaranteed to be non-null.- Throws:
NoSuchElementException- if keystoreType is not present
-
getKeystorePathType
PathType getKeystorePathType()Return keystorePathType, ornullif it is not present.keystore path type (CLASSPATH or PATH)- Returns:
PathTypekeystorePathType, ornullif it is not present.
-
requireKeystorePathType
Return keystorePathType, guaranteed to be non-null.keystore path type (CLASSPATH or PATH)- Returns:
PathTypekeystorePathType, guaranteed to be non-null.- Throws:
NoSuchElementException- if keystorePathType is not present
-
getKeystorePassword
String getKeystorePassword()Return keystorePassword, ornullif it is not present.password protecting keystore- Returns:
StringkeystorePassword, ornullif it is not present.
-
requireKeystorePassword
Return keystorePassword, guaranteed to be non-null.password protecting keystore- Returns:
StringkeystorePassword, guaranteed to be non-null.- Throws:
NoSuchElementException- if keystorePassword is not present
-
getCertificatePassword
String getCertificatePassword()Return certificatePassword, ornullif it is not present.password protecting certificate- Returns:
StringcertificatePassword, ornullif it is not present.
-
requireCertificatePassword
Return certificatePassword, guaranteed to be non-null.password protecting certificate- Returns:
StringcertificatePassword, guaranteed to be non-null.- Throws:
NoSuchElementException- if certificatePassword is not present
-
getTruststore
String getTruststore()Return truststore, ornullif it is not present.truststore location- Returns:
Stringtruststore, ornullif it is not present.
-
requireTruststore
Return truststore, guaranteed to be non-null.truststore location- Returns:
Stringtruststore, guaranteed to be non-null.- Throws:
NoSuchElementException- if truststore is not present
-
getTruststoreType
StoreType getTruststoreType()Return truststoreType, ornullif it is not present.truststore type (JKS or PKCS12)- Returns:
StoreTypetruststoreType, ornullif it is not present.
-
requireTruststoreType
Return truststoreType, guaranteed to be non-null.truststore type (JKS or PKCS12)- Returns:
StoreTypetruststoreType, guaranteed to be non-null.- Throws:
NoSuchElementException- if truststoreType is not present
-
getTruststorePathType
PathType getTruststorePathType()Return truststorePathType, ornullif it is not present.truststore path type (CLASSPATH or PATH)- Returns:
PathTypetruststorePathType, ornullif it is not present.
-
requireTruststorePathType
Return truststorePathType, guaranteed to be non-null.truststore path type (CLASSPATH or PATH)- Returns:
PathTypetruststorePathType, guaranteed to be non-null.- Throws:
NoSuchElementException- if truststorePathType is not present
-
getTruststorePassword
String getTruststorePassword()Return truststorePassword, ornullif it is not present.password protecting truststore- Returns:
StringtruststorePassword, ornullif it is not present.
-
requireTruststorePassword
Return truststorePassword, guaranteed to be non-null.password protecting truststore- Returns:
StringtruststorePassword, guaranteed to be non-null.- Throws:
NoSuchElementException- if truststorePassword is not present
-