Error catalog

Every error class the toolkit throws and every stable domain/reason code, harvested from the source at boot — 36 classes, 649 codes. Each error extends PkiError: catch once with err instanceof pki.errors.PkiError and switch on err.code.

Error classes

ClassDeclared inFlags
AcmeErrorlib/framework-error.jswithCause
Asn1Errorlib/framework-error.jswithCause
AttrCertErrorlib/framework-error.jswithCause
C509Errorlib/framework-error.jswithCause
CborErrorlib/framework-error.jswithCause
CertificateErrorlib/framework-error.jswithCause
CmpErrorlib/framework-error.jswithCause
CmsErrorlib/framework-error.jswithCause
ConstantsErrorlib/framework-error.js
CrlErrorlib/framework-error.jswithCause
CrmfErrorlib/framework-error.jswithCause
CsrErrorlib/framework-error.jswithCause
CsrattrsErrorlib/framework-error.jswithCause
CtErrorlib/framework-error.jswithCause
EstErrorlib/framework-error.jswithCause
HpkeErrorlib/framework-error.jswithCause
InspectErrorlib/framework-error.jswithCause
JoseErrorlib/framework-error.jswithCause
KeyErrorlib/framework-error.jswithCause
LintErrorlib/framework-error.jswithCause
MerkleErrorlib/framework-error.jswithCause
OcspErrorlib/framework-error.jswithCause
OidErrorlib/framework-error.jswithCause
PathErrorlib/framework-error.jswithCause
PemErrorlib/framework-error.jswithCause
Pkcs12Errorlib/framework-error.jswithCause
Pkcs8Errorlib/framework-error.jswithCause
SchemaErrorlib/framework-error.jswithCause
ShbsErrorlib/framework-error.jswithCause
SigstoreErrorlib/framework-error.jswithCause
SmimeErrorlib/framework-error.jswithCause
TransportErrorlib/framework-error.jswithCause
TrustErrorlib/framework-error.jswithCause
TspErrorlib/framework-error.jswithCause
WebCryptoErrorlib/webcrypto.jswithCause
WebauthnErrorlib/framework-error.jswithCause

