Package org.conscrypt

Class ConscryptFileDescriptorSocket.SSLInputStream

java.lang.Object
java.io.InputStream
org.conscrypt.ConscryptFileDescriptorSocket.SSLInputStream
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
ConscryptFileDescriptorSocket

private class ConscryptFileDescriptorSocket.SSLInputStream extends InputStream
This inner class provides input data stream functionality for the OpenSSL native implementation. It is used to read data received via SSL protocol.
  • Field Details

    • readLock

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

    • SSLInputStream

      SSLInputStream()
  • Method Details