Skip to content

EkuCheckResult ​

EkuCheckResult ​

Result of checkExtendedKeyUsage. Success carries no value; failure identifies the offending certificate.

ts
type EkuCheckResult = {
  readonly ok: true;
  readonly value: undefined
} | IndexedErrorResult<"leaf_eku_missing" | "intermediate_eku_constraint" | DecodeRefusalCode, Record<never, never>, EkuCheckFailure>

Released under the MIT License.