Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CertificateTemplate

Class from "[MS-WCCE]: Windows Client Certificate Enrollment Protocol"

Hierarchy

Implements

Index

Constructors

Properties

templateID: string
templateMajorVersion?: number
templateMinorVersion?: number
CLASS_NAME: string = "PkiObject"

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: "templateMinorVersion"): number
  • defaultValues(memberName: "templateMajorVersion"): number
  • defaultValues(memberName: "templateID"): 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

  • schema(parameters?: SchemaParameters<{ templateID?: string; templateMajorVersion?: string; templateMinorVersion?: string }>): any
  • Returns value of pre-defined ASN.1 schema for current class

    asn

    ASN.1 schema

    CertificateTemplateOID ::= SEQUENCE {
       templateID              OBJECT IDENTIFIER,
       templateMajorVersion    INTEGER (0..4294967295) OPTIONAL,
       templateMinorVersion    INTEGER (0..4294967295) OPTIONAL
    }
    

    Parameters

    • parameters: SchemaParameters<{ templateID?: string; templateMajorVersion?: string; templateMinorVersion?: string }> = {}

      Input parameters for the schema

    Returns any

    ASN.1 schema object

Generated using TypeDoc