Class: ObjectIdentifier

PDFNet. ObjectIdentifier


new ObjectIdentifier()

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

Extends

Members


<static> Predefined

Type:
  • number
Properties:
Name Type Description
e_commonName number
e_surname number
e_countryName number
e_localityName number
e_stateOrProvinceName number
e_streetAddress number
e_organizationName number
e_organizationalUnitName number

Methods


<static> createFromIntArray(in_list)

Parameters:
Name Type Description
in_list Array.<number>
Returns:
A promise that resolves to an object of type: "PDFNet.ObjectIdentifier"
Type
Promise.<PDFNet.ObjectIdentifier>

<static> createFromPredefined(in_oid_enum)

Constructs an ObjectIdentifier from an enum.
Parameters:
Name Type Description
in_oid_enum number the enumerated value to use Note: Not all possible OID values are available as enum values.
Returns:
A promise that resolves to an object of type: "PDFNet.ObjectIdentifier"
Type
Promise.<PDFNet.ObjectIdentifier>

destroy()

Destructor
Inherited From:
Returns:
Type
Promise.<void>

getRawValue()

Retrieves the value of the object identifier.
Returns:
A promise that resolves to the value of the object identifier, as a container of integer components.
Type
Promise.<Array.<number>>

takeOwnership()

Take the ownership of this object, so that PDFNet.runWithCleanup won't destroy this object.
Inherited From:
Returns:
Type
void