Skip to content

DistributionPoint

Input for a single CRL Distribution Point (RFC 5280 §4.2.1.13).

At least one of distributionPoint or crlIssuer must be provided. The union enforces this constraint at the type level.

ts
type DistributionPoint = {
  readonly distributionPoint: DistributionPointName;
  readonly reasons?: readonly DistributionPointReason[];
  readonly crlIssuer?: readonly GeneralName[]
} | {
  readonly distributionPoint?: DistributionPointName;
  readonly reasons?: readonly DistributionPointReason[];
  readonly crlIssuer: readonly GeneralName[]
}

Released under the MIT License.