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