public class BouncyCastleTrustStrategy extends Object implements org.apache.http.conn.ssl.TrustStrategy
Modifier and Type | Field and Description |
---|---|
static org.apache.http.conn.ssl.TrustSelfSignedStrategy |
INSTANCE |
Constructor and Description |
---|
BouncyCastleTrustStrategy(String userCert) |
public BouncyCastleTrustStrategy(String userCert)
public boolean isTrusted(X509Certificate[] chain, String authType) throws CertificateException
isTrusted
in interface org.apache.http.ssl.TrustStrategy
CertificateException
Copyright © 2016–2024. All rights reserved.