Class ObjectIdentifier
This class represents an object identifier (OID), as defined by ITU and used in X.509.
Inheritance
System.Object
ObjectIdentifier
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: pdftron.Crypto
Assembly: PDFNetiOS.dll
Syntax
public class ObjectIdentifier : IDisposable
Constructors
ObjectIdentifier(DigestAlgorithm.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(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.
ObjectIdentifier(Int32[])
Constructor from array of unsigned integer components of an object identifier.
Declaration
public ObjectIdentifier(int[] in_arr)
Parameters
Type | Name | Description |
---|---|---|
System.Int32[] | in_arr | array of integers to use |
ObjectIdentifier(IntPtr)
Declaration
public ObjectIdentifier(IntPtr impl_ptr)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | impl_ptr |
Methods
Destroy()
Declaration
public void Destroy()
Dispose()
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Finalize()
Declaration
protected void Finalize()
GetRawValue()
Retrieves the value of the object identifier.
Declaration
public uint[] GetRawValue()
Returns
Type | Description |
---|---|
System.UInt32[] | the value of the object identifier, as a container of integer components |
Implements
System.IDisposable