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
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write
-
Field Details
-
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
-
write
Method acts as described in spec for superclass.- Specified by:
write
in classOutputStream
- Throws:
IOException
- See Also:
-
write
Method acts as described in spec for superclass.- Overrides:
write
in classOutputStream
- Throws:
IOException
- See Also:
-
awaitPendingOps
void awaitPendingOps()
-