Summary: Nested Classes | Ctors | Methods | Inherited Methods | [Expand All]
public class

# ObjectIdentifier

extends Object
implements AutoCloseable

java.lang.Object
↳ | com.pdftron.crypto.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 |

Public Constructors
| ObjectIdentifier(ObjectIdentifier.Predefined in_oid_enum) Constructs an ObjectIdentifier from an enum.
| ObjectIdentifier(DigestAlgorithm in_digest_algorithm_type) Constructs an ObjectIdentifier from a DigestAlgorithm Type.
| ObjectIdentifier(int[] in_arr) Constructor from array of unsigned integer components of an object identifier.

Public Methods
long | __GetHandle()
void | close() Frees the native memory of the object.
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
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()
From interface java.lang.AutoCloseable
abstract void | close()

## Public Constructors

#### public ObjectIdentifier (ObjectIdentifier.Predefined in_oid_enum)

Constructs an ObjectIdentifier from an enum. Not all possible OID values are available as enum values.

##### Parameters

in_oid_enum | the enumerated value to use

##### Throws

PDFNetException |

#### public ObjectIdentifier (DigestAlgorithm in_digest_algorithm_type)

Constructs an ObjectIdentifier from a DigestAlgorithm Type.

##### Parameters

in_digest_algorithm_type | -- the type enumeration corresponding to your desired digest algorithm

##### Throws

PDFNetException |

#### public ObjectIdentifier (int[] in_arr)

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

##### Parameters

in_arr | array of integers to use

##### Throws

PDFNetException |

## Public Methods

#### public long __GetHandle ()

#### public void close ()

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.

##### Throws

PDFNetException |

#### 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.

##### Throws

PDFNetException |

#### public int[] getRawValue ()

Retrieves the value of the object identifier.

##### Returns

- the value of the object identifier, as a container of integer components

##### Throws

PDFNetException |