Show / Hide Table of Contents

# Class ObjectIdentifier

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

##### Inheritance

object
ObjectIdentifier

##### Implements

IDisposable

##### Inherited Members

object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()

###### Namespace: pdftron.Crypto

###### Assembly: PDFNet.dll

##### Syntax

    public sealed class ObjectIdentifier : IDisposable

### Constructors

#### ObjectIdentifier(int[])

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

##### Declaration

    public ObjectIdentifier(int[] in_arr)

##### Parameters

Type | Name | Description
--- | --- | ---
int[] | in_arr | array of integers to use

#### ObjectIdentifier(Type)

Constructs an ObjectIdentifier from a DigestAlgorithm Type.

##### Declaration

    public ObjectIdentifier(DigestAlgorithm.Type in_digest_algorithm_type)

##### Parameters

Type | Name | Description
--- | --- | ---
DigestAlgorithm.Type | in_digest_algorithm_type | the type enumeration corresponding to your desired digest algorithm

#### ObjectIdentifier(Predefined)

Constructs an ObjectIdentifier from an enum.

##### Declaration

    public ObjectIdentifier(ObjectIdentifier.Predefined in_oid_enum)

##### Parameters

Type | Name | Description
--- | --- | ---
ObjectIdentifier.Predefined | in_oid_enum | the enumerated value to use

##### Remarks

Not all possible OID values are available as enum values.

### Methods

#### Dispose()

##### Declaration

    public override sealed void Dispose()

#### Dispose(bool)

##### Declaration

    [HandleProcessCorruptedStateExceptions]
    protected void Dispose(bool A_0)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | A_0 |

#### ~ObjectIdentifier()

##### Declaration

    protected ~ObjectIdentifier()

#### GetRawValue()

Retrieves the value of the object identifier.

##### Declaration

    public uint[] GetRawValue()

##### Returns

Type | Description
--- | ---
uint[] | the value of the object identifier, as a container of integer components

### Implements

IDisposable