1package CyrusSasl; 2 3import java.io.*; 4 5public 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} 24