Package com.oss.asn1

Class InstanceOf

All Implemented Interfaces:
Serializable, Cloneable

public class InstanceOf extends Sequence
The InstanceOf class represents the ASN.1 INSTANCE OF type. ASN.1 notation for the INSTANCE OF type is
      INSTANCE OF DefinedObjectClass
where 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:
  • Constructor Details

    • InstanceOf

      public InstanceOf()
      The default constructor.
    • InstanceOf

      public InstanceOf(ObjectIdentifier type_id, OpenType value)
      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

      public ObjectIdentifier getType_id()
      The accessor for the field "type-id".
      Returns:
      the value of the "type-id" component of ObjectIdentifier class
    • setType_id

      public void setType_id(ObjectIdentifier type_id)
      The mutator for the field "type-id".
      Parameters:
      type_id - the value of the first component in Sequence to set.
    • getValue

      public OpenType getValue()
      The accessor for the field "value".
      Returns:
      the value of the "value" component of OpenType class
    • setValue

      public void setValue(OpenType value)
      The mutator for the field "value".
      Parameters:
      value - the value of the second component in Sequence to set.