- chain
- the certificate chain to validate.
- authType
- the key exchange algorithm name.
Type Reason Java.Security.Cert.CertificateException if the certificate chain can't be validated or isn't trusted. Java.Lang.IllegalArgumentException if the specified certificate chain is empty or null, or if the specified authentication type is null or an empty string.
Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for server authentication for the specified key exchange algorithm.