| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private static char[] | |
| private MailLogger | |
| private MessageDigest | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public boolean | Returns: true if server is authenticatedthe response that was received from the server serverResponse)Allow the client to authenticate the server based on its response. |
| private static String | |
| private Map |
| clientResponse | back to summary |
|---|---|
| private String clientResponse | |
| digits | back to summary |
|---|---|
| private static char[] digits | |
| logger | back to summary |
|---|---|
| private MailLogger logger | |
| md5 | back to summary |
|---|---|
| private MessageDigest md5 | |
| uri | back to summary |
|---|---|
| private String uri | |
| DigestMD5 | back to summary |
|---|---|
| public DigestMD5(MailLogger logger) | |
| authClient | back to summary |
|---|---|
| public byte[] authClient(String host, String user, String passwd, String realm, String serverChallenge) throws IOException Return client's authentication response to server's challenge. | |
| authServer | back to summary |
|---|---|
| public boolean authServer(String serverResponse) throws IOException Allow the client to authenticate the server based on its response.
| |
| toHex | back to summary |
|---|---|
| private static String toHex(byte[] bytes) Convert a byte array to a string of hex digits representing the bytes. | |
| tokenize | back to summary |
|---|---|
| private Map Tokenize a response from the server.
| |