@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
116 lines (115 loc) • 2.83 kB
JavaScript
//#region src/modules/vc/jsonld/contexts/cid_v1.ts
const CID_V1 = { "@context": {
"@protected": true,
id: "@id",
type: "@type",
alsoKnownAs: {
"@id": "https://www.w3.org/ns/activitystreams#alsoKnownAs",
"@type": "@id"
},
assertionMethod: {
"@id": "https://w3id.org/security#assertionMethod",
"@type": "@id",
"@container": "@set"
},
authentication: {
"@id": "https://w3id.org/security#authenticationMethod",
"@type": "@id",
"@container": "@set"
},
capabilityDelegation: {
"@id": "https://w3id.org/security#capabilityDelegationMethod",
"@type": "@id",
"@container": "@set"
},
capabilityInvocation: {
"@id": "https://w3id.org/security#capabilityInvocationMethod",
"@type": "@id",
"@container": "@set"
},
controller: {
"@id": "https://w3id.org/security#controller",
"@type": "@id"
},
keyAgreement: {
"@id": "https://w3id.org/security#keyAgreementMethod",
"@type": "@id",
"@container": "@set"
},
service: {
"@id": "https://www.w3.org/ns/did#service",
"@type": "@id",
"@context": {
"@protected": true,
id: "@id",
type: "@type",
serviceEndpoint: {
"@id": "https://www.w3.org/ns/did#serviceEndpoint",
"@type": "@id"
}
}
},
verificationMethod: {
"@id": "https://w3id.org/security#verificationMethod",
"@type": "@id"
},
Multikey: {
"@id": "https://w3id.org/security#Multikey",
"@context": {
"@protected": true,
id: "@id",
type: "@type",
controller: {
"@id": "https://w3id.org/security#controller",
"@type": "@id"
},
revoked: {
"@id": "https://w3id.org/security#revoked",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
expires: {
"@id": "https://w3id.org/security#expiration",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
publicKeyMultibase: {
"@id": "https://w3id.org/security#publicKeyMultibase",
"@type": "https://w3id.org/security#multibase"
},
secretKeyMultibase: {
"@id": "https://w3id.org/security#secretKeyMultibase",
"@type": "https://w3id.org/security#multibase"
}
}
},
JsonWebKey: {
"@id": "https://w3id.org/security#JsonWebKey",
"@context": {
"@protected": true,
id: "@id",
type: "@type",
controller: {
"@id": "https://w3id.org/security#controller",
"@type": "@id"
},
revoked: {
"@id": "https://w3id.org/security#revoked",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
expires: {
"@id": "https://w3id.org/security#expiration",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
publicKeyJwk: {
"@id": "https://w3id.org/security#publicKeyJwk",
"@type": "@json"
},
secretKeyJwk: {
"@id": "https://w3id.org/security#secretKeyJwk",
"@type": "@json"
}
}
}
} };
//#endregion
export { CID_V1 };
//# sourceMappingURL=cid_v1.mjs.map