Package com.oss.asn1
Class InstanceOf
java.lang.Object
com.oss.asn1.AbstractData
com.oss.asn1.AbstractCollection
com.oss.asn1.Sequence
com.oss.asn1.InstanceOf
- All Implemented Interfaces:
Serializable
,Cloneable
The InstanceOf class represents the ASN.1 INSTANCE OF type.
ASN.1 notation for the INSTANCE OF type is
INSTANCE OF DefinedObjectClasswhere DefinedObjectClass should be defined to be of class TYPE-IDENTIFIER. The type is defined via associated SEQUENCE type which is:
[UNIVERSAL 8] SEQUENCE { type-id <DefinedObjectClass>.&id, value [0] <DefinedObjectClass>.&Type }
- 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.InstanceOf
(ObjectIdentifier type_id, OpenType value) Construct with components. -
Method Summary
Modifier and TypeMethodDescriptionThe accessor for the field "type-id".getValue()
The accessor for the field "value".void
setType_id
(ObjectIdentifier type_id) The mutator for the field "type-id".void
The mutator for the field "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
-
InstanceOf
public InstanceOf()The default constructor. -
InstanceOf
Construct with components.- Parameters:
type_id
- the value of the first component in Sequence to set.value
- the value of the second component in Sequence to set.
-
-
Method Details
-
getType_id
The accessor for the field "type-id".- Returns:
- the value of the "type-id" component of ObjectIdentifier class
-
setType_id
The mutator for the field "type-id".- Parameters:
type_id
- the value of the first component in Sequence to set.
-
getValue
The accessor for the field "value".- Returns:
- the value of the "value" component of OpenType class
-
setValue
The mutator for the field "value".- Parameters:
value
- the value of the second component in Sequence to set.
-