Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Holder

Represents the Holder structure described in RFC5755

Hierarchy

Implements

Index

Constructors

Properties

baseCertificateID?: IssuerSerial
entityName?: GeneralNames
objectDigestInfo?: ObjectDigestInfo
CLASS_NAME: string = "Holder"

Name of the class

Accessors

  • get className(): string

Methods

  • fromSchema(schema: any): void
  • toSchema(): Sequence
  • toString(encoding?: "base64" | "base64url" | "hex"): string
  • blockName(): string
  • 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

  • Returns value of pre-defined ASN.1 schema for current class

    asn

    ASN.1 schema

    Holder ::= SEQUENCE {
      baseCertificateID   [0] IssuerSerial OPTIONAL,
          -- the issuer and serial number of
          -- the holder's Public Key Certificate
      entityName          [1] GeneralNames OPTIONAL,
          -- the name of the claimant or role
      objectDigestInfo    [2] ObjectDigestInfo OPTIONAL
          -- used to directly authenticate the holder,
          -- for example, an executable
    }
    

    Parameters

    • parameters: HolderSchema = {}

      Input parameters for the schema

    Returns any

    ASN.1 schema object

Generated using TypeDoc