gpgme/tests/json/t-sig-notations.out.json
Andre Heinecke d3dae4a445
tests,json: Add sig-notations test
* tests/json/t-sig-notations.in.json,
tests/json/t-sig-notations.out.json: New
* tests/json/Makefile.am (EXTRA_DIST): Add files.
* tests/json/t-json.c: Register it.
2018-11-14 17:56:23 +01:00

57 lines
1.9 KiB
JSON

{
"info": {
"is_mime": false,
"signatures": [{
"summary": {
"sigsum": [],
"valid": false,
"green": false,
"red": false,
"revoked": false,
"key-expired": false,
"sig-expired": false,
"key-missing": false,
"crl-missing": false,
"crl-too-old": false,
"bad-policy": false,
"sys-error": false
},
"wrong_key_usage": false,
"chain_model": false,
"is_de_vs": false,
"status_string": "Success",
"fingerprint": "A0FF4590BB6122EDEF6E3C542D727CC768697734",
"validity_string": "unknown",
"pubkey_algo_name": "DSA",
"hash_algo_name": "SHA1",
"status_code": 0,
"timestamp": 1542213871,
"exp_timestamp": 0,
"pka_trust": 0,
"validity": 0,
"validity_reason": 0,
"notations": [{
"human_readable": false,
"critical": false,
"value": "https://www.gnu.org/policy/",
"flags": 0
}, {
"human_readable": true,
"critical": false,
"name": "laughing@me",
"value": "Just Squeeze Me",
"flags": 1
}, {
"human_readable": true,
"critical": true,
"name": "preferred-email-encoding@pgp.com",
"value": "pgpmime",
"flags": 3
}]
}]
},
"type": "plaintext",
"base64": false,
"data": "Hallo Leute\n"
}