{"version":3,"file":"KmsSignOptions.mjs","names":[],"sources":["../../../../src/modules/kms/options/KmsSignOptions.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zAnyUint8Array } from '../../../utils/zod'\nimport { zKnownJwaSignatureAlgorithm } from '../jwk/jwa'\nimport { zKmsKeyId } from './common'\n\nexport const zKmsSignOptions = z.object({\n  /**\n   * The key to use for signing\n   */\n  keyId: zKmsKeyId,\n\n  /**\n   * The JWA signature algorithm to use for signing\n   */\n  algorithm: zKnownJwaSignatureAlgorithm.describe('The JWA signature algorithm to use for signing'),\n\n  /**\n   * The data to sign\n   */\n  data: zAnyUint8Array.describe('The data to sign'),\n})\n\nexport type KmsSignOptions = z.output<typeof zKmsSignOptions>\nexport interface KmsSignReturn {\n  signature: Uint8Array\n}\n"],"mappings":";;;;;;;;AAKA,MAAa,kBAAkB,EAAE,OAAO;CAItC,OAAO;CAKP,WAAW,4BAA4B,SAAS,iDAAiD;CAKjG,MAAM,eAAe,SAAS,mBAAmB;CAClD,CAAC"}