acme/*

CodeThrown from
acme/bad-certidlib/acme.js
acme/bad-certificate-chainlib/acme.js
acme/bad-contactlib/acme.js
acme/bad-directorylib/acme.js
acme/bad-identifierlib/acme.js
acme/bad-inputlib/acme.js
acme/bad-keylib/acme.js
acme/bad-orderlib/acme.js
acme/bad-problemlib/acme.js
acme/bad-redirectlib/acme.js
acme/bad-renewal-windowlib/acme.js
acme/bad-responselib/acme.js
acme/bad-retry-afterlib/acme.js
acme/bad-revocation-reasonlib/acme.js
acme/bad-statuslib/acme.js
acme/bad-tlsalpnlib/acme.js
acme/bad-tokenlib/acme.js
acme/bad-transitionlib/acme.js
acme/bad-urllib/acme.js
acme/csr-identifier-mismatchlib/acme.js
acme/insecure-urllib/acme.js
acme/key-reuselib/acme.js
acme/missing-fieldlib/acme.js
acme/no-accountlib/acme.js
acme/no-account-urllib/acme.js
acme/no-noncelib/acme.js
acme/no-order-urllib/acme.js
acme/no-trust-anchorslib/acme.js
acme/poll-exhaustedlib/acme.js
acme/resource-unavailablelib/acme.js
acme/response-too-largelib/acme.js
acme/server-problemlib/acme.js
acme/too-many-redirectslib/acme.js
acme/unexpected-statuslib/acme.js

asn1/*

CodeThrown from
asn1/bad-bit-stringlib/asn1-der.js
asn1/bad-bmp-stringlib/asn1-der.js
asn1/bad-booleanlib/asn1-der.js
asn1/bad-childrenlib/asn1-der.js
asn1/bad-constructed-stringlib/asn1-der.js
asn1/bad-generalizedtimelib/asn1-der.js
asn1/bad-ia5-stringlib/asn1-der.js
asn1/bad-integerlib/asn1-der.js
asn1/bad-lengthlib/asn1-der.js
asn1/bad-nulllib/asn1-der.js
asn1/bad-printable-stringlib/asn1-der.js
asn1/bad-taglib/asn1-der.js
asn1/bad-timelib/asn1-der.js
asn1/bad-tlvlib/asn1-der.js
asn1/bad-universal-stringlib/asn1-der.js
asn1/bad-utctimelib/asn1-der.js
asn1/bad-utf8-stringlib/asn1-der.js
asn1/bad-visible-stringlib/asn1-der.js
asn1/constructed-primitive-typelib/asn1-der.js
asn1/expected-primitivelib/asn1-der.js, lib/schema-pkix.js
asn1/expected-stringlib/asn1-der.js
asn1/expected-timelib/asn1-der.js
asn1/indefinite-lengthlib/asn1-der.js
asn1/integer-too-largelib/asn1-der.js
asn1/length-too-largelib/asn1-der.js
asn1/non-minimal-integerlib/asn1-der.js
asn1/non-minimal-lengthlib/asn1-der.js
asn1/non-minimal-taglib/asn1-der.js
asn1/not-bufferlib/asn1-der.js
asn1/tag-too-largelib/asn1-der.js
asn1/too-deeplib/asn1-der.js
asn1/too-largelib/asn1-der.js
asn1/too-many-itemslib/asn1-der.js
asn1/trailing-byteslib/asn1-der.js
asn1/truncatedlib/asn1-der.js
asn1/unexpected-taglib/asn1-der.js

attrcert/*

CodeThrown from
attrcert/bad-aa-controlslib/schema-attrcert.js
attrcert/bad-access-identitylib/schema-attrcert.js
attrcert/bad-acinfolib/schema-attrcert.js
attrcert/bad-attributeslib/attrcert-sign.js, lib/schema-attrcert.js
attrcert/bad-audit-identitylib/schema-attrcert.js
attrcert/bad-clearancelib/schema-attrcert.js
attrcert/bad-digested-object-typelib/schema-attrcert.js
attrcert/bad-entity-namelib/schema-attrcert.js
attrcert/bad-general-namelib/schema-attrcert.js
attrcert/bad-general-nameslib/schema-attrcert.js
attrcert/bad-holderlib/schema-attrcert.js
attrcert/bad-ietf-attrlib/schema-attrcert.js
attrcert/bad-inputlib/attrcert-sign.js
attrcert/bad-issuerlib/schema-attrcert.js
attrcert/bad-issuer-namelib/attrcert-sign.js, lib/schema-attrcert.js
attrcert/bad-issuer-seriallib/schema-attrcert.js
attrcert/bad-no-rev-availlib/schema-attrcert.js
attrcert/bad-object-digest-infolib/schema-attrcert.js
attrcert/bad-proxy-infolib/schema-attrcert.js
attrcert/bad-rolelib/schema-attrcert.js
attrcert/bad-serial-numberlib/schema-attrcert.js
attrcert/bad-signature-algorithmlib/schema-attrcert.js
attrcert/bad-svce-auth-infolib/schema-attrcert.js
attrcert/bad-targetslib/schema-attrcert.js
attrcert/bad-timelib/schema-attrcert.js
attrcert/bad-v2formlib/schema-attrcert.js
attrcert/bad-validitylib/schema-attrcert.js
attrcert/duplicate-attributelib/attrcert-sign.js, lib/schema-attrcert.js
attrcert/legacy-v1-not-supportedlib/schema-attrcert.js
attrcert/not-an-attribute-certificatelib/schema-attrcert.js

byte-reader/*

CodeThrown from
byte-reader/truncatedlib/byte-reader.js

byte-writer/*

CodeThrown from
byte-writer/bad-valuelib/byte-writer.js

c509/*

CodeThrown from
c509/bad-certificate-typelib/schema-c509.js
c509/bad-extensionslib/schema-c509.js
c509/bad-inputlib/schema-c509.js
c509/bad-namelib/schema-c509.js
c509/bad-seriallib/schema-c509.js
c509/bad-signaturelib/schema-c509.js
c509/bad-spkilib/schema-c509.js
c509/bad-tbslib/schema-c509.js
c509/bad-validitylib/schema-c509.js
c509/non-invertiblelib/schema-c509.js
c509/non-minimal-seriallib/schema-c509.js
c509/not-a-certificatelib/schema-c509.js
c509/unknown-algorithmlib/schema-c509.js

cbor/*

CodeThrown from
cbor/bad-argumentlib/cbor-det.js
cbor/bad-itemlib/cbor-det.js
cbor/bad-simplelib/cbor-det.js
cbor/bad-tag-contentlib/cbor-det.js
cbor/bad-timelib/cbor-det.js
cbor/bad-utf8lib/cbor-det.js
cbor/biguint-too-largelib/cbor-det.js
cbor/duplicate-map-keylib/cbor-det.js
cbor/indefinite-lengthlib/cbor-det.js
cbor/non-canonical-nanlib/cbor-det.js
cbor/non-minimal-argumentlib/cbor-det.js
cbor/non-minimal-biguintlib/cbor-det.js
cbor/non-minimal-floatlib/cbor-det.js
cbor/not-bufferlib/cbor-det.js
cbor/reserved-ailib/cbor-det.js
cbor/reserved-simplelib/cbor-det.js
cbor/too-deeplib/cbor-det.js
cbor/too-largelib/cbor-det.js
cbor/too-many-itemslib/cbor-det.js
cbor/trailing-byteslib/cbor-det.js
cbor/truncatedlib/cbor-det.js
cbor/unexpected-breaklib/cbor-det.js
cbor/unexpected-majorlib/cbor-det.js
cbor/unexpected-taglib/cbor-det.js
cbor/unsorted-map-keyslib/cbor-det.js

cmp/*

CodeThrown from
cmp/bad-bodylib/schema-cmp.js
cmp/bad-cert-replib/cmp-build.js, lib/schema-cmp.js
cmp/bad-cert-responselib/cmp-build.js, lib/schema-cmp.js
cmp/bad-cert-statuslib/cmp-build.js, lib/schema-cmp.js
cmp/bad-content-typelib/cmp-build.js
cmp/bad-errorlib/cmp-build.js, lib/schema-cmp.js
cmp/bad-extra-certslib/cmp-build.js, lib/schema-cmp.js
cmp/bad-fail-infolib/schema-cmp.js
cmp/bad-freetextlib/cmp-build.js, lib/schema-cmp.js
cmp/bad-general-infolib/cmp-build.js, lib/schema-cmp.js
cmp/bad-headerlib/schema-cmp.js
cmp/bad-info-type-and-valuelib/cmp-build.js, lib/schema-cmp.js
cmp/bad-info-valuelib/cmp-build.js, lib/schema-cmp.js
cmp/bad-inputlib/cmp-build.js
cmp/bad-key-rec-replib/cmp-build.js, lib/schema-cmp.js
cmp/bad-namelib/cmp-build.js
cmp/bad-pkiconflib/schema-cmp.js
cmp/bad-poll-replib/cmp-build.js, lib/schema-cmp.js
cmp/bad-poll-reqlib/cmp-build.js, lib/schema-cmp.js
cmp/bad-protectionlib/schema-cmp.js
cmp/bad-responselib/cmp-build.js
cmp/bad-rev-replib/cmp-build.js, lib/schema-cmp.js
cmp/bad-rev-reqlib/cmp-build.js, lib/schema-cmp.js
cmp/bad-statuslib/schema-cmp.js
cmp/bad-status-infolib/cmp-build.js, lib/schema-cmp.js
cmp/bad-timelib/schema-cmp.js
cmp/bad-urllib/cmp-build.js
cmp/bad-versionlib/schema-cmp.js
cmp/empty-responselib/cmp-build.js
cmp/http-errorlib/cmp-build.js
cmp/no-trust-anchorslib/cmp-build.js
cmp/not-a-pki-messagelib/schema-cmp.js
cmp/protection-alg-mismatchlib/schema-cmp.js
cmp/redirect-not-followedlib/cmp-build.js
cmp/response-too-largelib/cmp-build.js
cmp/unexpected-statuslib/cmp-build.js
cmp/unsupported-algorithmlib/cmp-build.js

cms/*

CodeThrown from
cms/bad-aead-paramslib/schema-cms.js
cms/bad-algorithm-parameterslib/cms-compress.js
cms/bad-auth-attrslib/schema-cms.js
cms/bad-auth-datalib/schema-cms.js
cms/bad-auth-enveloped-datalib/schema-cms.js
cms/bad-certificateslib/schema-cms.js
cms/bad-compressed-datalib/schema-cms.js
cms/bad-content-type-attrlib/schema-cms.js
cms/bad-countersignaturelib/cms-verify.js, lib/schema-cms.js
cms/bad-crlslib/schema-cms.js
cms/bad-digest-algorithmslib/schema-cms.js
cms/bad-econtentlib/schema-cms.js
cms/bad-encap-content-infolib/schema-cms.js
cms/bad-encrypted-content-infolib/schema-cms.js
cms/bad-encrypted-datalib/schema-cms.js
cms/bad-enveloped-datalib/schema-cms.js
cms/bad-inputlib/cms-compress.js, lib/cms-decrypt.js, lib/cms-encrypt.js, lib/cms-sign.js, lib/cms-verify.js
cms/bad-issuer-and-seriallib/schema-cms.js
cms/bad-karilib/schema-cms.js
cms/bad-kari-identifierlib/schema-cms.js
cms/bad-kek-identifierlib/schema-cms.js
cms/bad-kek-lengthlib/schema-cms.js
cms/bad-kekrilib/schema-cms.js
cms/bad-kem-ciphertextlib/schema-cms.js
cms/bad-kem-recipient-infolib/schema-cms.js
cms/bad-key-usagelib/cms-encrypt.js
cms/bad-ktrilib/schema-cms.js
cms/bad-message-digest-attrlib/schema-cms.js
cms/bad-namelib/cms-verify.js
cms/bad-orilib/schema-cms.js
cms/bad-originator-certslib/schema-cms.js
cms/bad-originator-crlslib/schema-cms.js
cms/bad-originator-identifierlib/schema-cms.js
cms/bad-originator-infolib/schema-cms.js
cms/bad-originator-public-keylib/schema-cms.js
cms/bad-pwrilib/schema-cms.js
cms/bad-recipient-encrypted-keylib/schema-cms.js
cms/bad-recipient-encrypted-keyslib/schema-cms.js
cms/bad-recipient-identifierlib/schema-cms.js
cms/bad-recipient-infolib/schema-cms.js
cms/bad-recipient-infoslib/schema-cms.js
cms/bad-recipient-key-identifierlib/schema-cms.js
cms/bad-recipient-versionlib/schema-cms.js
cms/bad-signaturelib/cms-verify.js
cms/bad-signed-attrslib/cms-verify.js, lib/schema-cms.js
cms/bad-signed-datalib/schema-cms.js
cms/bad-signer-identifierlib/schema-cms.js
cms/bad-signer-infolib/schema-cms.js
cms/bad-signer-infoslib/schema-cms.js
cms/bad-signer-versionlib/schema-cms.js
cms/bad-signing-time-attrlib/schema-cms.js
cms/bad-unauth-attrslib/schema-cms.js
cms/bad-unprotected-attrslib/schema-cms.js
cms/bad-unsigned-attrslib/schema-cms.js
cms/bad-versionlib/schema-cms.js
cms/content-conflictlib/cms-verify.js
cms/content-type-mismatchlib/cms-verify.js, lib/schema-cms.js
cms/decompress-failedlib/cms-compress.js
cms/decompress-too-largelib/cms-compress.js
cms/decrypt-failedlib/cms-decrypt.js, lib/pkcs12-build.js
cms/detached-content-requiredlib/cms-verify.js
cms/duplicate-attrlib/schema-cms.js
cms/duplicate-content-typelib/schema-cms.js
cms/duplicate-message-digestlib/schema-cms.js
cms/duplicate-signed-attrlib/schema-cms.js
cms/kek-length-mismatchlib/schema-cms.js
cms/mac-length-mismatchlib/schema-cms.js
cms/message-digest-mismatchlib/cms-verify.js
cms/misplaced-attrlib/cms-verify.js, lib/schema-cms.js
cms/missing-auth-attrslib/schema-cms.js
cms/missing-content-typelib/schema-cms.js
cms/missing-digest-algorithmlib/schema-cms.js
cms/missing-key-derivationlib/cms-decrypt.js
cms/missing-message-digestlib/schema-cms.js
cms/missing-signed-attrslib/schema-cms.js
cms/no-encapsulated-contentlib/cms-compress.js
cms/no-encrypted-contentlib/cms-decrypt.js
cms/no-matching-recipientlib/cms-decrypt.js
cms/no-skilib/cms-sign.js
cms/non-canonical-defaultlib/schema-cms.js
cms/not-a-content-infolib/schema-cms.js
cms/signer-cert-not-foundlib/cms-verify.js
cms/unknown-content-typelib/inspect.js, lib/schema-cms.js
cms/unsupported-algorithmlib/cms-compress.js, lib/cms-decrypt.js, lib/cms-encrypt.js, lib/cms-verify.js
cms/unsupported-content-typelib/cms-compress.js, lib/schema-cms.js
cms/unsupported-recipient-typelib/cms-decrypt.js
cms/verify-errorlib/cms-verify.js

constants/*

CodeThrown from
constants/bad-scalelib/constants.js

crl/*

CodeThrown from
crl/bad-crl-numberlib/crl-sign.js
crl/bad-extension-valuelib/schema-crl.js
crl/bad-extensionslib/schema-crl.js
crl/bad-idplib/crl-sign.js
crl/bad-inputlib/crl-sign.js
crl/bad-issuerlib/crl-sign.js, lib/schema-crl.js
crl/bad-reason-codelib/crl-sign.js
crl/bad-revoked-certificateslib/schema-crl.js
crl/bad-revoked-entrylib/schema-crl.js
crl/bad-signature-algorithmlib/schema-crl.js
crl/bad-tbslib/schema-crl.js
crl/bad-versionlib/schema-crl.js
crl/not-a-crllib/schema-crl.js

crmf/*

CodeThrown from
crmf/bad-cert-req-messageslib/schema-crmf.js
crmf/bad-cert-req-msglib/schema-crmf.js
crmf/bad-cert-requestlib/schema-crmf.js
crmf/bad-cert-templatelib/crmf-sign.js, lib/schema-crmf.js
crmf/bad-controllib/schema-crmf.js
crmf/bad-controlslib/crmf-sign.js, lib/schema-crmf.js
crmf/bad-inputlib/crmf-sign.js
crmf/bad-namelib/schema-crmf.js
crmf/bad-popolib/crmf-sign.js, lib/schema-crmf.js
crmf/bad-reg-infolib/crmf-sign.js, lib/schema-crmf.js
crmf/bad-validitylib/crmf-sign.js, lib/schema-crmf.js
crmf/bad-versionlib/crmf-sign.js, lib/schema-crmf.js

csr/*

CodeThrown from
csr/bad-attribute-valuelib/schema-csr.js
csr/bad-attributeslib/schema-csr.js
csr/bad-crilib/schema-csr.js
csr/bad-inputlib/csr-sign.js
csr/not-a-certification-requestlib/schema-csr.js

csrattrs/*

CodeThrown from
csrattrs/bad-attr-or-oidlib/schema-csrattrs.js
csrattrs/bad-extension-reqlib/schema-csrattrs.js
csrattrs/bad-extension-templatelib/schema-csrattrs.js
csrattrs/bad-key-type-attrlib/schema-csrattrs.js
csrattrs/bad-name-templatelib/schema-csrattrs.js
csrattrs/bad-spki-templatelib/schema-csrattrs.js
csrattrs/bad-templatelib/schema-csrattrs.js
csrattrs/bad-template-attrslib/schema-csrattrs.js
csrattrs/bad-template-versionlib/schema-csrattrs.js
csrattrs/duplicate-extension-reqlib/schema-csrattrs.js
csrattrs/duplicate-templatelib/schema-csrattrs.js
csrattrs/not-csrattrslib/schema-csrattrs.js

ct/*

CodeThrown from
ct/bad-content-typelib/ct.js
ct/bad-datelib/ct.js
ct/bad-derlib/ct.js
ct/bad-entry-typelib/ct.js
ct/bad-extensionslib/ct.js
ct/bad-inputlib/ct.js
ct/bad-issuer-key-hashlib/ct.js
ct/bad-listlib/ct.js
ct/bad-log-listlib/ct.js
ct/bad-signaturelib/ct.js
ct/bad-statelib/ct.js
ct/bad-tbs-lengthlib/ct.js
ct/bad-urllib/ct.js
ct/duplicate-loglib/ct.js
ct/empty-listlib/ct.js
ct/empty-responselib/ct.js
ct/ext-overrunlib/ct.js
ct/http-errorlib/ct.js
ct/insecure-urllib/ct.js
ct/list-trailing-byteslib/ct.js
ct/log-id-mismatchlib/ct.js
ct/log-list-untrustedlib/ct.js
ct/log-not-foundlib/ct.js
ct/log-untrustedlib/ct.js
ct/no-trust-anchorslib/ct.js
ct/response-too-largelib/ct.js
ct/sct-emptylib/ct.js
ct/sct-too-shortlib/ct.js
ct/sct-trailing-byteslib/ct.js
ct/sig-overrunlib/ct.js
ct/temporal-intervallib/ct.js
ct/too-largelib/ct.js
ct/too-many-sctslib/ct.js
ct/transport-errorlib/ct.js
ct/truncatedlib/ct.js
ct/unsupported-algorithmlib/ct.js
ct/verify-errorlib/ct.js

est/*

CodeThrown from
est/ambiguous-issued-certlib/est.js
est/ambiguous-key-typelib/est.js
est/auth-requiredlib/est.js
est/bad-base64lib/est.js
est/bad-content-typelib/est.js
est/bad-inputlib/est.js
est/bad-key-partlib/est.js
est/bad-labellib/est.js
est/bad-multipartlib/est.js
est/bad-retry-afterlib/est.js
est/bad-urllib/est.js
est/cross-origin-redirectlib/est.js
est/empty-bodylib/est.js
est/expected-encrypted-keylib/est.js
est/fullcmc-not-supportedlib/est.js
est/http-errorlib/est.js
est/insecure-redirectlib/est.js
est/insecure-urllib/est.js
est/issued-cert-not-foundlib/est.js
est/missing-retry-afterlib/est.js
est/no-trust-anchorslib/est.js
est/recipient-mismatchlib/est.js
est/reenroll-ambiguous-requestlib/est.js
est/reenroll-san-mismatchlib/est.js
est/reenroll-subject-mismatchlib/est.js
est/response-too-largelib/est.js
est/tls-unique-too-longlib/est.js
est/too-largelib/est.js
est/too-many-redirectslib/est.js
est/unexpected-certslib/est.js
est/unsupported-operationlib/est.js

hpke/*

CodeThrown from
hpke/auth-key-requiredlib/hpke.js
hpke/auth-unsupportedlib/hpke.js
hpke/bad-keylib/hpke.js
hpke/export-lengthlib/hpke.js
hpke/export-onlylib/hpke.js
hpke/inconsistent-psklib/hpke.js
hpke/message-limitlib/hpke.js
hpke/open-failedlib/hpke.js
hpke/unknown-modelib/hpke.js
hpke/unknown-suitelib/hpke.js
hpke/wrong-rolelib/hpke.js

inspect/*

CodeThrown from
inspect/bad-certificatelib/inspect.js
inspect/bad-cmslib/inspect.js
inspect/bad-crllib/inspect.js
inspect/bad-csrlib/inspect.js
inspect/bad-inputlib/inspect.js
inspect/unsupported-formatlib/inspect.js

jose/*

CodeThrown from
jose/bad-alglib/jose.js
jose/bad-base64urllib/jose.js
jose/bad-critlib/jose.js
jose/bad-headerlib/jose.js
jose/bad-inputlib/jose.js
jose/bad-jwslib/jose.js
jose/bad-keylib/jose.js
jose/bad-signaturelib/jose.js
jose/private-key-materiallib/jose.js
jose/verify-failedlib/jose.js

key/*

CodeThrown from
key/bad-inputlib/key.js
key/decrypt-failedlib/key.js
key/unsupported-algorithmlib/key.js

lint/*

CodeThrown from
lint/bad-inputlib/lint.js
lint/bad-severitylib/lint.js
lint/unknown-profilelib/lint.js

merkle/*

CodeThrown from
merkle/bad-hash-lengthlib/merkle.js
merkle/bad-inputlib/merkle.js
merkle/bad-prooflib/merkle.js
merkle/bad-proof-lengthlib/merkle.js
merkle/empty-consistency-prooflib/merkle.js
merkle/empty-treelib/merkle.js
merkle/index-out-of-rangelib/merkle.js
merkle/old-size-exceeds-newlib/merkle.js
merkle/proof-too-largelib/merkle.js
merkle/sizes-equal-nonempty-prooflib/merkle.js

ocsp/*

CodeThrown from
ocsp/bad-basic-responselib/schema-ocsp.js
ocsp/bad-cert-idlib/schema-ocsp.js
ocsp/bad-cert-statuslib/schema-ocsp.js
ocsp/bad-certslib/schema-ocsp.js
ocsp/bad-derlib/schema-ocsp.js
ocsp/bad-inputlib/ocsp.js
ocsp/bad-noncelib/schema-ocsp.js
ocsp/bad-ocsp-responselib/schema-ocsp.js
ocsp/bad-requestlib/schema-ocsp.js
ocsp/bad-request-listlib/schema-ocsp.js
ocsp/bad-requestor-namelib/schema-ocsp.js
ocsp/bad-responder-idlib/schema-ocsp.js
ocsp/bad-response-byteslib/schema-ocsp.js
ocsp/bad-response-datalib/schema-ocsp.js
ocsp/bad-response-statuslib/schema-ocsp.js
ocsp/bad-responseslib/schema-ocsp.js
ocsp/bad-revocation-reasonlib/schema-ocsp.js
ocsp/bad-revoked-infolib/schema-ocsp.js
ocsp/bad-signaturelib/schema-ocsp.js
ocsp/bad-single-responselib/schema-ocsp.js
ocsp/bad-tbs-requestlib/schema-ocsp.js
ocsp/bad-timelib/schema-ocsp.js
ocsp/bad-versionlib/schema-ocsp.js
ocsp/missing-requestor-namelib/schema-ocsp.js
ocsp/not-a-requestlib/schema-ocsp.js
ocsp/too-many-certslib/schema-ocsp.js
ocsp/unsupported-response-typelib/schema-ocsp.js

oid/*

CodeThrown from
oid/bad-arclib/asn1-der.js, lib/oid.js
oid/bad-inputlib/asn1-der.js, lib/oid.js
oid/emptylib/asn1-der.js
oid/non-minimallib/asn1-der.js
oid/subidentifier-too-largelib/asn1-der.js
oid/truncatedlib/asn1-der.js
oid/unknown-namelib/oid.js

path/*

CodeThrown from
path/aia-bad-bodylib/path-validate.js
path/aia-emptylib/path-validate.js
path/aia-statuslib/path-validate.js
path/aia-too-largelib/path-validate.js
path/algorithm-mismatchlib/path-validate.js
path/bad-basic-constraintslib/path-validate.js
path/bad-extension-valuelib/path-validate.js
path/bad-idplib/path-validate.js
path/bad-inputlib/path-validate.js
path/bad-key-usagelib/path-validate.js
path/bad-name-constraintslib/path-validate.js
path/bad-policylib/path-validate.js
path/bad-signaturelib/path-validate.js
path/build-limitlib/path-validate.js
path/composite-key-usagelib/path-validate.js
path/distrusted-afterlib/path-validate.js
path/eku-not-permittedlib/path-validate.js
path/empty-pathlib/path-validate.js
path/empty-subject-no-critical-sanlib/path-validate.js
path/expiredlib/path-validate.js
path/extension-not-criticallib/path-validate.js
path/kem-key-usagelib/path-validate.js
path/missing-key-cert-signlib/path-validate.js
path/name-chaininglib/path-validate.js
path/name-constraint-excludedlib/path-validate.js
path/name-constraint-unsupportedlib/path-validate.js
path/no-pathlib/path-validate.js
path/not-a-calib/path-validate.js
path/not-yet-validlib/path-validate.js
path/path-length-exceededlib/path-validate.js
path/policy-requiredlib/path-validate.js
path/policy-tree-caplib/path-validate.js
path/purpose-not-trustedlib/path-validate.js
path/revocation-undeterminedlib/path-validate.js
path/revokedlib/path-validate.js
path/unrecognized-critical-extensionlib/path-validate.js
path/unsupported-algorithmlib/path-validate.js

pem/*

CodeThrown from
pem/bad-base64lib/schema-pkix.js
pem/bad-inputlib/schema-pkix.js
pem/bad-labellib/schema-pkix.js
pem/explanatory-textlib/schema-pkix.js
pem/label-mismatchlib/schema-pkix.js
pem/no-blocklib/schema-pkix.js

pkcs12/*

CodeThrown from
pkcs12/bad-algorithm-parameterslib/pkcs12-build.js
pkcs12/bad-attributeslib/schema-pkcs12.js
pkcs12/bad-authenticated-safelib/schema-pkcs12.js
pkcs12/bad-authsafelib/schema-pkcs12.js
pkcs12/bad-authsafe-typelib/schema-pkcs12.js
pkcs12/bad-bag-typelib/schema-pkcs12.js
pkcs12/bad-bag-valuelib/schema-pkcs12.js
pkcs12/bad-cert-typelib/schema-pkcs12.js
pkcs12/bad-crl-typelib/schema-pkcs12.js
pkcs12/bad-derlib/pkcs12-build.js, lib/schema-pkcs12.js
pkcs12/bad-friendly-namelib/schema-pkcs12.js
pkcs12/bad-inputlib/pkcs12-build.js
pkcs12/bad-integrity-modelib/pkcs12-build.js, lib/schema-pkcs12.js
pkcs12/bad-local-key-idlib/schema-pkcs12.js
pkcs12/bad-mac-datalib/schema-pkcs12.js
pkcs12/bad-mac-iterationslib/schema-pkcs12.js
pkcs12/bad-safe-contentinfolib/schema-pkcs12.js
pkcs12/bad-safe-contentinfo-typelib/schema-pkcs12.js
pkcs12/bad-safe-contentslib/schema-pkcs12.js
pkcs12/decrypt-failedlib/pkcs12-build.js
pkcs12/iteration-limitlib/pkcs12-build.js
pkcs12/mac-mismatchlib/pkcs12-build.js
pkcs12/no-integritylib/pkcs12-build.js
pkcs12/no-recipient-keylib/pkcs12-build.js
pkcs12/not-a-pfxlib/schema-pkcs12.js
pkcs12/signature-invalidlib/pkcs12-build.js
pkcs12/too-deeplib/pkcs12-build.js, lib/schema-pkcs12.js
pkcs12/too-many-elementslib/schema-pkcs12.js
pkcs12/unsupported-algorithmlib/pkcs12-build.js

pkcs8/*

CodeThrown from
pkcs8/bad-attributeslib/schema-pkcs8.js
pkcs8/bad-orderlib/schema-pkcs8.js
pkcs8/bad-versionlib/schema-pkcs8.js
pkcs8/not-a-private-key-infolib/schema-pkcs8.js
pkcs8/not-an-encrypted-private-key-infolib/schema-pkcs8.js

pki/*

CodeThrown from
pki/invalidlib/framework-error.js

schema/*

CodeThrown from
schema/unknown-formatlib/schema-all.js

shbs/*

CodeThrown from
shbs/bad-inputlib/shbs.js
shbs/bad-public-keylib/shbs.js
shbs/bad-signaturelib/shbs.js
shbs/unsupported-parameter-setlib/shbs.js

sigstore/*

CodeThrown from
sigstore/bad-bundlelib/sigstore.js
sigstore/bad-bundle-versionlib/sigstore.js
sigstore/bad-certificatelib/sigstore.js
sigstore/bad-checkpointlib/sigstore.js
sigstore/bad-dsselib/sigstore.js
sigstore/bad-inclusion-prooflib/sigstore.js
sigstore/bad-inputlib/sigstore.js
sigstore/bad-keylib/sigstore.js
sigstore/bad-statementlib/sigstore.js
sigstore/bad-tlog-entrylib/sigstore.js
sigstore/chain-incompletelib/sigstore.js
sigstore/chain-invalidlib/sigstore.js
sigstore/dsse-verify-failedlib/sigstore.js
sigstore/entry-mismatchlib/sigstore.js
sigstore/identity-mismatchlib/sigstore.js
sigstore/inclusion-proof-mismatchlib/sigstore.js
sigstore/predicate-mismatchlib/sigstore.js
sigstore/unattested-timelib/sigstore.js
sigstore/unsigned-rootlib/sigstore.js
sigstore/unsupported-contentlib/sigstore.js

smime/*

CodeThrown from
smime/bad-capabilitieslib/schema-smime.js
smime/bad-capabilitylib/schema-smime.js
smime/bad-certslib/schema-smime.js
smime/bad-ess-cert-idlib/schema-smime.js
smime/bad-ess-cert-id-v2lib/schema-smime.js
smime/bad-general-nameslib/schema-smime.js
smime/bad-headerlib/smime.js
smime/bad-header-protectionlib/smime.js
smime/bad-inputlib/schema-smime.js, lib/smime.js
smime/bad-issuer-seriallib/schema-smime.js
smime/bad-mimelib/smime.js
smime/bad-multipartlib/smime.js
smime/bad-policieslib/schema-smime.js
smime/bad-policy-informationlib/schema-smime.js
smime/bad-signing-certificatelib/schema-smime.js
smime/bad-signing-certificate-v2lib/schema-smime.js
smime/micalg-mismatchlib/smime.js
smime/multi-valued-attributelib/schema-smime.js
smime/non-canonical-defaultlib/schema-smime.js
smime/smime-type-mismatchlib/smime.js
smime/too-largelib/smime.js
smime/unsupported-attributelib/schema-smime.js
smime/unsupported-typelib/smime.js

trust/*

CodeThrown from
trust/bad-blocklib/trust.js
trust/bad-csvlib/trust.js
trust/bad-distrust-afterlib/trust.js
trust/bad-inputlib/trust.js
trust/bad-octallib/trust.js
trust/bad-trust-valuelib/trust.js
trust/not-a-certificatelib/trust.js
trust/pairing-mismatchlib/trust.js
trust/purpose-not-trustedlib/trust.js

tsp/*

CodeThrown from
tsp/bad-accuracylib/schema-tsp.js
tsp/bad-derlib/schema-tsp.js
tsp/bad-extensionslib/schema-tsp.js
tsp/bad-failinfolib/schema-tsp.js
tsp/bad-gentimelib/schema-tsp.js
tsp/bad-inputlib/tsp-sign.js
tsp/bad-key-usagelib/tsp-sign.js
tsp/bad-message-imprintlib/schema-tsp.js
tsp/bad-orderinglib/schema-tsp.js
tsp/bad-requestlib/schema-tsp.js
tsp/bad-responselib/schema-tsp.js
tsp/bad-signaturelib/tsp-sign.js
tsp/bad-statuslib/schema-tsp.js
tsp/bad-status-infolib/schema-tsp.js
tsp/bad-tokenlib/schema-tsp.js
tsp/bad-tsalib/schema-tsp.js
tsp/bad-tsa-certificatelib/tsp-sign.js
tsp/bad-tst-infolib/schema-tsp.js
tsp/cert-binding-mismatchlib/tsp-sign.js
tsp/detached-tokenlib/schema-tsp.js
tsp/duplicate-extensionlib/schema-tsp.js
tsp/missing-signing-certificatelib/schema-tsp.js
tsp/missing-tokenlib/schema-tsp.js, lib/tsp-sign.js
tsp/multi-signerlib/schema-tsp.js
tsp/nonce-mismatchlib/tsp-sign.js
tsp/not-signed-datalib/schema-tsp.js
tsp/policy-mismatchlib/tsp-sign.js
tsp/tsa-mismatchlib/tsp-sign.js
tsp/unexpected-failinfolib/schema-tsp.js, lib/tsp-sign.js
tsp/unexpected-tokenlib/schema-tsp.js, lib/tsp-sign.js
tsp/unknown-critical-extensionlib/tsp-sign.js
tsp/unsupported-algorithmlib/tsp-sign.js
tsp/untrusted-tsalib/tsp-sign.js
tsp/wrong-econtent-typelib/schema-tsp.js

webauthn/*

CodeThrown from
webauthn/aaguid-mismatchlib/webauthn.js
webauthn/bad-att-certlib/webauthn.js
webauthn/bad-att-stmtlib/webauthn.js
webauthn/bad-attestation-objectlib/webauthn.js
webauthn/bad-auth-datalib/webauthn.js
webauthn/bad-cose-keylib/webauthn.js
webauthn/bad-credential-idlib/webauthn.js
webauthn/bad-inputlib/webauthn.js
webauthn/bad-signaturelib/webauthn.js
webauthn/bad-tpmlib/webauthn.js
webauthn/key-mismatchlib/webauthn.js
webauthn/unsupported-algorithmlib/webauthn.js
webauthn/unsupported-formatlib/webauthn.js
webauthn/verify-errorlib/webauthn.js
webauthn/verify-failedlib/webauthn.js

webcrypto/*

CodeThrown from
webcrypto/datalib/webcrypto.js
webcrypto/invalid-accesslib/webcrypto.js
webcrypto/not-supportedlib/webcrypto.js
webcrypto/operationlib/webcrypto.js
webcrypto/syntaxlib/webcrypto.js

x509/*

CodeThrown from
x509/bad-extensionslib/schema-x509.js
x509/bad-inputlib/x509-sign.js
x509/bad-issuerlib/schema-x509.js, lib/x509-sign.js
x509/bad-signature-algorithmlib/schema-x509.js
x509/bad-tbslib/schema-x509.js
x509/bad-validitylib/schema-x509.js
x509/bad-versionlib/schema-x509.js
x509/not-a-certificatelib/schema-x509.js