Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CertificateSet

Represents the CertificateSet structure described in RFC5652

Hierarchy

Implements

Index

Constructors

Properties

certificates: CertificateSetItem[]
CLASS_NAME: string = "CertificateSet"

Name of the class

Accessors

  • get className(): string

Methods

  • fromSchema(schema: any): void
  • toSchema(): Set
  • 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

    CertificateSet ::= SET OF CertificateChoices
    
    CertificateChoices ::= CHOICE {
       certificate Certificate,
       extendedCertificate [0] IMPLICIT ExtendedCertificate,  -- Obsolete
       v1AttrCert [1] IMPLICIT AttributeCertificateV1,        -- Obsolete
       v2AttrCert [2] IMPLICIT AttributeCertificateV2,
       other [3] IMPLICIT OtherCertificateFormat }
    

    Parameters

    • parameters: SchemaParameters<{ certificates?: string }> = {}

      Input parameters for the schema

    Returns any

    ASN.1 schema object

Generated using TypeDoc