예제 #1
0
 /// <summary>
 /// Represents an ASN.1 field definition.
 /// </summary>
 /// <param name="FieldName">Field name.</param>
 /// <param name="Tag">Tag</param>
 /// <param name="Type">Type.</param>
 public Asn1FieldDefinition(string FieldName, int?Tag, Asn1Type Type)
     : base()
 {
     this.fieldName = FieldName;
     this.type      = Type;
     this.tag       = Tag;
 }
예제 #2
0
 /// <summary>
 /// Represents an ASN.1 Type definition.
 /// </summary>
 /// <param name="TypeName">Type name.</param>
 /// <param name="Tag">Tag</param>
 /// <param name="Definition">Definition</param>
 public Asn1TypeDefinition(string TypeName, int?Tag, Asn1Type Definition)
     : base()
 {
     this.typeName   = TypeName;
     this.definition = Definition;
     this.tag        = Tag;
 }
 /// <summary>
 /// Represents an ASN.1 field value definition.
 /// </summary>
 /// <param name="FieldName">Field name.</param>
 /// <param name="Type">Type</param>
 /// <param name="Value">Value</param>
 public Asn1FieldValueDefinition(string FieldName, Asn1Type Type, Asn1Value Value)
     : base()
 {
     this.fieldName = FieldName;
     this.type      = Type;
     this.value     = Value;
 }
예제 #4
0
 /// <summary>
 /// Represents a ASN.1 SEQUENCE OF construct.
 /// </summary>
 /// <param name="Name">Optional field or type name.</param>
 /// <param name="TypeDef">If construct is part of a type definition.</param>
 /// <param name="Size">Optional SIZE</param>
 /// <param name="ElementType">Element type.</param>
 public Asn1SequenceOf(string Name, bool TypeDef, Asn1Values Size,
                       Asn1Type ElementType)
     : base(Name, TypeDef)
 {
     this.size        = Size;
     this.elementType = ElementType;
 }
예제 #5
0
 /// <summary>
 /// Represents an ASN.1 field value definition.
 /// </summary>
 /// <param name="FieldName">Field name.</param>
 /// <param name="Type">Type</param>
 /// <param name="Value">Value</param>
 /// <param name="Document">ASN.1 Document in where the value is defined.</param>
 public Asn1FieldValueDefinition(string FieldName, Asn1Type Type, Asn1Value Value,
                                 Asn1Document Document)
     : base()
 {
     this.fieldName = FieldName;
     this.type      = Type;
     this.value     = Value;
     this.document  = Document;
 }