Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DistributionPoint

Represents the DistributionPoint structure described in RFC5280

Hierarchy

Implements

Index

Constructors

Properties

cRLIssuer?: GeneralName[]
distributionPoint?: DistributionPointName
reasons?: BitString
CLASS_NAME: string = "DistributionPoint"

Name of the class

Accessors

  • get className(): string

Methods

  • fromSchema(schema: any): void
  • toSchema(): Sequence
  • toString(encoding?: "base64" | "base64url" | "hex"): string
  • blockName(): string
  • defaultValues(memberName: "distributionPoint"): DistributionPointName
  • defaultValues(memberName: "reasons"): BitString
  • defaultValues(memberName: "cRLIssuer"): GeneralName[]
  • fromBER<T>(this: PkiObjectConstructor<T>, raw: BufferSource): T
  • Creates PKI object from the raw data

    Type Parameters

    Parameters

    • this: PkiObjectConstructor<T>
    • raw: BufferSource

      ASN.1 encoded raw data

    Returns T

    Initialized and filled current class object

  • schema(parameters?: SchemaParameters<{ cRLIssuer?: string; cRLIssuerNames?: string; distributionPoint?: string; distributionPointNames?: string; reasons?: string }>): any
  • Returns value of pre-defined ASN.1 schema for current class

    asn

    ASN.1 schema

    DistributionPoint ::= SEQUENCE {
       distributionPoint       [0]     DistributionPointName OPTIONAL,
       reasons                 [1]     ReasonFlags OPTIONAL,
       cRLIssuer               [2]     GeneralNames OPTIONAL }
    
    DistributionPointName ::= CHOICE {
       fullName                [0]     GeneralNames,
       nameRelativeToCRLIssuer [1]     RelativeDistinguishedName }
    
    ReasonFlags ::= BIT STRING {
       unused                  (0),
       keyCompromise           (1),
       cACompromise            (2),
       affiliationChanged      (3),
       superseded              (4),
       cessationOfOperation    (5),
       certificateHold         (6),
       privilegeWithdrawn      (7),
       aACompromise            (8) }
    

    Parameters

    • parameters: SchemaParameters<{ cRLIssuer?: string; cRLIssuerNames?: string; distributionPoint?: string; distributionPointNames?: string; reasons?: string }> = {}

      Input parameters for the schema

    Returns any

    ASN.1 schema object

Generated using TypeDoc