Skip to content

EkuCheckFailure ​

EkuCheckFailure ​

Failure from checkExtendedKeyUsage with the chain index of the certificate that failed.

ts
interface EkuCheckFailure extends Micro509Error<"leaf_eku_missing" | "intermediate_eku_constraint" | DecodeRefusalCode> {
	readonly ok: false;
	readonly index: number;
}

Properties

  • readonly ok: false — Always false for failures.
  • readonly index: number — Zero-based index into the chain of the certificate that lacks the required EKU.

Released under the MIT License.