summaryrefslogtreecommitdiffstats
path: root/src/tests/data/test_ffi_json/generate-pair.json
blob: 0fbd14e8c9cde0371eb4a62355b98302553f555b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
  "primary": {
      "type": "ECDSA",
      "curve": "NIST P-256",
      "userid": "test0",
      "usage": "sign",
      "expiration": 0,
      "hash": "SHA256",
      "preferences" : {
        "hashes": ["SHA512", "SHA256"],
        "ciphers": ["AES256", "AES128"],
        "compression": ["Zlib"],
        "key server": "hkp://pgp.mit.edu"
      },
      "protection" : {
          "cipher": "AES256",
          "hash": "SHA256",
          "iterations": 65536
      }
   },
   "sub": {
      "type": "RSA",
      "length": 1024
   }
}