Class TransportAuthentication

java.lang.Object
com.azure.resourcemanager.deviceregistry.models.TransportAuthentication

public final class TransportAuthentication extends Object
Definition of the authentication mechanism for the southbound connector.
  • Constructor Details

    • TransportAuthentication

      public TransportAuthentication()
      Creates an instance of TransportAuthentication class.
  • Method Details

    • ownCertificates

      public List<OwnCertificate> ownCertificates()
      Get the ownCertificates property: Defines a reference to a secret which contains all certificates and private keys that can be used by the southbound connector connecting to the shop floor/OT device. The accepted extensions are .der for certificates and .pfx/.pem for private keys.
      Returns:
      the ownCertificates value.
    • withOwnCertificates

      public TransportAuthentication withOwnCertificates(List<OwnCertificate> ownCertificates)
      Set the ownCertificates property: Defines a reference to a secret which contains all certificates and private keys that can be used by the southbound connector connecting to the shop floor/OT device. The accepted extensions are .der for certificates and .pfx/.pem for private keys.
      Parameters:
      ownCertificates - the ownCertificates value to set.
      Returns:
      the TransportAuthentication object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.