Package com.oss.asn1
Class UnrestrCharacterString
java.lang.Object
com.oss.asn1.AbstractData
com.oss.asn1.AbstractCollection
com.oss.asn1.Sequence
com.oss.asn1.UnrestrCharacterString
- All Implemented Interfaces:
Serializable
,Cloneable
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:
-
Field Summary
Fields inherited from class com.oss.asn1.AbstractData
EQUALS, GREATER_THAN, LESS_THAN
-
Constructor Summary
ConstructorsConstructorDescriptionThe default constructor.UnrestrCharacterString
(EmbeddedPDV.Identification identification, OctetString string_value) Construct with components. -
Method Summary
Modifier and TypeMethodDescriptionThe accessor for the field "identification".The accessor for the field "string-value".void
setIdentification
(EmbeddedPDV.Identification identification) The mutator for the field "identification".void
setString_value
(OctetString string_value) The mutator for the field "string-value".Methods inherited from class com.oss.asn1.AbstractCollection
clone, delete, enumeratedComponents, hashCode
Methods inherited from class com.oss.asn1.AbstractData
equals, isEncodable, isPDU, isValid, toString, toString
-
Constructor Details
-
UnrestrCharacterString
public UnrestrCharacterString()The default constructor. -
UnrestrCharacterString
Construct with components.- Parameters:
identification
- the identification component.string_value
- the string-value component.
-
-
Method Details
-
getIdentification
The accessor for the field "identification".- Returns:
- the value of the "identification" component of the Identification class
-
getString_value
The accessor for the field "string-value".- Returns:
- the value of the "string_value" component of the OctetString class
-
setIdentification
The mutator for the field "identification".- Parameters:
identification
- the value of the component to set in the Sequence.
-
setString_value
The mutator for the field "string-value".- Parameters:
string_value
- the value of the component to set in the Sequence.
-