Package org.conscrypt

Class ConscryptFileDescriptorSocket.SSLOutputStream

java.lang.Object
java.io.OutputStream
org.conscrypt.ConscryptFileDescriptorSocket.SSLOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
Enclosing class:
ConscryptFileDescriptorSocket

private class ConscryptFileDescriptorSocket.SSLOutputStream extends OutputStream
This inner class provides output data stream functionality for the OpenSSL native implementation. It is used to write data according to the encryption parameters given in SSL context.
  • Field Details

    • writeLock

      private final Object writeLock
      OpenSSL only lets one thread write at a time, so this is used to make sure we serialize callers of SSL_write. Thread is already expected to have completed handshaking.
  • Constructor Details

    • SSLOutputStream

      SSLOutputStream()
  • Method Details