ObjectThrowable
Exception
com.nttdocomo.security.CertificateException
証明書に関する例外を定義します。
| フィールドの概要 | |
static int |
UNDEFINED
ステータスが未定義であることを示します (=0)。 |
static int |
UNTRUSTED_CA
検証対象の署名に対応する Root 証明書を端末が保持していない、 または、その証明書が有効期限切れなどで失効していることを示します (=1)。 |
| コンストラクタの概要 | |
CertificateException()
詳細メッセージを付けないで、証明書例外オブジェクトを生成します。 |
|
CertificateException(int status)
ステータス値をつけて証明書例外オブジェクトを生成します。 |
|
CertificateException(int status,
String msg)
ステータス値と詳細メッセージをつけて証明書例外オブジェクトを生成します。 |
|
| メソッドの概要 | |
int |
getStatus()
ステータスを取得します。 |
| クラス Throwable から継承したメソッド |
getMessage, printStackTrace, toString |
| クラス Object から継承したメソッド |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
public static final int UNDEFINED
public static final int UNTRUSTED_CA
| コンストラクタの詳細 |
public CertificateException()
UNDEFINED に設定されます。
public CertificateException(int status)
status - 設定するステータスの値を指定します。
public CertificateException(int status,
String msg)
status - 設定するステータスの値を指定します。msg - 詳細メッセージを指定します。| メソッドの詳細 |
public int getStatus()