@extrimian/kms-core
Advanced tools
Comparing version 1.4.0-1 to 1.4.0-2
@@ -13,3 +13,3 @@ import { DIDCommMessage, Purpose } from "@extrimian/did-core"; | ||
sign(suite: Suite, publicKeyJWK: IJWK, content: any): Promise<string>; | ||
verifySignature(publicKeyJWK: IJWK, signature: string): Promise<string>; | ||
verifySignature(publicKeyJWK: IJWK, originalContent: string, signature: string): Promise<boolean>; | ||
signVC(suite: Suite, publicKeyJWK: IJWK, vc: any, did: string, verificationMethodId: string, purpose: Purpose): Promise<VerifiableCredential>; | ||
@@ -16,0 +16,0 @@ signVCPresentation(params: { |
@@ -14,4 +14,3 @@ import { LANG } from "../lang"; | ||
sign(content: string): Promise<string>; | ||
signJWS(content: any): Promise<string>; | ||
verifyJWS(content: any, publicKey: IJWK): Promise<any>; | ||
verifySignature(originalContent: string, flatSignature: any, publicKey: IJWK): Promise<boolean>; | ||
} |
{ | ||
"name": "@extrimian/kms-core", | ||
"version": "1.4.0-1", | ||
"version": "1.4.0-2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -12,3 +12,3 @@ import { DIDCommMessage, Purpose } from "@extrimian/did-core"; | ||
sign(suite: Suite, publicKeyJWK: IJWK, content: any): Promise<string>; | ||
verifySignature(publicKeyJWK: IJWK, signature: string): Promise<string> | ||
verifySignature(publicKeyJWK: IJWK, originalContent: string, signature: string): Promise<boolean>; | ||
signVC(suite: Suite, | ||
@@ -15,0 +15,0 @@ publicKeyJWK: IJWK, |
@@ -14,4 +14,3 @@ import { LANG } from "../lang"; | ||
sign(content: string): Promise<string>; | ||
signJWS(content: any): Promise<string>; | ||
verifyJWS(content: any, publicKey: IJWK): Promise<any>; | ||
verifySignature(originalContent: string, flatSignature: any, publicKey: IJWK): Promise<boolean>; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47979
1053