KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > maverick > ssl > SSLTransport


1 package com.maverick.ssl;
2
3 import java.io.IOException JavaDoc;
4 import java.io.InputStream JavaDoc;
5 import java.io.OutputStream JavaDoc;
6
7 import com.maverick.crypto.asn1.x509.X509Certificate;
8
9 public interface SSLTransport {
10
11     public abstract void initialize(InputStream JavaDoc in, OutputStream JavaDoc out)
12             throws IOException JavaDoc, SSLException;
13
14     public abstract void close() throws SSLException;
15
16     public abstract InputStream JavaDoc getInputStream() throws IOException JavaDoc;
17
18     public abstract OutputStream JavaDoc getOutputStream() throws IOException JavaDoc;
19
20 }
Popular Tags