public class DigestMD5 extends Object
| Constructor and Description |
|---|
DigestMD5(MailLogger logger) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
authClient(String host,
String user,
String passwd,
String realm,
String serverChallenge)
Return client's authentication response to server's challenge.
|
boolean |
authServer(String serverResponse)
Allow the client to authenticate the server based on its
response.
|
public DigestMD5(MailLogger logger)
public byte[] authClient(String host, String user, String passwd, String realm, String serverChallenge) throws IOException
IOExceptionpublic boolean authServer(String serverResponse) throws IOException
IOExceptionCopyright © 2005–2017 Oracle Corporation. All rights reserved.