Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@extrimian/kms-core

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@extrimian/kms-core - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"name": "@extrimian/kms-core",
"version": "1.0.5",
"version": "1.0.6",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -16,2 +16,9 @@ import { Purpose } from "@extrimian/did-core";

purpose: Purpose): Promise<VerifiableCredential>;
signVCPresentation(params: {
publicKeyJWK: IJWK,
presentationObject: any,
did: string,
verificationMethodId: string,
purpose: Purpose
}): Promise<any>;
pack(publicKeyJWK: IJWK, toHexPublicKeys: string[], contentToSign: string): Promise<string>;

@@ -24,5 +31,3 @@ packv2(publicKeyJWK: IJWK,

unpack(publicKeyJWK: IJWK, packedContent: string): Promise<string>;
unpackv2(publicKeyJWK: IJWK, jwe: any,
senderPublicKeyHex: string,
senderPublicKeyType: string): Promise<string>;
unpackv2(publicKeyJWK: IJWK, jwe: any): Promise<string>;
export(publicKeyJWK: IJWK): Promise<any>;

@@ -29,0 +34,0 @@ getPublicKeysBySuiteType(suite: Suite): Promise<IJWK[]>;

@@ -13,2 +13,11 @@ export enum Suite {

RsaSignature2018 = "rsaSignature2018",
}
export function getTypeBySuite(suite: Suite) {
switch (suite) {
case Suite.DIDComm: return "X25519KeyAgreementKey2019";
case Suite.Bbsbls2020: return "Bls12381G1Key2020";
case Suite.RsaSignature2018: return "RsaSignature2018";
}
return null;
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc