Package aQute.bnd.url
Class LocalTrustManager
java.lang.Object
aQute.bnd.url.LocalTrustManager
- All Implemented Interfaces:
TrustManager,X509TrustManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Set<TrustAnchor> (package private) static final CertificateFactory(package private) static final Base64.Decoder(package private) static final X509Certificate[]private PKIXParametersprivate List<X509Certificate> (package private) static final CertPathValidatorprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] chain, String authType) voidcheckServerTrusted(X509Certificate[] toBeVerified, String authType)
-
Field Details
-
cf
-
validator
-
empty
-
DECODER
-
anchors
-
trusted
-
parameter
-
verify
private boolean verify
-
-
Constructor Details
-
LocalTrustManager
public LocalTrustManager(boolean verify, List<X509Certificate> trusted) throws InvalidAlgorithmParameterException
-
-
Method Details
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException - Specified by:
checkClientTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] toBeVerified, String authType) throws CertificateException - Specified by:
checkServerTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuersin interfaceX509TrustManager
-