Package com.oss.asn1

Class NumericString

All Implemented Interfaces:
com.oss.asn1.Sizeable, Serializable, Cloneable

public class NumericString extends AbstractString16
The NumericString class represents the ASN.1 NumericString type.
Since:
ASN.1/Java 6.0
See Also:
  • Constructor Details

    • NumericString

      public NumericString()
      The default constructor.
    • NumericString

      public NumericString(String value)
      Construct from a String.
      Parameters:
      value - the String to set 'this' object to.
    • NumericString

      public NumericString(char[] value)
      Construct from a char array.
      Parameters:
      value - the char array to set 'this' object to.
  • Method Details

    • clone

      public NumericString clone()
      Clone 'this' object.
      Overrides:
      clone in class AbstractString16
      Returns:
      deep copy of 'this' object.
    • getTypeName

      public String getTypeName()
      Returns the name of ASN.1 type this java class represents.
      Overrides:
      getTypeName in class AbstractData
      Returns:
      the name of the ASN.1 type.