Skip to content

Instantly share code, notes, and snippets.

@msporny
Last active January 6, 2022 14:57
Show Gist options
  • Save msporny/ab415042ffd9c06ea3ad1ebd1df1da0a to your computer and use it in GitHub Desktop.
Save msporny/ab415042ffd9c06ea3ad1ebd1df1da0a to your computer and use it in GitHub Desktop.
Verifiable Driver's License with Multiple Data Integrity proofs
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://w3id.org/vdl/v1",
"https://w3id.org/security/suites/ed25519-2020/v1",
"https://w3id.org/security/bbs/v1"
],
"issuer": "did:web:multisig.example",
"issuanceDate": "2022-01-02T00:16:42.195Z",
"type": [
"VerifiableCredential",
"Iso18013DriversLicenseCredential"
],
"credentialSubject": {
"id": "did:key:z6MkhD5yxWGbAmMgFv3Ucb9PW9wAnq6H4SMzpFz2vX2y6fip",
"license": {
"type": "Iso18013DriversLicense",
"document_number": "542426814",
"family_name": "TURNER",
"given_name": "SUSAN",
"birth_date": "1998-08-28",
"issue_date": "2018-01-15T10:00:00Z",
"expiry_date": "2022-08-27T12:00:00Z",
"issuing_country": "US",
"issuing_authority": "AK",
"un_distinguishing_sign": "USA"
}
},
"proof": [{
"type": "Ed25519Signature2020",
"created": "2022-01-02T00:16:42Z",
"verificationMethod": "did:web:multisig.example#z6MkhhC72BYUwC5HitoAzsjUyFug9eiWYY44eZVG2J8nPnYc",
"proofPurpose": "assertionMethod",
"proofValue": "z3XS5u5LoDmR8r2qLdBNrqKRuUHBHfFmuMzXcrLLduaS5g7kmUdbGyBA3SpzxL1965aSgveRWrkRniRJhjNnzLp3E"
}, {
"type": "BbsBlsSignature2020",
"created": "2022-01-02T00:16:43Z",
"proofPurpose": "assertionMethod",
"proofValue": "kxnS4KKjRMvHdAMSBKP/9Y89cH83idrdH2ka1BztjiEEeOLhMpWnhG5DnlAOpzbKDV/TYOdT8f6+OXn0amqpKfJdJ1vrs0BXprByIjWNS8YBfmpfLTWNffXTtPkHvW/aV5VbQG7fmmznR8rCVCobng==",
"verificationMethod": "did:web:multisig.example#zUC7K4ndUaGZgV7Cp2yJy6JtMoUHY6u7tkcSYUvPrEidqBmLCTLmi6d5WvwnUqejscAkERJ3bfjEiSYtdPkRSE8kSa11hFBr4sTgnbZ95SJj19PN2jdvJjyzpSZgxkyyxNnBNnY"
}, {
"type": "PostQuantumSignature2022",
"created": "2022-01-02T00:16:43Z",
"proofPurpose": "assertionMethod",
"proofValue": "G5DnlAOpzbKDV/TYOdT8f6+OXn0amqpKfJdJ1vrs0BXprByIjWNS8YBfmpfLTWNffXTtPkHvW/aV5VbQG7fmmznR8kxnS4KKjRMvHdAMSBKP/9Y89cH83idrdH2ka1BztjiEEeOLhMpWnhG5DnlAOpzbKDV/TYOdT8f6+OXn0amqpKfJdJ1vrs0BXprByIjWNS8YBfmpfLnlAOpzbKDV/TYOdT8f6+OXn0amqpKfJdJ1vrs0BXprByIjWNS8YBfmpfLTWNffXTtPkHvW/aV5VbQG7fmmznR8rCVCobngTWNffXTtPkHvW/aV5VbQG7fmmznR8G5D",
"verificationMethod": "did:web:multisig.example#zFJ7nUqejscAkERJ3bfjEiSYtdPkRprByIjWNSSE8kSa11h"
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment