Class UnifiedX509TrustManager
- java.lang.Object
-
- com.sun.enterprise.security.ssl.manager.UnifiedX509TrustManager
-
- All Implemented Interfaces:
TrustManager,X509TrustManager
public class UnifiedX509TrustManager extends Object implements X509TrustManager
This class combines an array of X509TrustManagers into one.- Author:
- Shing Wai Chan
-
-
Constructor Summary
Constructors Constructor Description UnifiedX509TrustManager(X509TrustManager[] mgrs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckClientTrusted(X509Certificate[] chain, String authType)voidcheckServerTrusted(X509Certificate[] chain, String authType)X509Certificate[]getAcceptedIssuers()
-
-
-
Constructor Detail
-
UnifiedX509TrustManager
public UnifiedX509TrustManager(X509TrustManager[] mgrs)
-
-
Method Detail
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
- Specified by:
checkClientTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
- Specified by:
checkServerTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuersin interfaceX509TrustManager
-
-