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