Package com.oss.asn1
Class EmbeddedPDV
java.lang.Object
com.oss.asn1.AbstractData
com.oss.asn1.AbstractCollection
com.oss.asn1.Sequence
com.oss.asn1.EmbeddedPDV
- All Implemented Interfaces:
Serializable
,Cloneable
The EmbeddedPDV class represents the ASN.1 EMBEDDED PDV type. Note that
"data-value-descriptor" is not included in the class as it is constrained
to be absent.
EmbeddedPDVType ::= [UNIVERSAL 11] 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, data-value [2] OCTET STRING } -- (WITH COMPONENTS {... , data-value-descriptor ABSENT })
- Since:
- ASN.1/Java 1.0-beta A
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The Identification class represents the ASN1 type of the identification component. -
Field Summary
Fields inherited from class com.oss.asn1.AbstractData
EQUALS, GREATER_THAN, LESS_THAN
-
Constructor Summary
ConstructorsConstructorDescriptionThe default constructor.EmbeddedPDV
(EmbeddedPDV.Identification identification, OctetString data_value) Construct with components. -
Method Summary
Modifier and TypeMethodDescriptionThe accessor for the field "data-value".The accessor for the field "identification".void
setData_value
(OctetString data_value) The mutator for the field "data-value".void
setIdentification
(EmbeddedPDV.Identification identification) The mutator for the field "identification".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
-
EmbeddedPDV
public EmbeddedPDV()The default constructor. -
EmbeddedPDV
Construct with components.- Parameters:
identification
- the identification component.data_value
- the data-value component.
-
-
Method Details
-
getIdentification
The accessor for the field "identification".- Returns:
- the value of the "identification" component of the Identification class
-
getData_value
The accessor for the field "data-value".- Returns:
- the value of the "data_value" component of the OctetString class
-
setIdentification
The mutator for the field "identification".- Parameters:
identification
- the value of the 1st component to set in the Sequence.
-
setData_value
The mutator for the field "data-value".- Parameters:
data_value
- the value of the 2nd component to set in the Sequence.
-