public class OpenSSLAlpnProvider extends Object implements ALPNProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenSSLAlpnProvider.OpenSSLALPNMethods |
| Modifier and Type | Field and Description |
|---|---|
static String |
OPENSSL_ENGINE |
| Constructor and Description |
|---|
OpenSSLAlpnProvider() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority() |
String |
getSelectedProtocol(SSLEngine engine)
Gets the selected ALPN protocol, of null if none was selected.
|
boolean |
isEnabled(SSLEngine sslEngine) |
SSLEngine |
setProtocols(SSLEngine engine,
String[] protocols)
Sets the SSL protocols, and potentially wraps the SSLEngine
|
public static final String OPENSSL_ENGINE
public boolean isEnabled(SSLEngine sslEngine)
isEnabled in interface ALPNProviderpublic SSLEngine setProtocols(SSLEngine engine, String[] protocols)
ALPNProvidersetProtocols in interface ALPNProviderengine - The original engineprotocols - The protocolspublic String getSelectedProtocol(SSLEngine engine)
ALPNProvidergetSelectedProtocol in interface ALPNProviderengine - The SSL Enginepublic int getPriority()
getPriority in interface ALPNProviderCopyright © 2017 JBoss by Red Hat. All rights reserved.