gnu.inet.util

Class SaslCramMD5

Implemented Interfaces:
SaslClient

public class SaslCramMD5
extends java.lang.Object
implements SaslClient

SASL mechanism for CRAM-MD5.

Author:
Chris Burdess

Constructor Summary

SaslCramMD5(String username, String password)

Method Summary

void
dispose()
byte[]
evaluateChallenge(byte[] challenge)
String
getMechanismName()
Object
getNegotiatedProperty(String name)
boolean
hasInitialResponse()
boolean
isComplete()
byte[]
unwrap(byte[] incoming, int off, int len)
byte[]
wrap(byte[] outgoing, int off, int len)

Constructor Details

SaslCramMD5

public SaslCramMD5(String username,
                   String password)

Method Details

dispose

public void dispose()


evaluateChallenge

public byte[] evaluateChallenge(byte[] challenge)
            throws SaslException


getMechanismName

public String getMechanismName()


getNegotiatedProperty

public Object getNegotiatedProperty(String name)


hasInitialResponse

public boolean hasInitialResponse()


isComplete

public boolean isComplete()


unwrap

public byte[] unwrap(byte[] incoming,
                     int off,
                     int len)
            throws SaslException


wrap

public byte[] wrap(byte[] outgoing,
                   int off,
                   int len)
            throws SaslException


© Copyright 2003 The Free Software Foundation, all rights reserved