PHP Classes

File: tests/test-vectors/k3.pid.json

Recommend this page to a friend!
  Classes of Scott Arciszewski   PASERK PHP   tests/test-vectors/k3.pid.json   Download  
File: tests/test-vectors/k3.pid.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PASERK PHP
Extend PASETO to wrap and serialize keys
Author: By
Last change:
Date: 1 year ago
Size: 1,055 bytes
 

Contents

Class file image Download
{ "name": "PASERK k3.pid Test Vectors", "tests": [ { "name": "k3.pid-1", "expect-fail": false, "key": "02000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "paserk": "k3.pid.mL4lGxNG7cz128frmpn83_76V9C7LmV2sHAMtJ8vIdwG" }, { "name": "k3.pid-2", "expect-fail": false, "key": "02707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9f", "paserk": "k3.pid.gnwg7IkzZyQF9wJgLLT0OpbdMT7BYmdQoG2u-xXpeeHz" }, { "name": "k3.pid-fail-1", "expect-fail": true, "key": "02707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f", "paserk": null, "comment": "Small public keys must fail to serialize" }, { "name": "k3.pid-fail-2", "expect-fail": true, "key": "707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e90", "paserk": null, "comment": "Implementations MUST NOT accept a PASERK of the wrong version." } ] }