Class TlsValidationOptions
java.lang.Object
com.azure.media.videoanalyzer.edge.models.TlsValidationOptions
Options for controlling the validation of TLS endpoints.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the ignoreHostname property: When set to 'true' causes the certificate subject name validation to be skipped.Get the ignoreSignature property: When set to 'true' causes the certificate chain trust validation to be skipped.setIgnoreHostname
(String ignoreHostname) Set the ignoreHostname property: When set to 'true' causes the certificate subject name validation to be skipped.setIgnoreSignature
(String ignoreSignature) Set the ignoreSignature property: When set to 'true' causes the certificate chain trust validation to be skipped.
-
Constructor Details
-
TlsValidationOptions
public TlsValidationOptions()
-
-
Method Details
-
getIgnoreHostname
Get the ignoreHostname property: When set to 'true' causes the certificate subject name validation to be skipped. Default is 'false'.- Returns:
- the ignoreHostname value.
-
setIgnoreHostname
Set the ignoreHostname property: When set to 'true' causes the certificate subject name validation to be skipped. Default is 'false'.- Parameters:
ignoreHostname
- the ignoreHostname value to set.- Returns:
- the TlsValidationOptions object itself.
-
getIgnoreSignature
Get the ignoreSignature property: When set to 'true' causes the certificate chain trust validation to be skipped. Default is 'false'.- Returns:
- the ignoreSignature value.
-
setIgnoreSignature
Set the ignoreSignature property: When set to 'true' causes the certificate chain trust validation to be skipped. Default is 'false'.- Parameters:
ignoreSignature
- the ignoreSignature value to set.- Returns:
- the TlsValidationOptions object itself.
-