public class DigestMD5
extends java.lang.Object
| Constructor and Description |
|---|
DigestMD5(MailLogger logger) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
authClient(java.lang.String host,
java.lang.String user,
java.lang.String passwd,
java.lang.String realm,
java.lang.String serverChallenge)
Return client's authentication response to server's challenge.
|
boolean |
authServer(java.lang.String serverResponse)
Allow the client to authenticate the server based on its
response.
|
public DigestMD5(MailLogger logger)
public byte[] authClient(java.lang.String host,
java.lang.String user,
java.lang.String passwd,
java.lang.String realm,
java.lang.String serverChallenge)
throws java.io.IOException
host - the host nameuser - the user namepasswd - the user's passwordrealm - the security realmserverChallenge - the challenge from the serverjava.io.IOException - for I/O errorspublic boolean authServer(java.lang.String serverResponse)
throws java.io.IOException
serverResponse - the response that was received from the serverjava.io.IOException - for character conversion failuresCopyright © 2010 - 2023 Adobe. All Rights Reserved