new X501AttributeTypeAndValue()
This class represents an AttributeTypeAndValue as mentioned in RFC 5280 in the context of DistinguishedNames and as defined in ITU X.501.
Extends
Methods
-
destroy()
-
Destructor
- Inherited From:
Returns:
- Type
- Promise.<void>
-
getAttributeTypeOID()
-
Retrieves the OID (i.e. one of the object identifiers from the X.500 attribute types) in the form of integer components in a container.
Returns:
A promise that resolves to an ObjectIdentifier object.- Type
- Promise.<PDFNet.ObjectIdentifier>
-
getStringValue()
-
Retrieves the value associated with the contained OID (object identifier) as a string, if the value is defined by the OID to be of a string type.
Returns:
A promise that resolves to a string containing the string value.- Type
- Promise.<string>
-
takeOwnership()
-
Take the ownership of this object, so that PDFNet.runWithCleanup won't destroy this object.
- Inherited From:
Returns:
- Type
- void