Package org.conscrypt

Class OpenSSLBIOSink

java.lang.Object
org.conscrypt.OpenSSLBIOSink

final class OpenSSLBIOSink extends Object
Wraps a BoringSSL BIO to act as a place to write out data.
  • Field Details

    • ctx

      private final long ctx
    • buffer

      private final ByteArrayOutputStream buffer
    • position

      private int position
  • Constructor Details

  • Method Details

    • create

      static OpenSSLBIOSink create()
    • available

      int available()
    • reset

      void reset()
    • skip

      long skip(long byteCount)
    • getContext

      long getContext()
    • toByteArray

      byte[] toByteArray()
    • position

      int position()
    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable