Package org.bouncycastle.est
Interface Source<T>
-
- Type Parameters:
T
- Is the type of session that is returned. Eg For JSSE would be SSLSession.
public interface Source<T>
Used to Wrap a socket and to provide access to the underlying session.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
java.io.InputStream
getInputStream()
java.io.OutputStream
getOutputStream()
T
getSession()
-
-
-
Method Detail
-
getInputStream
java.io.InputStream getInputStream() throws java.io.IOException
- Throws:
java.io.IOException
-
getOutputStream
java.io.OutputStream getOutputStream() throws java.io.IOException
- Throws:
java.io.IOException
-
getSession
T getSession()
-
close
void close() throws java.io.IOException
- Throws:
java.io.IOException
-
-