public interface X509TrustManager extends TrustManager
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
Checks if a certificate chain sent by the client is trusted.
|
void |
checkServerTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
Checks if a certificate chain sent by the server is trusted.
|
java.security.cert.X509Certificate[] |
getAcceptedIssuers()
Returns the list of trusted issuer certificates currently in use.
|
void checkClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType) throws java.security.cert.CertificateException
chain - The certificate chain to check.authType - The authentication type.java.security.cert.CertificateException - If the client's certificates are not trusted.void checkServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType) throws java.security.cert.CertificateException
chain - The certificate chain to check.authType - The authentication type.java.security.cert.CertificateException - If the server's certificates are not trusted.java.security.cert.X509Certificate[] getAcceptedIssuers()