Package org.wildfly.security.ssl
Class TLSServerEndPointChannelBinding
java.lang.Object
org.wildfly.security.ssl.TLSServerEndPointChannelBinding
Utilities for handling the "tls-server-end-point" channel binding strategy used by various types
of authentication mechanisms.
- Author:
- David M. Lloyd
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetDigestAlgorithm(String sigAlgOID) Get the digest algorithm that would be used for a given signature algorithm OID.static voidhandleChannelBindingCallback(ChannelBindingCallback channelBindingCallback, X509Certificate[] serverCerts) Convenience method to handle a channel binding callback.
-
Field Details
-
TLS_SERVER_ENDPOINT
- See Also:
-
-
Method Details
-
getDigestAlgorithm
Get the digest algorithm that would be used for a given signature algorithm OID.- Parameters:
sigAlgOID- the signature algorithm OID (must not benull)- Returns:
- the digest algorithm, or
nullif the OID is not recognized
-
handleChannelBindingCallback
public static void handleChannelBindingCallback(ChannelBindingCallback channelBindingCallback, X509Certificate[] serverCerts) throws UnsupportedCallbackException Convenience method to handle a channel binding callback.- Parameters:
channelBindingCallback- the callback (must not benull)serverCerts- the server certificate chain- Throws:
UnsupportedCallbackException- if the server certificates are not present or unsupported and the callback is not optional
-