@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
23 lines (22 loc) • 668 B
JavaScript
import { zKnownJwaSignatureAlgorithm } from "../jwk/jwa.mjs";
import { zAnyUint8Array } from "../../../utils/zod.mjs";
import { zKmsKeyId } from "./common.mjs";
import { z as z$1 } from "zod";
//#region src/modules/kms/options/KmsSignOptions.ts
const zKmsSignOptions = z$1.object({
/**
* The key to use for signing
*/
keyId: zKmsKeyId,
/**
* The JWA signature algorithm to use for signing
*/
algorithm: zKnownJwaSignatureAlgorithm.describe("The JWA signature algorithm to use for signing"),
/**
* The data to sign
*/
data: zAnyUint8Array.describe("The data to sign")
});
//#endregion
export { zKmsSignOptions };
//# sourceMappingURL=KmsSignOptions.mjs.map