summaryrefslogtreecommitdiffstats
path: root/comm/third_party/asn1js/src/Sequence.ts
blob: 3303283bb245edf452a9823ad64791ad151ba87e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { ConstructedParams, Constructed, ConstructedJson } from "./Constructed";
import { typeStore } from "./TypeStore";

export type SequenceParams = ConstructedParams;
export type SequenceJson = ConstructedJson;

export class Sequence extends Constructed {

  static {
    typeStore.Sequence = this;
  }

  public static override NAME = "SEQUENCE";

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

    this.idBlock.tagClass = 1; // UNIVERSAL
    this.idBlock.tagNumber = 16; // Sequence
  }

}