Class ChannelBindingCallback

    • Constructor Detail

      • ChannelBindingCallback

        public ChannelBindingCallback()
        Construct a new instance.
    • Method Detail

      • needsInformation

        public boolean needsInformation()
        Description copied from interface: ExtendedCallback
        Determine if this callback is requesting information.
        Specified by:
        needsInformation in interface ExtendedCallback
        Returns:
        true if the callback is requesting information, false if it is only providing information
      • getBindingType

        public String getBindingType()
        Get the selected channel binding type.
        Returns:
        the selected channel binding type
      • getBindingData

        public byte[] getBindingData()
        Get the opaque channel binding data. This data may come from the connection negotiation or from another security layer.
        Returns:
        the opaque channel binding data
      • setBindingType

        public void setBindingType​(String bindingType)
        Set the selected channel binding type. The type should be one registered with IANA.
        Parameters:
        bindingType - the selected channel binding type
      • setBindingData

        public void setBindingData​(byte[] bindingData)
        Set the channel binding data. This data may come from the connection negotiation or from another security layer.
        Parameters:
        bindingData - the channel binding data