summaryrefslogtreecommitdiffstats
path: root/comm/third_party/asn1js/src/VisibleString.ts
diff options
context:
space:
mode:
Diffstat (limited to 'comm/third_party/asn1js/src/VisibleString.ts')
-rw-r--r--comm/third_party/asn1js/src/VisibleString.ts22
1 files changed, 22 insertions, 0 deletions
diff --git a/comm/third_party/asn1js/src/VisibleString.ts b/comm/third_party/asn1js/src/VisibleString.ts
new file mode 100644
index 0000000000..aead80a4cc
--- /dev/null
+++ b/comm/third_party/asn1js/src/VisibleString.ts
@@ -0,0 +1,22 @@
+import { LocalSimpleStringBlockParams, LocalSimpleStringBlock, LocalSimpleStringBlockJson } from "./internals/LocalSimpleStringBlock";
+import { typeStore } from "./TypeStore";
+
+export type VisibleStringParams = LocalSimpleStringBlockParams;
+export type VisibleStringJson = LocalSimpleStringBlockJson;
+
+export class VisibleString extends LocalSimpleStringBlock {
+
+ static {
+ typeStore.VisibleString = this;
+ }
+
+ public static override NAME = "VisibleString";
+
+ constructor(parameters: VisibleStringParams = {}) {
+ super(parameters);
+
+ this.idBlock.tagClass = 1; // UNIVERSAL
+ this.idBlock.tagNumber = 26; // VisibleString
+ }
+
+}