Skip to content

ImportKeyErrorCode ​

ImportKeyErrorCode ​

Machine-readable failure reason for the import* key functions.

limit_exceeded is an implementation limit: an OBJECT IDENTIFIER sub-identifier encoded in more than 64 octets, a tag number of 2^53 or more, or DER nested deeper than 64 levels.

ts
type ImportKeyErrorCode = Exclude<DecodeFailureCode, "unsupported">

Released under the MIT License.