Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AttributeCertificateInfoV2

Represents the AttributeCertificateInfoV2 structure described in RFC5755

Hierarchy

Implements

Index

Constructors

Properties

attrCertValidityPeriod: AttCertValidityPeriod
attributes: Attribute[]
extensions?: Extensions
holder: Holder
issuerUniqueID?: BitString
serialNumber: Integer
version: number
CLASS_NAME: string = "AttributeCertificateInfoV2"

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: "version"): number
  • defaultValues(memberName: "holder"): Holder
  • defaultValues(memberName: "issuer"): GeneralNames | V2Form
  • defaultValues(memberName: "signature"): AlgorithmIdentifier
  • defaultValues(memberName: "serialNumber"): Integer
  • defaultValues(memberName: "attrCertValidityPeriod"): AttCertValidityPeriod
  • defaultValues(memberName: "attributes"): Attribute[]
  • defaultValues(memberName: "issuerUniqueID"): BitString
  • defaultValues(memberName: "extensions"): Extensions
  • 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

    AttributeCertificateInfoV2 ::= SEQUENCE {
      version                 AttCertVersion, -- version is v2
      holder                  Holder,
      issuer                  AttCertIssuer,
      signature               AlgorithmIdentifier,
      serialNumber            CertificateSerialNumber,
      attrCertValidityPeriod  AttCertValidityPeriod,
      attributes              SEQUENCE OF Attribute,
      issuerUniqueID          UniqueIdentifier OPTIONAL,
      extensions              Extensions OPTIONAL
    }
    

    Parameters

    Returns any

    ASN.1 schema object

Generated using TypeDoc