Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PolicyQualifierInfo

Represents the PolicyQualifierInfo structure described in RFC5280

Hierarchy

Implements

Index

Constructors

Properties

policyQualifierId: string
qualifier: any
CLASS_NAME: string = "PolicyQualifierInfo"

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: "policyQualifierId"): string
  • defaultValues(memberName: "qualifier"): Any
  • 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<{ policyQualifierId?: string; qualifier?: string }>): Sequence
  • Returns value of pre-defined ASN.1 schema for current class

    asn

    ASN.1 schema

    PolicyQualifierInfo ::= SEQUENCE {
       policyQualifierId  PolicyQualifierId,
       qualifier          ANY DEFINED BY policyQualifierId }
    
    id-qt          OBJECT IDENTIFIER ::= { id-pkix 2 }
    id-qt-cps      OBJECT IDENTIFIER ::= { id-qt 1 }
    id-qt-unotice  OBJECT IDENTIFIER ::= { id-qt 2 }
    
    PolicyQualifierId ::= OBJECT IDENTIFIER ( id-qt-cps | id-qt-unotice )
    

    Parameters

    • parameters: SchemaParameters<{ policyQualifierId?: string; qualifier?: string }> = {}

      Input parameters for the schema

    Returns Sequence

    ASN.1 schema object

Generated using TypeDoc