PKI-Lite - v1.0.5
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    blockLength: number
    error: string
    idBlock: LocalIdentificationBlock
    lenBlock: LocalLengthBlock
    name: string
    optional: boolean
    primitiveSchema?: BaseBlock<ValueBlock, LocalBaseBlockJson>
    valueBeforeDecodeView: Uint8Array

    3.0.0

    valueBlock: LocalSimpleStringValueBlock
    warnings: string[]
    NAME: string

    Accessors

    • get valueBeforeDecode(): ArrayBuffer

      Returns ArrayBuffer

      since version 3.0.0

    • set valueBeforeDecode(value: ArrayBuffer): void

      Parameters

      • value: ArrayBuffer

      Returns void

      since version 3.0.0

    Methods

    • Parameters

      • inputBuffer: ArrayBuffer | Uint8Array<ArrayBufferLike>
      • inputOffset: number
      • inputLength: number

      Returns number

    • Parameters

      • inputBuffer: ArrayBuffer | Uint8Array<ArrayBufferLike>

      Returns void

    • Parameters

      • inputString: string

      Returns void

    • String value

      Returns string

      3.0.0

    • Determines whether two object instances are equal

      Parameters

      • other: unknown

        Object to compare with the current object

      Returns other is Utf8String

    • Returns string

    • String value

      Parameters

      • value: string

        String value

      Returns void

      3.0.0

    • Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)

      Parameters

      • OptionalsizeOnly: boolean

        Flag that we need only a size of encoding, not a real array of bytes

      • Optionalwriter: ViewWriter

      Returns ArrayBuffer

      ASN.1 BER encoded array

    • Returns a JSON representation of an object

      Returns BaseBlockJson<LocalStringValueBlockJson>

      JSON object

    • Returns a string representation of an object.

      Parameters

      Returns string

    • Aux function, need to get a block name. Need to have it here for inheritance

      Returns string

      Returns name of the block