Package org.apache.http.nio.conn.ssl
Class TrustManagerDecorator
- java.lang.Object
-
- org.apache.http.nio.conn.ssl.TrustManagerDecorator
-
- All Implemented Interfaces:
javax.net.ssl.TrustManager,javax.net.ssl.X509TrustManager
@Deprecated class TrustManagerDecorator extends java.lang.Object implements javax.net.ssl.X509TrustManagerDeprecated.
-
-
Field Summary
Fields Modifier and Type Field Description private javax.net.ssl.X509TrustManagertrustManagerDeprecated.private org.apache.http.conn.ssl.TrustStrategytrustStrategyDeprecated.
-
Constructor Summary
Constructors Constructor Description TrustManagerDecorator(javax.net.ssl.X509TrustManager trustManager, org.apache.http.conn.ssl.TrustStrategy trustStrategy)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcheckClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)Deprecated.voidcheckServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)Deprecated.java.security.cert.X509Certificate[]getAcceptedIssuers()Deprecated.
-
-
-
Method Detail
-
checkClientTrusted
public void checkClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType) throws java.security.cert.CertificateExceptionDeprecated.- Specified by:
checkClientTrustedin interfacejavax.net.ssl.X509TrustManager- Throws:
java.security.cert.CertificateException
-
checkServerTrusted
public void checkServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType) throws java.security.cert.CertificateExceptionDeprecated.- Specified by:
checkServerTrustedin interfacejavax.net.ssl.X509TrustManager- Throws:
java.security.cert.CertificateException
-
getAcceptedIssuers
public java.security.cert.X509Certificate[] getAcceptedIssuers()
Deprecated.- Specified by:
getAcceptedIssuersin interfacejavax.net.ssl.X509TrustManager
-
-