@hpke/common
Version:
A Hybrid Public Key Encryption (HPKE) internal-use common module for @hpke family modules.
13 lines • 515 B
TypeScript
import type { KeyScheduleParams } from "./keyScheduleParams.js";
/**
* The parameters used to setup the `SenderContext`.
*/
export interface SenderContextParams extends KeyScheduleParams {
/** A recipient public key. */
recipientPublicKey: CryptoKey;
/** A sender private key or a key pair for Auth mode. */
senderKey?: CryptoKey | CryptoKeyPair;
/** DO NOT USE. FOR DEBUGGING/TESTING PURPOSES ONLY. */
ekm?: CryptoKeyPair | ArrayBuffer;
}
//# sourceMappingURL=senderContextParams.d.ts.map