public class PKIStatusInfo
extends java.lang.Object
PKIStatusInfo は、RFC 3161 によって規定され、以下のように ASN.1 で記述されます。
PKIStatusInfo ::= SEQUENCE { status PKIStatus, statusString PKIFreeText OPTIONAL, failInfo PKIFailureInfo OPTIONAL } PKIStatus ::= INTEGER { granted (0), -- when the PKIStatus contains the value zero a TimeStampToken, as requested, is present. grantedWithMods (1), -- when the PKIStatus contains the value one a TimeStampToken, with modifications, is present. rejection (2), waiting (3), revocationWarning (4), -- this message contains a warning that a revocation is -- imminent revocationNotification (5) -- notification that a revocation has occurred } PKIFailureInfo ::= BIT STRING { badAlg (0), -- unrecognized or unsupported Algorithm Identifier badRequest (2), -- transaction not permitted or supported badDataFormat (5), -- the data submitted has the wrong format timeNotAvailable (14), -- the TSA's time source is not available unacceptedPolicy (15), -- the requested TSA policy is not supported by the TSA. unacceptedExtension (16), -- the requested extension is not supported by the TSA. addInfoNotAvailable (17), -- the additional information requested could not be understood -- or is not available systemFailure (25) -- the request cannot be handled due to system failure }
修飾子とタイプ | フィールドと説明 |
---|---|
static java.lang.Integer |
FI_ADDINFONOTAVAILABLE
要求された追加情報が理解不能であったか、利用不能であった事を示す PKI 失敗情報 (17) です。
|
static java.lang.Integer |
FI_BADALG
解釈されない、あるいは、サポートされていないアルゴリズム識別子である事を示す PKI 失敗情報 (0) です。
|
static java.lang.Integer |
FI_BADDATAFORMAT
送信されたデータのフォーマットに誤りがある事を示す PKI 失敗情報 (5) です。
|
static java.lang.Integer |
FI_BADREQUEST
トランザクションが許可されていないか、サポートされていない事を示す PKI 失敗情報 (2) です。
|
static java.lang.Integer |
FI_SYSTEMFAILURE
システム障害によりリクエストが処理できなかった事を示す PKI 失敗情報 (25) です。
|
static java.lang.Integer |
FI_TIMENOTAVAILABLE
TSAの時刻源が利用できない事を示す PKI 失敗情報 (14) です。
|
static java.lang.Integer |
FI_UNACCEPTEDEXTENSION
要求された拡張がTSAによりサポートされていない事を示す PKI 失敗情報 (16) です。
|
static java.lang.Integer |
FI_UNACCEPTEDPOLICY
要求された TSA ポリシーが TSA によってサポートされていない事を示す PKI 失敗情報 (15) です。
|
static int |
ST_GRANTED
要求された TimeStampToken が存在する事を示す PKI ステータス (0) です。
|
static int |
ST_GRANTEDWITHMODS
変更された TimeStampToken が存在する事を示す PKI ステータス (1) です。
|
static int |
ST_REJECTION
PKI ステータス (2) です。
|
static int |
ST_REVOCATIONNOTIFICATION
失効が起きたという事を示す PKI ステータス (5) です。
|
static int |
ST_REVOCATIONWARNING
失効が差し迫っているという警告を含む事を示す PKI ステータス (4) です。
|
static int |
ST_WAITING
PKI ステータス (3) です。
|
修飾子とタイプ | メソッドと説明 |
---|---|
java.lang.Integer |
getFailInfo()
PKI ステータス情報から PKI 失敗情報を返します。
|
int |
getStatus()
PKI ステータス情報から PKI ステータスを返します。
|
java.lang.String |
getStatusString()
PKI ステータス情報から PKI ステータスの文字列表現を返します。
|
public static final int ST_GRANTED
getStatus()
,
定数フィールド値public static final int ST_GRANTEDWITHMODS
getStatus()
,
定数フィールド値public static final int ST_REJECTION
getStatus()
,
定数フィールド値public static final int ST_WAITING
getStatus()
,
定数フィールド値public static final int ST_REVOCATIONWARNING
getStatus()
,
定数フィールド値public static final int ST_REVOCATIONNOTIFICATION
getStatus()
,
定数フィールド値public static final java.lang.Integer FI_BADALG
getFailInfo()
public static final java.lang.Integer FI_BADREQUEST
getFailInfo()
public static final java.lang.Integer FI_BADDATAFORMAT
getFailInfo()
public static final java.lang.Integer FI_TIMENOTAVAILABLE
getFailInfo()
public static final java.lang.Integer FI_UNACCEPTEDPOLICY
getFailInfo()
public static final java.lang.Integer FI_UNACCEPTEDEXTENSION
getFailInfo()
public static final java.lang.Integer FI_ADDINFONOTAVAILABLE
getFailInfo()
public static final java.lang.Integer FI_SYSTEMFAILURE
getFailInfo()
public int getStatus()
public java.lang.String getStatusString()
public java.lang.Integer getFailInfo()
Copyright(C) 2005-2023 AMANO Corporation. All Rights Reserved.