summaryrefslogtreecommitdiffstats
path: root/comm/third_party/asn1js/src/Sequence.ts
diff options
context:
space:
mode:
Diffstat (limited to 'comm/third_party/asn1js/src/Sequence.ts')
-rw-r--r--comm/third_party/asn1js/src/Sequence.ts22
1 files changed, 22 insertions, 0 deletions
diff --git a/comm/third_party/asn1js/src/Sequence.ts b/comm/third_party/asn1js/src/Sequence.ts
new file mode 100644
index 0000000000..3303283bb2
--- /dev/null
+++ b/comm/third_party/asn1js/src/Sequence.ts
@@ -0,0 +1,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
+ }
+
+}