com.sun.mail.smtp
クラス DigestMD5

java.lang.Object
  上位を拡張 com.sun.mail.smtp.DigestMD5

public final class DigestMD5
extends Object

DIGEST-MD5 認証サポート


コンストラクタの概要
DigestMD5(PrintStream debugout)
          コンストラクタです。
 
メソッドの概要
 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.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DigestMD5

public DigestMD5(PrintStream debugout)
コンストラクタです。

メソッドの詳細

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.

戻り値:
byte array with client's response
例外:
IOException

authServer

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

戻り値:
true if server is authenticated
例外:
IOException