Interface SwitchCertificate

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    SwitchCertificate, SwitchCertificate

    public interface SwitchCertificate
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module system-notifications

     grouping switch-certificate {
       container subject {
         uses x500-principal;
       }
       container issuer {
         uses x500-principal;
       }
       leaf valid-from {
         type yang:date-and-time;
       }
       leaf valid-to {
         type yang:date-and-time;
       }
       leaf serial-number {
         type uint64;
       }
       leaf-list subject-alternate-names {
         type string;
       }
     }
     
    The schema path to identify an instance is system-notifications/switch-certificate
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Subject getSubject()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.system.rev130927._switch.certificate.Subject subject, or null if not present
      • getIssuer

        @Nullable Issuer getIssuer()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.system.rev130927._switch.certificate.Issuer issuer, or null if not present
      • getValidFrom

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime getValidFrom()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime validFrom, or null if not present
      • getValidTo

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime getValidTo()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime validTo, or null if not present
      • getSerialNumber

        @Nullable org.opendaylight.yangtools.yang.common.Uint64 getSerialNumber()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint64 serialNumber, or null if not present
      • getSubjectAlternateNames

        @Nullable List<String> getSubjectAlternateNames()
        Returns:
        java.util.List subjectAlternateNames, or null if not present