Class TransportAuthentication
java.lang.Object
com.azure.resourcemanager.deviceregistry.models.TransportAuthentication
Definition of the authentication mechanism for the southbound connector.
-
Constructor Summary
ConstructorDescriptionCreates an instance of TransportAuthentication class. -
Method Summary
Modifier and TypeMethodDescriptionGet 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.void
validate()
Validates the instance.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.
-
Constructor Details
-
TransportAuthentication
public TransportAuthentication()Creates an instance of TransportAuthentication class.
-
-
Method Details
-
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
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.
-