All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bouncycastle.jsse.BCX509ExtendedTrustManager Maven / Gradle / Ivy

Go to download

The Bouncy Castle Java APIs for the TLS, including a JSSE provider. The APIs are designed primarily to be used in conjunction with the BC LTS provider but may also be used with other providers providing cryptographic services.

There is a newer version: 2.73.7
Show newest version
package org.bouncycastle.jsse;

import java.net.Socket;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;

import javax.net.ssl.SSLEngine;
import javax.net.ssl.X509TrustManager;

public abstract class BCX509ExtendedTrustManager implements X509TrustManager
{
    public abstract void checkClientTrusted(X509Certificate[] chain, String authType, Socket socket)
        throws CertificateException;

    public abstract void checkClientTrusted(X509Certificate[] chain, String authType, SSLEngine engine)
        throws CertificateException;

    public abstract void checkServerTrusted(X509Certificate[] chain, String authType, Socket socket)
        throws CertificateException;

    public abstract void checkServerTrusted(X509Certificate[] chain, String authType, SSLEngine engine)
        throws CertificateException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy