Class OIDConverter

java.lang.Object
org.asnlab.asndt.runtime.conv.AsnConverter
org.asnlab.asndt.runtime.conv.OIDConverter

public class OIDConverter extends AsnConverter
The OIDConverter can convert OBJECT IDENTIFIER/RELATIVE-OID value object to/from int array.
  • Field Details

  • Constructor Details

    • OIDConverter

      public OIDConverter()
  • Method Details

    • toValue

      public int[] toValue(Object object)
      Return the int array
      Parameters:
      object - The OID object
      Returns:
      The int array
    • toObject

      public Object toObject(int[] value)
      Return the OBJECT IDENTIFIER/RELATIVE-OID value object
      Parameters:
      value - The int array
      Returns:
      The OID object