@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
16 lines (15 loc) • 1.09 kB
text/typescript
import { KmsJwkPrivate, KmsJwkPublic } from "./knownJwk.mjs";
import { z } from "zod";
//#region src/modules/kms/jwk/keyOps.d.ts
declare function assertKeyAllowsDerive(jwk: KmsJwkPrivate | KmsJwkPublic): void;
declare function keyAllowsVerify(key: KmsJwkPublic | KmsJwkPrivate): boolean;
declare function assertKeyAllowsVerify(jwk: KmsJwkPrivate | KmsJwkPublic): void;
declare function keyAllowsSign(key: KmsJwkPrivate | KmsJwkPublic): boolean;
declare function assertKeyAllowsSign(jwk: KmsJwkPrivate | KmsJwkPublic): void;
declare function keyAllowsEncrypt(key: KmsJwkPublic | KmsJwkPrivate): boolean;
declare function assertKeyAllowsEncrypt(jwk: KmsJwkPrivate | KmsJwkPublic): void;
declare function keyAllowsDecrypt(key: KmsJwkPublic | KmsJwkPrivate): boolean;
declare function assertKeyAllowsDecrypt(jwk: KmsJwkPrivate | KmsJwkPublic): void;
//#endregion
export { assertKeyAllowsDecrypt, assertKeyAllowsDerive, assertKeyAllowsEncrypt, assertKeyAllowsSign, assertKeyAllowsVerify, keyAllowsDecrypt, keyAllowsEncrypt, keyAllowsSign, keyAllowsVerify };
//# sourceMappingURL=keyOps.d.mts.map