summaryrefslogtreecommitdiffstats
path: root/comm/third_party/asn1js/src/NumericString.ts
blob: a917fd1dc2ffcee57b6e5f0adf43c9e16a0f3c8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { LocalSimpleStringBlockParams, LocalSimpleStringBlock, LocalSimpleStringBlockJson } from "./internals/LocalSimpleStringBlock";
import { typeStore } from "./TypeStore";

export type NumericStringParams = LocalSimpleStringBlockParams;
export type NumericStringJson = LocalSimpleStringBlockJson;

export class NumericString extends LocalSimpleStringBlock {

  static {
    typeStore.NumericString = this;
  }

  public static override NAME = "NumericString";

  constructor(parameters: NumericStringParams = {}) {
    super(parameters);

    this.idBlock.tagClass = 1; // UNIVERSAL
    this.idBlock.tagNumber = 18; // NumericString
  }

}