- Verify API
- v2
- v1
署名検証結果の取得
廃止予定
モック環境
モック環境
GET
/verifications/{id}
verifications
保存される情報#
ただし、証明書に記載された情報(
certificate_content
)は当該APIを実行したときのみに返されます。このAPIを使用して後から結果を取得した際には返されません。利用者IDの紐付け#
別の署名検証時や失効確認時に利用者特定が要求され、証明書に紐付く利用者が特定された場合には、当該証明書にも新しく割り当てられた利用者IDが紐付けられます。
リクエストとレスポンスの詳細#
Requestパラメータ
Pathパラメータ
id
string
必須
サンプルコード
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://verify.mock.p8n.app/verifications/'
Response
🟢200OK
application/json
Body
verification
object (Verification)
必須
id
string <uuid>
必須
result
enum<string>
必須
列挙型:
RESULT_UNSPECIFIEDRESULT_OKRESULT_SIGNATURE_MISMATCHRESULT_CERTIFICATE_REVOKEDRESULT_CERTIFICATE_EXPIRED
デフォルト値:
RESULT_UNSPECIFIED
hash_algorithm
enum<string>
必須
列挙型:
sha256sha384sha512
digest
string <byte>
必須
signature
string <byte>
必須
created_at
string <date-time>
必須
certificate
object (Certificate)
可選
id
string <uuid>
必須
type
enum<string>
必須
列挙型:
jpki_card_digital_signaturejpki_card_user_authentication
latest
boolean
必須
証明書に紐付く利用者が特定されていない場合、旧世代の証明書として扱います。
created_at
string <date-time>
必須
certificate_status
object (CertificateStatus)
可選
id
string <uuid>
必須
status
enum<string>
必須
列挙型:
goodrevoked
check_method
enum<string>
必須
列挙型:
crlocsp
check_purpose
enum<string>
必須
列挙型:
signature_verificationliveness_check
source_updated_at
string <date-time>
可選
thisUpdate
に相当します。CRLにシリアル番号が含まれない場合は設定されません。
revoked_at
string <date-time>
可選
revocation_reason
enum<string>
可選
証明書が有効である場合には設定されません。
列挙型:
unspecifiedkey_compromiseca_compromiseaffiliation_changedsupersededcessation_of_operationcertificate_holdremove_from_crlprivilege_withdrawnaa_compromise
created_at
string <date-time>
必須
user
object (User)
可選
id
string <uuid>
必須
created_at
string <date-time>
必須
例
{
"verification": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"result": "RESULT_UNSPECIFIED",
"hash_algorithm": "sha256",
"digest": "string",
"signature": "string",
"created_at": "2019-08-24T14:15:22Z"
},
"certificate": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "jpki_card_digital_signature",
"latest": true,
"created_at": "2019-08-24T14:15:22Z"
},
"certificate_status": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"status": "good",
"check_method": "crl",
"check_purpose": "signature_verification",
"source_updated_at": "2019-08-24T14:15:22Z",
"revoked_at": "2019-08-24T14:15:22Z",
"revocation_reason": "unspecified",
"created_at": "2019-08-24T14:15:22Z"
},
"user": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"created_at": "2019-08-24T14:15:22Z"
}
}
🟠400400
🟠401401
🟠404404
🔴500500
更新日時 2023-09-02 19:36:48