Package org.wildfly.security.ssl
Class TLSServerEndPointChannelBinding
- java.lang.Object
 - 
- org.wildfly.security.ssl.TLSServerEndPointChannelBinding
 
 
- 
public final class TLSServerEndPointChannelBinding extends Object
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 Modifier and Type Field Description static StringTLS_SERVER_ENDPOINT 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
- 
TLS_SERVER_ENDPOINT
public static final String TLS_SERVER_ENDPOINT
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getDigestAlgorithm
public static String getDigestAlgorithm(String sigAlgOID)
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
 
 - 
 
 -