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

1 lines • 3.01 kB
{"version":3,"file":"security_v1.mjs","names":[],"sources":["../../../../../../src/modules/vc/data-integrity/libraries/contexts/security_v1.ts"],"sourcesContent":["export const SECURITY_V1 = {\n '@context': {\n id: '@id',\n type: '@type',\n dc: 'http://purl.org/dc/terms/',\n sec: 'https://w3id.org/security#',\n xsd: 'http://www.w3.org/2001/XMLSchema#',\n EcdsaKoblitzSignature2016: 'sec:EcdsaKoblitzSignature2016',\n Ed25519Signature2018: 'sec:Ed25519Signature2018',\n EncryptedMessage: 'sec:EncryptedMessage',\n GraphSignature2012: 'sec:GraphSignature2012',\n LinkedDataSignature2015: 'sec:LinkedDataSignature2015',\n LinkedDataSignature2016: 'sec:LinkedDataSignature2016',\n CryptographicKey: 'sec:Key',\n authenticationTag: 'sec:authenticationTag',\n canonicalizationAlgorithm: 'sec:canonicalizationAlgorithm',\n cipherAlgorithm: 'sec:cipherAlgorithm',\n cipherData: 'sec:cipherData',\n cipherKey: 'sec:cipherKey',\n created: { '@id': 'dc:created', '@type': 'xsd:dateTime' },\n creator: { '@id': 'dc:creator', '@type': '@id' },\n digestAlgorithm: 'sec:digestAlgorithm',\n digestValue: 'sec:digestValue',\n domain: 'sec:domain',\n encryptionKey: 'sec:encryptionKey',\n expiration: { '@id': 'sec:expiration', '@type': 'xsd:dateTime' },\n expires: { '@id': 'sec:expiration', '@type': 'xsd:dateTime' },\n initializationVector: 'sec:initializationVector',\n iterationCount: 'sec:iterationCount',\n nonce: 'sec:nonce',\n normalizationAlgorithm: 'sec:normalizationAlgorithm',\n owner: { '@id': 'sec:owner', '@type': '@id' },\n password: 'sec:password',\n privateKey: { '@id': 'sec:privateKey', '@type': '@id' },\n privateKeyPem: 'sec:privateKeyPem',\n publicKey: { '@id': 'sec:publicKey', '@type': '@id' },\n publicKeyBase58: 'sec:publicKeyBase58',\n publicKeyPem: 'sec:publicKeyPem',\n publicKeyWif: 'sec:publicKeyWif',\n publicKeyService: { '@id': 'sec:publicKeyService', '@type': '@id' },\n revoked: { '@id': 'sec:revoked', '@type': 'xsd:dateTime' },\n salt: 'sec:salt',\n signature: 'sec:signature',\n signatureAlgorithm: 'sec:signingAlgorithm',\n signatureValue: 'sec:signatureValue',\n },\n}\n"],"mappings":";;;AAAA,MAAa,cAAc,EACzB,YAAY;CACV,IAAI;CACJ,MAAM;CACN,IAAI;CACJ,KAAK;CACL,KAAK;CACL,2BAA2B;CAC3B,sBAAsB;CACtB,kBAAkB;CAClB,oBAAoB;CACpB,yBAAyB;CACzB,yBAAyB;CACzB,kBAAkB;CAClB,mBAAmB;CACnB,2BAA2B;CAC3B,iBAAiB;CACjB,YAAY;CACZ,WAAW;CACX,SAAS;EAAE,OAAO;EAAc,SAAS;EAAgB;CACzD,SAAS;EAAE,OAAO;EAAc,SAAS;EAAO;CAChD,iBAAiB;CACjB,aAAa;CACb,QAAQ;CACR,eAAe;CACf,YAAY;EAAE,OAAO;EAAkB,SAAS;EAAgB;CAChE,SAAS;EAAE,OAAO;EAAkB,SAAS;EAAgB;CAC7D,sBAAsB;CACtB,gBAAgB;CAChB,OAAO;CACP,wBAAwB;CACxB,OAAO;EAAE,OAAO;EAAa,SAAS;EAAO;CAC7C,UAAU;CACV,YAAY;EAAE,OAAO;EAAkB,SAAS;EAAO;CACvD,eAAe;CACf,WAAW;EAAE,OAAO;EAAiB,SAAS;EAAO;CACrD,iBAAiB;CACjB,cAAc;CACd,cAAc;CACd,kBAAkB;EAAE,OAAO;EAAwB,SAAS;EAAO;CACnE,SAAS;EAAE,OAAO;EAAe,SAAS;EAAgB;CAC1D,MAAM;CACN,WAAW;CACX,oBAAoB;CACpB,gBAAgB;CACjB,EACF"}