ImportKeyErrorDetails
ImportKeyErrorDetails
Safe structured context: names only, never input bytes, passwords or backend prose.
ts
interface ImportKeyErrorDetails {
readonly stage: ImportKeyStage;
readonly reason: ImportKeyReason;
readonly container?: "pkcs8" | "pkcs1" | "sec1" | "spki" | "jwk";
}Properties
readonlystage:ImportKeyStage— Stage that refused the input.readonlyreason:ImportKeyReason— Stable refusal reason within the stage.readonlycontainer?:"pkcs8"|"pkcs1"|"sec1"|"spki"|"jwk"— Container selected by the importer, when known.