public class

ObjectIdentifier

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.ObjectIdentifier

Class Overview

This class represents an object identifier (OID), as defined by ITU and used in X.509.

Summary

Nested Classes
enum ObjectIdentifier.Predefined  
Constants
int e_common_name
int e_country_name
int e_locality_name
int e_organization_name
int e_organizational_unit_name
int e_state_or_province_name
int e_street_address
int e_surname
Public Constructors
ObjectIdentifier(long impl_ptr)
ObjectIdentifier(ObjectIdentifier.Predefined in_oid_enum)
Constructs an ObjectIdentifier from an enum.
ObjectIdentifier(int[] in_arr)
Constructor from array of unsigned integer components of an object identifier.
Public Methods
long __GetHandle()
void destroy()
Frees the native memory of the object.
int[] getRawValue()
Retrieves the value of the object identifier.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int e_common_name

Constant Value: 0 (0x00000000)

public static final int e_country_name

Constant Value: 2 (0x00000002)

public static final int e_locality_name

Constant Value: 3 (0x00000003)

public static final int e_organization_name

Constant Value: 6 (0x00000006)

public static final int e_organizational_unit_name

Constant Value: 7 (0x00000007)

public static final int e_state_or_province_name

Constant Value: 4 (0x00000004)

public static final int e_street_address

Constant Value: 5 (0x00000005)

public static final int e_surname

Constant Value: 1 (0x00000001)

Public Constructors

public ObjectIdentifier (long impl_ptr)

public ObjectIdentifier (ObjectIdentifier.Predefined in_oid_enum)

Constructs an ObjectIdentifier from an enum.

Parameters
in_oid_enum the enumerated value to use

public ObjectIdentifier (int[] in_arr)

Constructor from array of unsigned integer components of an object identifier.

Parameters
in_arr array of integers to use

Public Methods

public long __GetHandle ()

public void destroy ()

Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.

public int[] getRawValue ()

Retrieves the value of the object identifier.

Returns
  • the value of the object identifier, as a container of integer components