UNPKG

@credo-ts/core

Version:

<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1

86 lines (83 loc) • 2.31 kB
//#region src/modules/vc/data-integrity/libraries/contexts/dataIntegrity_v2.ts const DATA_INTEGRITY_V2 = { "@context": { id: "@id", type: "@type", "@protected": true, proof: { "@id": "https://w3id.org/security#proof", "@type": "@id", "@container": "@graph" }, DataIntegrityProof: { "@id": "https://w3id.org/security#DataIntegrityProof", "@context": { "@protected": true, id: "@id", type: "@type", challenge: "https://w3id.org/security#challenge", created: { "@id": "http://purl.org/dc/terms/created", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" }, domain: "https://w3id.org/security#domain", expires: { "@id": "https://w3id.org/security#expiration", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" }, nonce: "https://w3id.org/security#nonce", previousProof: { "@id": "https://w3id.org/security#previousProof", "@type": "@id" }, proofPurpose: { "@id": "https://w3id.org/security#proofPurpose", "@type": "@vocab", "@context": { "@protected": true, id: "@id", type: "@type", assertionMethod: { "@id": "https://w3id.org/security#assertionMethod", "@type": "@id", "@container": "@set" }, authentication: { "@id": "https://w3id.org/security#authenticationMethod", "@type": "@id", "@container": "@set" }, capabilityInvocation: { "@id": "https://w3id.org/security#capabilityInvocationMethod", "@type": "@id", "@container": "@set" }, capabilityDelegation: { "@id": "https://w3id.org/security#capabilityDelegationMethod", "@type": "@id", "@container": "@set" }, keyAgreement: { "@id": "https://w3id.org/security#keyAgreementMethod", "@type": "@id", "@container": "@set" } } }, cryptosuite: { "@id": "https://w3id.org/security#cryptosuite", "@type": "https://w3id.org/security#cryptosuiteString" }, proofValue: { "@id": "https://w3id.org/security#proofValue", "@type": "https://w3id.org/security#multibase" }, verificationMethod: { "@id": "https://w3id.org/security#verificationMethod", "@type": "@id" } } } } }; //#endregion export { DATA_INTEGRITY_V2 }; //# sourceMappingURL=dataIntegrity_v2.mjs.map