Class OwnCertificate
java.lang.Object
com.azure.resourcemanager.deviceregistry.models.OwnCertificate
Certificate or private key 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.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the certPasswordReference property: Secret Reference Name (Pfx or Pem password).Get the certSecretReference property: Secret Reference name (cert and private key).Get the certThumbprint property: Certificate thumbprint.void
validate()
Validates the instance.withCertPasswordReference
(String certPasswordReference) Set the certPasswordReference property: Secret Reference Name (Pfx or Pem password).withCertSecretReference
(String certSecretReference) Set the certSecretReference property: Secret Reference name (cert and private key).withCertThumbprint
(String certThumbprint) Set the certThumbprint property: Certificate thumbprint.
-
Constructor Details
-
OwnCertificate
public OwnCertificate()Creates an instance of OwnCertificate class.
-
-
Method Details
-
certThumbprint
Get the certThumbprint property: Certificate thumbprint.- Returns:
- the certThumbprint value.
-
withCertThumbprint
Set the certThumbprint property: Certificate thumbprint.- Parameters:
certThumbprint
- the certThumbprint value to set.- Returns:
- the OwnCertificate object itself.
-
certSecretReference
Get the certSecretReference property: Secret Reference name (cert and private key).- Returns:
- the certSecretReference value.
-
withCertSecretReference
Set the certSecretReference property: Secret Reference name (cert and private key).- Parameters:
certSecretReference
- the certSecretReference value to set.- Returns:
- the OwnCertificate object itself.
-
certPasswordReference
Get the certPasswordReference property: Secret Reference Name (Pfx or Pem password).- Returns:
- the certPasswordReference value.
-
withCertPasswordReference
Set the certPasswordReference property: Secret Reference Name (Pfx or Pem password).- Parameters:
certPasswordReference
- the certPasswordReference value to set.- Returns:
- the OwnCertificate object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-