All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
All Known Subinterfaces:
Tls

@Generated("mdsal-binding-generator") public interface PcepSessionTls extends org.opendaylight.yangtools.yang.binding.DataObject

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;
   }
 }
 
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends PcepSessionTls> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getKeystore

      String getKeystore()
      Return keystore, or null if it is not present.
           
               keystore location
           
       
      Returns:
      String keystore, or null if it is not present.
    • requireKeystore

      default @NonNull String 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

      StoreType getKeystoreType()
      Return keystoreType, or null if it is not present.
           
               keystore type (JKS or PKCS12)
           
       
      Returns:
      StoreType keystoreType, or null if it is not present.
    • requireKeystoreType

      default @NonNull StoreType requireKeystoreType()
      Return keystoreType, guaranteed to be non-null.
           
               keystore type (JKS or PKCS12)
           
       
      Returns:
      StoreType keystoreType, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if keystoreType is not present
    • getKeystorePathType

      PathType getKeystorePathType()
      Return keystorePathType, or null if it is not present.
           
               keystore path type (CLASSPATH or PATH)
           
       
      Returns:
      PathType keystorePathType, or null if it is not present.
    • requireKeystorePathType

      default @NonNull PathType 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, or null if it is not present.
           
               password protecting keystore
           
       
      Returns:
      String keystorePassword, or null if it is not present.
    • requireKeystorePassword

      default @NonNull String 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, or null if it is not present.
           
               password protecting certificate
           
       
      Returns:
      String certificatePassword, or null if it is not present.
    • requireCertificatePassword

      default @NonNull String 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, or null if it is not present.
           
               truststore location
           
       
      Returns:
      String truststore, or null if it is not present.
    • requireTruststore

      default @NonNull String 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

      StoreType getTruststoreType()
      Return truststoreType, or null if it is not present.
           
               truststore type (JKS or PKCS12)
           
       
      Returns:
      StoreType truststoreType, or null if it is not present.
    • requireTruststoreType

      default @NonNull StoreType requireTruststoreType()
      Return truststoreType, guaranteed to be non-null.
           
               truststore type (JKS or PKCS12)
           
       
      Returns:
      StoreType truststoreType, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if truststoreType is not present
    • getTruststorePathType

      PathType getTruststorePathType()
      Return truststorePathType, or null if it is not present.
           
               truststore path type (CLASSPATH or PATH)
           
       
      Returns:
      PathType truststorePathType, or null if it is not present.
    • requireTruststorePathType

      default @NonNull PathType 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, or null if it is not present.
           
               password protecting truststore
           
       
      Returns:
      String truststorePassword, or null if it is not present.
    • requireTruststorePassword

      default @NonNull String 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