Tabnine Logo
SSLConnection.getChannelBinding
Code IndexAdd Tabnine to your IDE (free)

How to use
getChannelBinding
method
in
org.wildfly.security.ssl.SSLConnection

Best Java code snippets using org.wildfly.security.ssl.SSLConnection.getChannelBinding (Showing top 4 results out of 315)

origin: wildfly/wildfly

/**
 * Populate the given channel binding callback with any channel binding data that might be present on this
 * connection.  If no channel binding seems to be supported, then the callback will be left unpopulated.
 *
 * @param callback the binding callback to populate (must not be {@code null})
 */
public void handleChannelBindingCallback(final ChannelBindingCallback callback) {
  Assert.checkNotNullParam("callback", callback);
  byte[] bindingData = getChannelBinding("tls-unique");
  if (bindingData != null) {
    callback.setBindingType("tls-unique");
    callback.setBindingData(bindingData);
  } else {
    bindingData = getChannelBinding(TLS_SERVER_ENDPOINT);
    if (bindingData != null) {
      callback.setBindingType(TLS_SERVER_ENDPOINT);
      callback.setBindingData(bindingData);
    }
  }
}
origin: org.jboss.eap/wildfly-client-all

/**
 * Populate the given channel binding callback with any channel binding data that might be present on this
 * connection.  If no channel binding seems to be supported, then the callback will be left unpopulated.
 *
 * @param callback the binding callback to populate (must not be {@code null})
 */
public void handleChannelBindingCallback(final ChannelBindingCallback callback) {
  Assert.checkNotNullParam("callback", callback);
  byte[] bindingData = getChannelBinding("tls-unique");
  if (bindingData != null) {
    callback.setBindingType("tls-unique");
    callback.setBindingData(bindingData);
  } else {
    bindingData = getChannelBinding(TLS_SERVER_ENDPOINT);
    if (bindingData != null) {
      callback.setBindingType(TLS_SERVER_ENDPOINT);
      callback.setBindingData(bindingData);
    }
  }
}
origin: org.wildfly.security/wildfly-elytron

/**
 * Populate the given channel binding callback with any channel binding data that might be present on this
 * connection.  If no channel binding seems to be supported, then the callback will be left unpopulated.
 *
 * @param callback the binding callback to populate (must not be {@code null})
 */
public void handleChannelBindingCallback(final ChannelBindingCallback callback) {
  Assert.checkNotNullParam("callback", callback);
  byte[] bindingData = getChannelBinding("tls-unique");
  if (bindingData != null) {
    callback.setBindingType("tls-unique");
    callback.setBindingData(bindingData);
  } else {
    bindingData = getChannelBinding(TLS_SERVER_ENDPOINT);
    if (bindingData != null) {
      callback.setBindingType(TLS_SERVER_ENDPOINT);
      callback.setBindingData(bindingData);
    }
  }
}
origin: org.wildfly.security/wildfly-elytron-auth-server

/**
 * Populate the given channel binding callback with any channel binding data that might be present on this
 * connection.  If no channel binding seems to be supported, then the callback will be left unpopulated.
 *
 * @param callback the binding callback to populate (must not be {@code null})
 */
public void handleChannelBindingCallback(final ChannelBindingCallback callback) {
  Assert.checkNotNullParam("callback", callback);
  byte[] bindingData = getChannelBinding("tls-unique");
  if (bindingData != null) {
    callback.setBindingType("tls-unique");
    callback.setBindingData(bindingData);
  } else {
    bindingData = getChannelBinding(TLS_SERVER_ENDPOINT);
    if (bindingData != null) {
      callback.setBindingType(TLS_SERVER_ENDPOINT);
      callback.setBindingData(bindingData);
    }
  }
}
org.wildfly.security.sslSSLConnectiongetChannelBinding

Javadoc

Get the channel binding of the given type from this connection. If the data is not present or the type is not supported, null is returned.

Popular methods of SSLConnection

  • forSession
    Create a SSLConnection for the given SSL socket. Since no connection information will be available i
  • getSession
    Get the SSL session associated with this connection.
  • handleChannelBindingCallback
    Populate the given channel binding callback with any channel binding data that might be present on t
  • isClientMode
    Get the client-mode flag for this connection.

Popular in Java

  • Running tasks concurrently on multiple threads
  • notifyDataSetChanged (ArrayAdapter)
  • compareTo (BigDecimal)
  • requestLocationUpdates (LocationManager)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • BoxLayout (javax.swing)
  • JFileChooser (javax.swing)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now