diff --git a/test-vectors/did_dht/resolve.json b/test-vectors/did_dht/resolve.json index 4a8c498..762a5c0 100644 --- a/test-vectors/did_dht/resolve.json +++ b/test-vectors/did_dht/resolve.json @@ -16,7 +16,15 @@ { "description": "notFound error returned when not published", "input": { - "didUri": "did:dht:uqaj3fcr9db6jg6o9pjs53iuftyj45r46aubogfaceqjbo6pp9sy" + "didUri": "did:dht:uqaj3fcr9db6jg6o9pjs53iuftyj45r46aubogfaceqjbo6pp9sy", + "mockResponse": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "body": { + "message": "Not Found" + } + } }, "output": { "didResolutionMetadata": { diff --git a/test-vectors/status_list_credentials/create.json b/test-vectors/status_list_credentials/create.json new file mode 100644 index 0000000..c123006 --- /dev/null +++ b/test-vectors/status_list_credentials/create.json @@ -0,0 +1,36 @@ +{ + "description":"status list credential creation", + "vectors":[ + { + "description":"credential with credential status", + "input":{ + "credential":{ + "type":"SimpleCred", + "issuer":"did:example:issuer", + "subject":"did:example:subject", + "credentialSubject":{ + "legit":true + }, + "credentialStatus":{ + "id":"cred-with-status-id", + "type":"StatusList2021Entry", + "statusPurpose":"revocation", + "statusListIndex":"94567", + "statusListCredential":"https://statuslistcred.com/123" + } + }, + "statusListCredential":{ + "statusListCredentialId":"https://statuslistcred.com/123", + "issuer":"issuerDid.uri", + "statusPurpose":"revocation", + "issuedCredentials":[ + "credWithCredStatus" + ] + } + }, + "output":{ + "encodedList":"H4sIAAAAAAAAA-3OMQ0AAAgDsOHfNBp2kZBWQRMAAAAAAAAAAAAAAL6Z6wAAAAAAtQVQdb5gAEAAAA" + } + } + ] + } \ No newline at end of file