Interface Tls

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Tls>, 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

    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;
       }
     }
     
    The schema path to identify an instance is openflow-switch-connection-config/switch-connection-config/tls

    To create instances of this class use TlsBuilder.

    See Also:
    TlsBuilder
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<Tls> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getKeystore

        @Nullable String getKeystore()
        keystore location
        Returns:
        java.lang.String keystore, or null if not present
      • getKeystoreType

        @Nullable KeystoreType getKeystoreType()
        keystore type (JKS or PKCS12)
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.KeystoreType keystoreType, or null if not present
      • getKeystorePathType

        @Nullable PathType getKeystorePathType()
        keystore path type (CLASSPATH or PATH)
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.PathType keystorePathType, or null if not present
      • getKeystorePassword

        @Nullable String getKeystorePassword()
        password protecting keystore
        Returns:
        java.lang.String keystorePassword, or null if not present
      • getCertificatePassword

        @Nullable String getCertificatePassword()
        password protecting certificate
        Returns:
        java.lang.String certificatePassword, or null if not present
      • getTruststore

        @Nullable String getTruststore()
        truststore location
        Returns:
        java.lang.String truststore, or null if not present
      • getTruststoreType

        @Nullable KeystoreType getTruststoreType()
        truststore type (JKS or PKCS12)
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.KeystoreType truststoreType, or null if not present
      • getTruststorePathType

        @Nullable PathType getTruststorePathType()
        truststore path type (CLASSPATH or PATH)
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.PathType truststorePathType, or null if not present
      • getTruststorePassword

        @Nullable String getTruststorePassword()
        password protecting truststore
        Returns:
        java.lang.String truststorePassword, or null if not present
      • getCipherSuites

        @Nullable List<String> getCipherSuites()
        combination of cryptographic algorithms used by TLS connection
        Returns:
        java.util.List cipherSuites, or null if not present