Package org.conscrypt
Class OpenSSLBIOInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.conscrypt.OpenSSLBIOInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
public class OpenSSLBIOInputStream extends FilterInputStream
Provides an interface to OpenSSL's BIO system directly from a Java
InputStream. It allows an OpenSSL API to read directly from something more
flexible interface than a byte array.
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
Constructors Constructor Description OpenSSLBIOInputStream(InputStream is) -
Method Summary
Modifier and Type Method Description longgetBioContext()intgets(byte[] buffer)Similar to areadLinemethod, but matches what OpenSSL expects from aBIO_getsmethod.Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, reset, skipMethods inherited from class java.io.InputStream
read
-
Constructor Details
-
OpenSSLBIOInputStream
-
-
Method Details
-
getBioContext
public long getBioContext() -
gets
Similar to areadLinemethod, but matches what OpenSSL expects from aBIO_getsmethod.- Throws:
IOException
-