Package com.oss.asn1

Class UniversalString

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

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

    • UniversalString

      public UniversalString()
      The default constructor.
    • UniversalString

      public UniversalString(int[] value)
      Construct from an int array.
      Parameters:
      value - the int array to set 'this' object to.
    • UniversalString

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

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

    • clone

      public UniversalString clone()
      Clone 'this' object.
      Overrides:
      clone in class AbstractString32
      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.