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()
InputStream
getInputStream()
OutputStream
getOutputStream()
T
getSession()
-
-
-
Method Detail
-
getInputStream
InputStream getInputStream() throws IOException
- Throws:
IOException
-
getOutputStream
OutputStream getOutputStream() throws IOException
- Throws:
IOException
-
getSession
T getSession()
-
close
void close() throws IOException
- Throws:
IOException
-
-