more cleanup
[cyrus-sasl.git] / java / CyrusSasl / SaslServer.java
1 package CyrusSasl;
2
3 import java.io.*;
4
5 public interface SaslServer
6 {
7     public byte[]
8         evaluateResponse(byte[] challenge)
9         throws SaslException;
10
11
12     public boolean isComplete();
13
14     public String getMechanismName();
15
16     public InputStream getInputStream(InputStream source) throws IOException;
17
18     public OutputStream getOutputStream(OutputStream dest) throws IOException;
19
20 }