The ASN.1 Base 10 REAL type is converted to a Java class that extends the Asn1Real10 run-time class. A base 10 real is specified in ASN.1 using a WITH COMPONENTS clause such as the following:
REAL(WITH COMPONENTS { ..., base (10) })
It is also used for XSD decimal type specifications.
In this case, the real number is stored as a C# character string in the character string base class:
public String mValue;
ASN.1 Production: |
<name> ::= REAL (WITH COMPONENTS { base(10) }) |
XSD Types: |
<xsd:decimal> |
Generated C# class: |
public class <name> : Asn1Real10 { public <name> () { base(); } public <name> (String value_) { base (value_); } } |