Last active
April 1, 2021 18:50
-
-
Save nikosft/d593202f4d16aaa1f94c06fdd99729c5 to your computer and use it in GitHub Desktop.
A VC inside a JWT that uses Proof-of-Possession key semantics as defined in RFC7800
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"jti": "http://example.edu/credentials/3732", | |
"iss": "https://example.com/keys/foo.jwk", | |
"nbf": 1541493724, | |
"iat": 1541493724, | |
"exp": 1573029723, | |
"cnf":{ | |
"jwk":{ | |
"kty": "EC", | |
"use": "sig", | |
"crv": "P-256", | |
"x": "18wHLeIgW9wVN6VD1Txgpqy2LszYkMf6J8njVAibvhM", | |
"y": "-V4dS4UaLMgP_4fY4j8ir7cl1TXlFdAgcx55o7TkcSA" | |
} | |
}, | |
"vc": { | |
"@context": [ | |
"https://www.w3.org/2018/credentials/v1", | |
"https://www.w3.org/2018/credentials/examples/v1" | |
], | |
"type": ["VerifiableCredential", "UniversityDegreeCredential"], | |
"credentialSubject": { | |
"degree": { | |
"type": "BachelorDegree", | |
"name": "Bachelor of Science and Arts" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment