org.bouncycastle.jsse.provider.ProvTlsManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bctls-lts8on Show documentation
Show all versions of bctls-lts8on Show documentation
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.
package org.bouncycastle.jsse.provider;
import java.io.IOException;
import java.security.Principal;
import java.security.cert.X509Certificate;
import java.util.List;
import org.bouncycastle.jsse.BCX509Key;
import org.bouncycastle.tls.SecurityParameters;
interface ProvTlsManager
{
void checkClientTrusted(X509Certificate[] chain, String authType) throws IOException;
void checkServerTrusted(X509Certificate[] chain, String authType) throws IOException;
BCX509Key chooseClientKey(String[] keyTypes, Principal[] issuers);
BCX509Key chooseServerKey(String[] keyTypes, Principal[] issuers);
boolean getEnableSessionCreation();
ContextData getContextData();
String getPeerHost();
String getPeerHostSNI();
int getPeerPort();
int getTransportID();
void notifyHandshakeComplete(ProvSSLConnection connection);
void notifyHandshakeSession(ProvSSLSessionContext sslSessionContext, SecurityParameters securityParameters,
JsseSecurityParameters jsseSecurityParameters, ProvSSLSession resumedSession);
String selectApplicationProtocol(List protocols);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy