Interface NamedDecrypter<Asym>

Named private key or secret key decrypter.

interface NamedDecrypter<Asym extends boolean = any> {
    "[KeyKind]": If<Asym, "private", "secret", "private" | "secret">;
    llDecrypt: LLDecrypt;
    name: Name;
    spki?: "public" extends If<Asym, "private", "secret", "private" | "secret">
        ? Uint8Array<ArrayBufferLike>
        : never;
}

Type Parameters

  • Asym extends boolean = any

Hierarchy (View Summary)

Properties

"[KeyKind]": If<Asym, "private", "secret", "private" | "secret">
llDecrypt: LLDecrypt
name: Name
spki?: "public" extends If<Asym, "private", "secret", "private" | "secret">
    ? Uint8Array<ArrayBufferLike>
    : never