diff --git a/test-vectors/credentials/create.json b/test-vectors/credentials/create.json index b2941b4..c0283a9 100644 --- a/test-vectors/credentials/create.json +++ b/test-vectors/credentials/create.json @@ -1,665 +1,72 @@ { - "description": "verifiable credential 1.1 signing", - "vectors": [ - { - "description": "bad no credential subject", - "input": { - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1", - "https://www.w3.org/2018/credentials/examples/v1" - ], - "id": "http://example.edu/credentials/58473", - "type": [ - "VerifiableCredential", - "AlumniCredential" - ], - "issuer": "https://example.edu/issuers/14", - "issuanceDate": "2010-01-01T19:23:24Z", - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "bad missing context", - "input": { - "credential": { - "@context": [ - ], - "id": "http://example.edu/credentials/58473", - "type": [ - "VerifiableCredential", - "AlumniCredential" - ], - "issuer": "https://example.edu/issuers/14", - "issuanceDate": "2010-01-01T19:23:24Z", - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "alumniOf": "Example University" - }, - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "bad first context item", - "input": { - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/examples/v1", - "https://www.w3.org/2018/credentials/v1" - ], - "id": "http://example.edu/credentials/58473", - "type": [ - "VerifiableCredential", - "AlumniCredential" - ], - "issuer": "https://example.edu/issuers/14", - "issuanceDate": "2010-01-01T19:23:24Z", - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "alumniOf": "Example University" - }, - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "bad multiple id values", - "input": { - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1", - "https://www.w3.org/2018/credentials/examples/v1" - ], - "id": [ - "http://example.edu/credentials/3731", - "http://example.edu/credentials/3732" - ], - "type": [ - "VerifiableCredential", - "UniversityDegreeCredential" - ], - "issuer": "https://example.edu/issuers/14", - "issuanceDate": "2010-01-01T19:23:24Z", - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "degree": { - "type": "BachelorDegree", - "name": "Bachelor of Science in Mechanical Engineering" - } - }, - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "bad id must be a uri", - "input": { - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1", - "https://www.w3.org/2018/credentials/examples/v1" - ], - "id": "example", - "type": [ - "VerifiableCredential", - "UniversityDegreeCredential" - ], - "issuer": "https://example.edu/issuers/14", - "issuanceDate": "2010-01-01T19:23:24Z", - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "degree": { - "type": "BachelorDegree", - "name": "Bachelor of Science in Mechanical Engineering" - } - }, - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "bad type must have at least one value", - "input": { - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1", - "https://www.w3.org/2018/credentials/examples/v1" - ], - "id": "http://example.edu/credentials/3732", - "type": [], - "issuer": "https://example.edu/issuers/14", - "issuanceDate": "2010-01-01T19:23:24Z", - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "degree": { - "type": "BachelorDegree", - "name": "Bachelor of Science in Mechanical Engineering" - } - }, - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "bad type must have VerifiableCredential as first value", - "input": { - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1", - "https://www.w3.org/2018/credentials/examples/v1" - ], - "id": "http://example.edu/credentials/3732", - "type": [ - "UniversityDegreeCredential" - ], - "issuer": "https://example.edu/issuers/14", - "issuanceDate": "2010-01-01T19:23:24Z", - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "degree": { - "type": "BachelorDegree", - "name": "Bachelor of Science in Mechanical Engineering" - } - }, - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "bad issuance date", - "input": { - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1", - "https://www.w3.org/2018/credentials/examples/v1" - ], - "id": "http://example.edu/credentials/3732", - "type": [ - "VerifiableCredential", - "UniversityDegreeCredential" - ], - "issuer": "https://example.edu/issuers/14", - "issuanceDate": "01/01/2010", - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "degree": { - "type": "BachelorDegree", - "name": "Bachelor of Science in Mechanical Engineering" - } - }, - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "bad multiple issuers", - "input": { - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1", - "https://www.w3.org/2018/credentials/examples/v1" - ], - "id": "http://example.edu/credentials/3732", - "type": [ - "VerifiableCredential", - "UniversityDegreeCredential" - ], - "issuer": [ - "https://example.edu/issuers/14", - "https://example.edu/issuers/20" - ], - "issuanceDate": "2010-01-01T19:23:24Z", - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "degree": { - "type": "BachelorDegree", - "name": "Bachelor of Science in Mechanical Engineering" - } - }, - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "bad issuer must be uri", - "input": { - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1", - "https://www.w3.org/2018/credentials/examples/v1" - ], - "id": "http://example.edu/credentials/3732", - "type": [ - "VerifiableCredential", - "UniversityDegreeCredential" - ], - "issuer": "example", - "issuanceDate": "2010-01-01T19:23:24Z", - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "degree": { - "type": "BachelorDegree", - "name": "Bachelor of Science in Mechanical Engineering" - } - }, - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "bad issuer as object without id", - "input": { - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1", - "https://www.w3.org/2018/credentials/examples/v1" - ], - "id": "http://example.edu/credentials/3732", - "type": [ - "VerifiableCredential", - "UniversityDegreeCredential" - ], - "issuer": {}, - "issuanceDate": "2010-01-01T19:23:24Z", - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "degree": { - "type": "BachelorDegree", - "name": "Bachelor of Science in Mechanical Engineering" - } - }, - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "bad issuer as numeric id", - "input": { - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1", - "https://www.w3.org/2018/credentials/examples/v1" - ], - "id": "http://example.edu/credentials/3732", - "type": [ - "VerifiableCredential", - "UniversityDegreeCredential" - ], - "issuer": 12345, - "issuanceDate": "2010-01-01T19:23:24Z", - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "degree": { - "type": "BachelorDegree", - "name": "Bachelor of Science in Mechanical Engineering" - } - }, - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "bad missing issuance date", - "input": { - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1", - "https://www.w3.org/2018/credentials/examples/v1" - ], - "id": "http://example.edu/credentials/3732", - "type": [ - "VerifiableCredential", - "UniversityDegreeCredential" - ], - "issuer": "https://example.edu/issuers/14", - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "degree": { - "type": "BachelorDegree", - "name": "Bachelor of Science in Mechanical Engineering" - } - }, - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "bad missing issuer", - "input": { - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1", - "https://www.w3.org/2018/credentials/examples/v1" - ], - "id": "http://example.edu/credentials/3732", - "type": [ - "VerifiableCredential", - "UniversityDegreeCredential" - ], - "issuanceDate": "2010-01-01T19:23:24Z", - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "degree": { - "type": "BachelorDegree", - "name": "Bachelor of Science in Mechanical Engineering" - } - }, - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "bad expiration date with multiple values", - "input": { - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1", - "https://www.w3.org/2018/credentials/examples/v1" - ], - "id": "http://example.edu/credentials/3732", - "type": [ - "VerifiableCredential", - "UniversityDegreeCredential" - ], - "issuer": "https://example.edu/issuers/14", - "issuanceDate": "2010-01-01T19:23:24Z", - "expirationDate": [ - "2020-01-01T19:23:24Z", - "2021-01-01T19:23:24Z" - ], - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "degree": { - "type": "BachelorDegree", - "name": "Bachelor of Science in Mechanical Engineering" - } - }, - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "bad expiration date value", - "input": { - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1", - "https://www.w3.org/2018/credentials/examples/v1" - ], - "id": "http://example.edu/credentials/3732", - "type": [ - "VerifiableCredential", - "UniversityDegreeCredential" - ], - "issuer": "https://example.edu/issuers/14", - "issuanceDate": "2010-01-01T19:23:24Z", - "expirationDate": "01/01/2020", - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "degree": { - "type": "BachelorDegree", - "name": "Bachelor of Science in Mechanical Engineering" - } - }, - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "bad credential status with missing id", - "input": { - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1", - "https://www.w3.org/2018/credentials/examples/v1" - ], - "id": "http://example.edu/credentials/3732", - "type": [ - "VerifiableCredential", - "UniversityDegreeCredential" - ], - "issuer": "https://example.edu/issuers/14", - "issuanceDate": "2010-01-01T19:23:24Z", - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "degree": { - "type": "BachelorDegree", - "name": "Bachelor of Science in Mechanical Engineering" - } - }, - "credentialStatus": { - "type": "CredentialStatusList2017" - }, - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "bad credential status with missing type", - "input": { - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1", - "https://www.w3.org/2018/credentials/examples/v1" - ], - "id": "http://example.edu/credentials/3732", - "type": [ - "VerifiableCredential", - "UniversityDegreeCredential" - ], - "issuer": "https://example.edu/issuers/14", - "issuanceDate": "2010-01-01T19:23:24Z", - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "degree": { - "type": "BachelorDegree", - "name": "Bachelor of Science in Mechanical Engineering" - } - }, - "credentialStatus": { - "id": "https://example.edu/status/24" - }, - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "bad credential status as a string", - "input": { - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1", - "https://www.w3.org/2018/credentials/examples/v1" - ], - "id": "http://example.edu/credentials/3732", - "type": [ - "VerifiableCredential", - "UniversityDegreeCredential" - ], - "issuer": "https://example.edu/issuers/14", - "issuanceDate": "2010-01-01T19:23:24Z", - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "degree": { - "type": "BachelorDegree", - "name": "Bachelor of Science in Mechanical Engineering" - } - }, - "credentialStatus": "false", - "proof": { - "type": "RsaSignature2018" - } - } - }, - "errors": true - }, - { - "description": "creates a verifiable credential as a jwt with a did:key", - "input": { - "signerPortableDid": { - "uri": "did:key:z6MkfUhjsZUJkzioGDULpcqxXFSNs6McMJo31txYnEaqn9dY", - "privateKeys": [ + "description":"verifiable credential 1.1 creation", + "vectors":[ + { + "description":"valid simple credential", + "input":{ + "credential":{ + "type":"SimpleCred", + "issuer":"did:example:issuer", + "subject":"did:example:subject", + "credentialSubject":{ + "legit":true + } + } + }, + "output":{ + "@context":[ + "https://www.w3.org/2018/credentials/v1" + ], + "type":[ + "VerifiableCredential", + "SimpleCred" + ], + "id":"urn:uuid:ea74b564-fbe0-4b80-bd60-cd465d433e12", + "issuer":"did:example:issuer", + "credentialSubject":{ + "id":"did:example:subject", + "legit":true + } + } + }, + { + "description":"full featured credential ", + "input":{ + "credential":{ + "type":"SimpleCred", + "issuer":"did:example:issuer", + "subject":"did:example:subject", + "credentialSubject":{ + "legit":true + }, + "issuanceDate":"2024-04-02T16:16:54Z", + "expirationDate":"2050-04-02T16:16:54Z", + "evidence":[ { - "kty": "OKP", - "crv": "Ed25519", - "use": "sig", - "alg": "EdDSA", - "kid": "c4IOrQdnehPwQZ6SyNLp9J942VCXrxgWw4zUxAHQXQE", - "d": "txnECNDxFc0gnD303qLJ6VfWJS8DkgpbxVbOkzzp_M4", - "x": "DzpSEyU0w1Myn3lA_piHAI6OrFAnZuEsTwMUPCTwMc8" - } - ], - "document": { - "id": "did:key:z6MkfUhjsZUJkzioGDULpcqxXFSNs6McMJo31txYnEaqn9dY", - "verificationMethod": [ - { - "id": "did:key:z6MkfUhjsZUJkzioGDULpcqxXFSNs6McMJo31txYnEaqn9dY#z6MkfUhjsZUJkzioGDULpcqxXFSNs6McMJo31txYnEaqn9dY", - "type": "JsonWebKey2020", - "controller": "did:key:z6MkfUhjsZUJkzioGDULpcqxXFSNs6McMJo31txYnEaqn9dY", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "use": "sig", - "alg": "EdDSA", - "kid": "c4IOrQdnehPwQZ6SyNLp9J942VCXrxgWw4zUxAHQXQE", - "x": "DzpSEyU0w1Myn3lA_piHAI6OrFAnZuEsTwMUPCTwMc8" - } + "myevidence":{ + "random":"evidence" } - ] - }, - "metadata": {} - }, - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1" - ], - "type": [ - "VerifiableCredential", - "StreetCred" - ], - "id": "urn:uuid:6c8bbcf4-87af-449a-9bfb-30bf29976227", - "issuer": "did:key:z6MkfUhjsZUJkzioGDULpcqxXFSNs6McMJo31txYnEaqn9dY", - "issuanceDate": "2023-11-30T00:03:13Z", - "credentialSubject": { - "id": "did:key:zQ3shkpavjKRewoBk6arPJnhA87ZzhLDEWgVvZKNHK6QqVJDB", - "localRespect": "high", - "legit": true - } - } - }, - "output": "eyJ0eXAiOiJKV1QiLCJhbGciOiJFZDI1NTE5Iiwia2lkIjoiZGlkOmtleTp6Nk1rZlVoanNaVUpremlvR0RVTHBjcXhYRlNOczZNY01KbzMxdHhZbkVhcW45ZFkjejZNa2ZVaGpzWlVKa3ppb0dEVUxwY3F4WEZTTnM2TWNNSm8zMXR4WW5FYXFuOWRZIn0.eyJpc3MiOiJkaWQ6a2V5Ono2TWtmVWhqc1pVSmt6aW9HRFVMcGNxeFhGU05zNk1jTUpvMzF0eFluRWFxbjlkWSIsInN1YiI6ImRpZDprZXk6elEzc2hrcGF2aktSZXdvQms2YXJQSm5oQTg3WnpoTERFV2dWdlpLTkhLNlFxVkpEQiIsImlhdCI6MTcwMTMwMjU5MzAwMCwidmMiOnsiaXNzdWFuY2VEYXRlIjoiMjAyMy0xMS0zMFQwMDowMzoxM1oiLCJjcmVkZW50aWFsU3ViamVjdCI6eyJpZCI6ImRpZDprZXk6elEzc2hrcGF2aktSZXdvQms2YXJQSm5oQTg3WnpoTERFV2dWdlpLTkhLNlFxVkpEQiIsImxvY2FsUmVzcGVjdCI6ImhpZ2giLCJsZWdpdCI6dHJ1ZX0sImlkIjoidXJuOnV1aWQ6NmM4YmJjZjQtODdhZi00NDlhLTliZmItMzBiZjI5OTc2MjI3IiwidHlwZSI6WyJWZXJpZmlhYmxlQ3JlZGVudGlhbCIsIlN0cmVldENyZWQiXSwiQGNvbnRleHQiOlsiaHR0cHM6Ly93d3cudzMub3JnLzIwMTgvY3JlZGVudGlhbHMvdjEiXSwiaXNzdWVyIjoiZGlkOmtleTp6Nk1rZlVoanNaVUpremlvR0RVTHBjcXhYRlNOczZNY01KbzMxdHhZbkVhcW45ZFkifX0.rbXxa-vxIWG_uq7kACR-7OjJEFbyh9hDaok-QuJhyp_2KPFUXLqNe0LoIuJZA9eUcIVRUDdk_N7-zVvTdXdTAg" - }, - { - "description": "creates a verifiable credential as a jwt with a did:jwk", - "input": { - "signerPortableDid": { - "uri": "did:jwk:eyJrdHkiOiJPS1AiLCJjcnYiOiJFZDI1NTE5IiwidXNlIjoic2lnIiwiYWxnIjoiRWREU0EiLCJraWQiOiJKUVYzQ0VaQ3BWWnBCWmQ0N0EzLWllTUM1T1BvOHJ5QlQ5cHdLX3NDLUtBIiwieCI6IlUzWXNDNjFJZnBxRjlqUHNRX01UMDBFTTRBQXVHYms0SDN1VVZRczBFelEifQ", - "privateKeys": [ - { - "kty": "OKP", - "crv": "Ed25519", - "use": "sig", - "alg": "EdDSA", - "kid": "JQV3CEZCpVZpBZd47A3-ieMC5OPo8ryBT9pwK_sC-KA", - "d": "8L5Y7M4ZNc9Jy5IooJNFaRGatXHZzRRXxGsVidrAsfE", - "x": "U3YsC61IfpqF9jPsQ_MT00EM4AAuGbk4H3uUVQs0EzQ" } - ], - "document": { - "id": "did:jwk:eyJrdHkiOiJPS1AiLCJjcnYiOiJFZDI1NTE5IiwidXNlIjoic2lnIiwiYWxnIjoiRWREU0EiLCJraWQiOiJKUVYzQ0VaQ3BWWnBCWmQ0N0EzLWllTUM1T1BvOHJ5QlQ5cHdLX3NDLUtBIiwieCI6IlUzWXNDNjFJZnBxRjlqUHNRX01UMDBFTTRBQXVHYms0SDN1VVZRczBFelEifQ", - "verificationMethod": [ - { - "id": "did:jwk:eyJrdHkiOiJPS1AiLCJjcnYiOiJFZDI1NTE5IiwidXNlIjoic2lnIiwiYWxnIjoiRWREU0EiLCJraWQiOiJKUVYzQ0VaQ3BWWnBCWmQ0N0EzLWllTUM1T1BvOHJ5QlQ5cHdLX3NDLUtBIiwieCI6IlUzWXNDNjFJZnBxRjlqUHNRX01UMDBFTTRBQXVHYms0SDN1VVZRczBFelEifQ#0", - "type": "JsonWebKey", - "controller": "did:jwk:eyJrdHkiOiJPS1AiLCJjcnYiOiJFZDI1NTE5IiwidXNlIjoic2lnIiwiYWxnIjoiRWREU0EiLCJraWQiOiJKUVYzQ0VaQ3BWWnBCWmQ0N0EzLWllTUM1T1BvOHJ5QlQ5cHdLX3NDLUtBIiwieCI6IlUzWXNDNjFJZnBxRjlqUHNRX01UMDBFTTRBQXVHYms0SDN1VVZRczBFelEifQ", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "use": "sig", - "alg": "EdDSA", - "kid": "JQV3CEZCpVZpBZd47A3-ieMC5OPo8ryBT9pwK_sC-KA", - "x": "U3YsC61IfpqF9jPsQ_MT00EM4AAuGbk4H3uUVQs0EzQ" - } - } - ] - }, - "metadata": {} - }, - "credential": { - "@context": [ - "https://www.w3.org/2018/credentials/v1" - ], - "type": [ - "VerifiableCredential", - "StreetCred" - ], - "id": "urn:uuid:6c8bbcf4-87af-449a-9bfb-30bf29976227", - "issuer": "did:jwk:eyJrdHkiOiJPS1AiLCJjcnYiOiJFZDI1NTE5IiwidXNlIjoic2lnIiwiYWxnIjoiRWREU0EiLCJraWQiOiJKUVYzQ0VaQ3BWWnBCWmQ0N0EzLWllTUM1T1BvOHJ5QlQ5cHdLX3NDLUtBIiwieCI6IlUzWXNDNjFJZnBxRjlqUHNRX01UMDBFTTRBQXVHYms0SDN1VVZRczBFelEifQ", - "issuanceDate": "2023-11-30T00:03:13Z", - "credentialSubject": { - "id": "did:key:zQ3shkpavjKRewoBk6arPJnhA87ZzhLDEWgVvZKNHK6QqVJDB", - "localRespect": "high", - "legit": true - } - } - }, - "output": "eyJ0eXAiOiJKV1QiLCJhbGciOiJFZDI1NTE5Iiwia2lkIjoiZGlkOmp3azpleUpyZEhraU9pSlBTMUFpTENKamNuWWlPaUpGWkRJMU5URTVJaXdpZFhObElqb2ljMmxuSWl3aVlXeG5Jam9pUldSRVUwRWlMQ0pyYVdRaU9pSktVVll6UTBWYVEzQldXbkJDV21RME4wRXpMV2xsVFVNMVQxQnZPSEo1UWxRNWNIZExYM05ETFV0Qklpd2llQ0k2SWxVeldYTkROakZKWm5CeFJqbHFVSE5SWDAxVU1EQkZUVFJCUVhWSFltczBTRE4xVlZaUmN6QkZlbEVpZlEjMCJ9.eyJpc3MiOiJkaWQ6andrOmV5SnJkSGtpT2lKUFMxQWlMQ0pqY25ZaU9pSkZaREkxTlRFNUlpd2lkWE5sSWpvaWMybG5JaXdpWVd4bklqb2lSV1JFVTBFaUxDSnJhV1FpT2lKS1VWWXpRMFZhUTNCV1duQkNXbVEwTjBFekxXbGxUVU0xVDFCdk9ISjVRbFE1Y0hkTFgzTkRMVXRCSWl3aWVDSTZJbFV6V1hORE5qRkpabkJ4UmpscVVITlJYMDFVTURCRlRUUkJRWFZIWW1zMFNETjFWVlpSY3pCRmVsRWlmUSIsInN1YiI6ImRpZDprZXk6elEzc2hrcGF2aktSZXdvQms2YXJQSm5oQTg3WnpoTERFV2dWdlpLTkhLNlFxVkpEQiIsImlhdCI6MTcwMTMwMjU5MzAwMCwidmMiOnsiaXNzdWFuY2VEYXRlIjoiMjAyMy0xMS0zMFQwMDowMzoxM1oiLCJjcmVkZW50aWFsU3ViamVjdCI6eyJpZCI6ImRpZDprZXk6elEzc2hrcGF2aktSZXdvQms2YXJQSm5oQTg3WnpoTERFV2dWdlpLTkhLNlFxVkpEQiIsImxvY2FsUmVzcGVjdCI6ImhpZ2giLCJsZWdpdCI6dHJ1ZX0sImlkIjoidXJuOnV1aWQ6NmM4YmJjZjQtODdhZi00NDlhLTliZmItMzBiZjI5OTc2MjI3IiwidHlwZSI6WyJWZXJpZmlhYmxlQ3JlZGVudGlhbCIsIlN0cmVldENyZWQiXSwiQGNvbnRleHQiOlsiaHR0cHM6Ly93d3cudzMub3JnLzIwMTgvY3JlZGVudGlhbHMvdjEiXSwiaXNzdWVyIjoiZGlkOmp3azpleUpyZEhraU9pSlBTMUFpTENKamNuWWlPaUpGWkRJMU5URTVJaXdpZFhObElqb2ljMmxuSWl3aVlXeG5Jam9pUldSRVUwRWlMQ0pyYVdRaU9pSktVVll6UTBWYVEzQldXbkJDV21RME4wRXpMV2xsVFVNMVQxQnZPSEo1UWxRNWNIZExYM05ETFV0Qklpd2llQ0k2SWxVeldYTkROakZKWm5CeFJqbHFVSE5SWDAxVU1EQkZUVFJCUVhWSFltczBTRE4xVlZaUmN6QkZlbEVpZlEifX0.A_zCrL8pKwMCnJWMKkeZnA5VT6-WC_5VTE7xy9ZF2IH-ZY1ypZvUkw2_oMzZkOCS_bMmNM2_ilwSZak1S2EfCA" + ] + } + }, + "output":{ + "@context":[ + "https://www.w3.org/2018/credentials/v1" + ], + "type":[ + "VerifiableCredential", + "SimpleCred" + ], + "id":"urn:uuid:ea74b564-fbe0-4b80-bd60-cd465d433e12", + "issuer":"did:example:issuer", + "issuanceDate":"2024-04-02T16:16:54Z", + "expirationDate":"2050-04-02T16:16:54Z", + "credentialSubject":{ + "id":"did:example:subject", + "legit":true + } + } } ] } \ No newline at end of file