Package org.conscrypt

Class SSLEngineAppData

java.lang.Object
org.conscrypt.SSLEngineAppData
All Implemented Interfaces:
Appendable

public class SSLEngineAppData
extends Object
implements Appendable
This class is used to retrieve the application data arrived for the SSLEngine.
  • Constructor Details

    • SSLEngineAppData

      protected SSLEngineAppData()
      Constructor
  • Method Details

    • append

      public void append​(byte[] src)
      Stores received data. The source data is not cloned, just the array reference is remembered into the buffer field.
      Specified by:
      append in interface Appendable
      Parameters:
      src - the source data to be appended.
    • placeTo

      protected int placeTo​(ByteBuffer[] dsts, int offset, int length)
      Places the data from the buffer into the array of destination ByteBuffer objects.