Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
UserDefinedLiteral.cs
1using System;
2using System.Collections.Generic;
3using System.Text;
4
6{
11 {
12 private readonly string value;
13
19 {
20 this.value = Value;
21 }
22
26 public string Value => this.value;
27
35 public override Asn1Node Parse(Asn1Document Document, Asn1Macro Macro)
36 {
37 Document.AssertNextToken(this.value);
38 return new Values.Asn1StringValue(this.value);
39 }
40
42 public override string ToString()
43 {
44 return "\"" + this.value + "\"";
45 }
46 }
47}
Represents an ASN.1 document.
Definition: Asn1Document.cs:21
Base class for all ASN.1 nodes.
Definition: Asn1Node.cs:38
Abstract base class for user-defined parts in macros
override Asn1Node Parse(Asn1Document Document, Asn1Macro Macro)
Parses the portion of the document at the current position, according to the instructions available i...