This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


com.sun.mail.smtp
class DigestMD5

com.sun.mail.smtp.DigestMD5

public class DigestMD5
extends Object

DIGEST-MD5 authentication support.


Constructor Summary

          
 
Method Summary
 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.
 

Constructor Detail

DigestMD5

public DigestMD5(PrintStream debugout)
Parameters:
debugout
Method Detail

authClient

public byte[] authClient(String host,
                         String user,
                         String passwd,
                         String realm,
                         String serverChallenge)
                  throws IOException
Return client's authentication response to server's challenge.

Parameters:
host
user
passwd
realm
serverChallenge
Returns:
byte array with client's response
Throws:
IOException

authServer

public boolean authServer(String serverResponse)
                   throws IOException
Allow the client to authenticate the server based on its response.

Parameters:
serverResponse
Returns:
true if server is authenticated
Throws:
IOException


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention. The official Sun™ documentation can be found here at http://java.sun.com/products/javamail/javadocs/index.html.