Package org.wildfly.security.ssl
Class X509RevocationTrustManager
- java.lang.Object
 - 
- javax.net.ssl.X509ExtendedTrustManager
 - 
- org.wildfly.security.ssl.X509RevocationTrustManager
 
 
 
- 
- All Implemented Interfaces:
 TrustManager,X509TrustManager
public class X509RevocationTrustManager extends X509ExtendedTrustManager
Extension to theX509TrustManagerinterface to support OCSP and CRL verification.- Author:
 - Martin Mazanek
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classX509RevocationTrustManager.Builder 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static X509RevocationTrustManager.Builderbuilder()Create new X509RevocationTtustManager.Builder instancevoidcheckClientTrusted(X509Certificate[] chain, String authType)voidcheckClientTrusted(X509Certificate[] chain, String authType, Socket socket)voidcheckClientTrusted(X509Certificate[] chain, String authType, SSLEngine sslEngine)voidcheckServerTrusted(X509Certificate[] chain, String authType)voidcheckServerTrusted(X509Certificate[] chain, String authType, Socket socket)voidcheckServerTrusted(X509Certificate[] chain, String authType, SSLEngine sslEngine)X509Certificate[]getAcceptedIssuers() 
 - 
 
- 
- 
Method Detail
- 
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
- Throws:
 CertificateException
 
- 
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
- Throws:
 CertificateException
 
- 
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType, Socket socket) throws CertificateException
- Specified by:
 checkClientTrustedin classX509ExtendedTrustManager- Throws:
 CertificateException
 
- 
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType, Socket socket) throws CertificateException
- Specified by:
 checkServerTrustedin classX509ExtendedTrustManager- Throws:
 CertificateException
 
- 
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType, SSLEngine sslEngine) throws CertificateException
- Specified by:
 checkClientTrustedin classX509ExtendedTrustManager- Throws:
 CertificateException
 
- 
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType, SSLEngine sslEngine) throws CertificateException
- Specified by:
 checkServerTrustedin classX509ExtendedTrustManager- Throws:
 CertificateException
 
- 
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
 
- 
builder
public static X509RevocationTrustManager.Builder builder()
Create new X509RevocationTtustManager.Builder instance- Returns:
 - new Builder instance
 
 
 - 
 
 -