public final class TLSServerEndPointChannelBinding extends Object
Modifier and Type | Field and Description |
---|---|
static String |
TLS_SERVER_ENDPOINT |
Modifier and Type | Method and Description |
---|---|
static String |
getDigestAlgorithm(String sigAlgOID)
Get the digest algorithm that would be used for a given signature algorithm OID.
|
static void |
handleChannelBindingCallback(ChannelBindingCallback channelBindingCallback,
X509Certificate[] serverCerts)
Convenience method to handle a channel binding callback.
|
public static final String TLS_SERVER_ENDPOINT
public static String getDigestAlgorithm(String sigAlgOID)
sigAlgOID
- the signature algorithm OID (must not be null
)null
if the OID is not recognizedpublic static void handleChannelBindingCallback(ChannelBindingCallback channelBindingCallback, X509Certificate[] serverCerts) throws UnsupportedCallbackException
channelBindingCallback
- the callback (must not be null
)serverCerts
- the server certificate chainUnsupportedCallbackException
- if the server certificates are not present or unsupported and the callback is not optionalCopyright © 2020 JBoss by Red Hat. All rights reserved.