ImportKeyReason
ImportKeyReason
Stable diagnostic independent of human-readable messages and native backend errors.
ts
type ImportKeyReason = "unsupported_container" | "multiple_blocks" | "encrypted_key" | "invalid_armor" | "invalid_base64" | "invalid_asn1" | "decode_limit" | "unsupported_algorithm" | "algorithm_mismatch" | "public_key_mismatch" | "backend_rejected"