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 • 4.48 kB
{"version":3,"file":"secp256k1_v1.mjs","names":[],"sources":["../../../../../../src/modules/vc/data-integrity/libraries/contexts/secp256k1_v1.ts"],"sourcesContent":["export const SECP256K1_V1 = {\n '@context': {\n id: '@id',\n type: '@type',\n '@protected': true,\n proof: {\n '@id': 'https://w3id.org/security#proof',\n '@type': '@id',\n '@container': '@graph',\n },\n EcdsaSecp256k1VerificationKey2019: {\n '@id': 'https://w3id.org/security#EcdsaSecp256k1VerificationKey2019',\n '@context': {\n '@protected': true,\n id: '@id',\n type: '@type',\n controller: {\n '@id': 'https://w3id.org/security#controller',\n '@type': '@id',\n },\n revoked: {\n '@id': 'https://w3id.org/security#revoked',\n '@type': 'http://www.w3.org/2001/XMLSchema#dateTime',\n },\n blockchainAccountId: {\n '@id': 'https://w3id.org/security#blockchainAccountId',\n },\n publicKeyJwk: {\n '@id': 'https://w3id.org/security#publicKeyJwk',\n '@type': '@json',\n },\n publicKeyBase58: {\n '@id': 'https://w3id.org/security#publicKeyBase58',\n },\n publicKeyMultibase: {\n '@id': 'https://w3id.org/security#publicKeyMultibase',\n '@type': 'https://w3id.org/security#multibase',\n },\n },\n },\n EcdsaSecp256k1Signature2019: {\n '@id': 'https://w3id.org/security#EcdsaSecp256k1Signature2019',\n '@context': {\n '@protected': true,\n id: '@id',\n type: '@type',\n challenge: 'https://w3id.org/security#challenge',\n created: {\n '@id': 'http://purl.org/dc/terms/created',\n '@type': 'http://www.w3.org/2001/XMLSchema#dateTime',\n },\n domain: 'https://w3id.org/security#domain',\n expires: {\n '@id': 'https://w3id.org/security#expiration',\n '@type': 'http://www.w3.org/2001/XMLSchema#dateTime',\n },\n nonce: 'https://w3id.org/security#nonce',\n proofPurpose: {\n '@id': 'https://w3id.org/security#proofPurpose',\n '@type': '@vocab',\n '@context': {\n '@protected': true,\n id: '@id',\n type: '@type',\n assertionMethod: {\n '@id': 'https://w3id.org/security#assertionMethod',\n '@type': '@id',\n '@container': '@set',\n },\n authentication: {\n '@id': 'https://w3id.org/security#authenticationMethod',\n '@type': '@id',\n '@container': '@set',\n },\n capabilityInvocation: {\n '@id': 'https://w3id.org/security#capabilityInvocationMethod',\n '@type': '@id',\n '@container': '@set',\n },\n capabilityDelegation: {\n '@id': 'https://w3id.org/security#capabilityDelegationMethod',\n '@type': '@id',\n '@container': '@set',\n },\n keyAgreement: {\n '@id': 'https://w3id.org/security#keyAgreementMethod',\n '@type': '@id',\n '@container': '@set',\n },\n },\n },\n jws: {\n '@id': 'https://w3id.org/security#jws',\n },\n verificationMethod: {\n '@id': 'https://w3id.org/security#verificationMethod',\n '@type': '@id',\n },\n },\n },\n },\n}\n"],"mappings":";;;AAAA,MAAa,eAAe,EAC1B,YAAY;CACV,IAAI;CACJ,MAAM;CACN,cAAc;CACd,OAAO;EACL,OAAO;EACP,SAAS;EACT,cAAc;EACf;CACD,mCAAmC;EACjC,OAAO;EACP,YAAY;GACV,cAAc;GACd,IAAI;GACJ,MAAM;GACN,YAAY;IACV,OAAO;IACP,SAAS;IACV;GACD,SAAS;IACP,OAAO;IACP,SAAS;IACV;GACD,qBAAqB,EACnB,OAAO,iDACR;GACD,cAAc;IACZ,OAAO;IACP,SAAS;IACV;GACD,iBAAiB,EACf,OAAO,6CACR;GACD,oBAAoB;IAClB,OAAO;IACP,SAAS;IACV;GACF;EACF;CACD,6BAA6B;EAC3B,OAAO;EACP,YAAY;GACV,cAAc;GACd,IAAI;GACJ,MAAM;GACN,WAAW;GACX,SAAS;IACP,OAAO;IACP,SAAS;IACV;GACD,QAAQ;GACR,SAAS;IACP,OAAO;IACP,SAAS;IACV;GACD,OAAO;GACP,cAAc;IACZ,OAAO;IACP,SAAS;IACT,YAAY;KACV,cAAc;KACd,IAAI;KACJ,MAAM;KACN,iBAAiB;MACf,OAAO;MACP,SAAS;MACT,cAAc;MACf;KACD,gBAAgB;MACd,OAAO;MACP,SAAS;MACT,cAAc;MACf;KACD,sBAAsB;MACpB,OAAO;MACP,SAAS;MACT,cAAc;MACf;KACD,sBAAsB;MACpB,OAAO;MACP,SAAS;MACT,cAAc;MACf;KACD,cAAc;MACZ,OAAO;MACP,SAAS;MACT,cAAc;MACf;KACF;IACF;GACD,KAAK,EACH,OAAO,iCACR;GACD,oBAAoB;IAClB,OAAO;IACP,SAAS;IACV;GACF;EACF;CACF,EACF"}