Package com.oss.asn1

Class UnrestrCharacterString

All Implemented Interfaces:
Serializable, Cloneable

public class UnrestrCharacterString extends Sequence
The UnrestrCharacterString class represents the ASN.1 CHARACTER STRING type. Note that "data-value-descriptor" is not included in the class, for it is constrained to be absent. It uses the top-level nested class, Identification, from the EmbeddedPDV class.

 UnrestrictedCharacterString ::= [UNIVERSAL 29] SEQUENCE {
        identification [0] CHOICE {
                syntaxes [0] SEQUENCE {
                    abstract [0] OBJECT IDENTIFIER,
                    transfer [1] OBJECT IDENTIFIER
                },
                syntax [1] OBJECT IDENTIFIER,
                presentation-context-id [2] INTEGER,
                context-negotiation [3] SEQUENCE {
                    presentation-context-id [0] INTEGER,
                    transfer-syntax [1] OBJECT IDENTIFIER
                },
                transfer-syntax [4] OBJECT IDENTIFIER,
                fixed [5] NULL
        },
        -- data-value-descriptor [1] ObjectDescriptor OPTIONAL,
        string-value [2] OCTET STRING
 } -- (WITH COMPONENTS {... , data-value-descriptor ABSENT })
 
Since:
ASN.1/Java 1.0-beta A
See Also:
  • Constructor Details

    • UnrestrCharacterString

      public UnrestrCharacterString()
      The default constructor.
    • UnrestrCharacterString

      public UnrestrCharacterString(EmbeddedPDV.Identification identification, OctetString string_value)
      Construct with components.
      Parameters:
      identification - the identification component.
      string_value - the string-value component.
  • Method Details

    • getIdentification

      public EmbeddedPDV.Identification getIdentification()
      The accessor for the field "identification".
      Returns:
      the value of the "identification" component of the Identification class
    • getString_value

      public OctetString getString_value()
      The accessor for the field "string-value".
      Returns:
      the value of the "string_value" component of the OctetString class
    • setIdentification

      public void setIdentification(EmbeddedPDV.Identification identification)
      The mutator for the field "identification".
      Parameters:
      identification - the value of the component to set in the Sequence.
    • setString_value

      public void setString_value(OctetString string_value)
      The mutator for the field "string-value".
      Parameters:
      string_value - the value of the component to set in the Sequence.