Skip to main content

ExtensionValueFactory

Constructors

new ExtensionValueFactory()

new ExtensionValueFactory(): ExtensionValueFactory

Returns

ExtensionValueFactory

Properties

types?

static optional types: Record<string, ExtensionValueType>

Methods

find()

static find(id): null | ExtensionValueType

Parameters

id: string

Returns

null | ExtensionValueType


fromBER()

static fromBER(id, raw): any

Parameters

id: string

raw: BufferSource

Returns

any


register()

static register(id, name, type): void

Parameters

id: string

name: string

type: ExtensionValueConstructor

Returns

void