java.lang.Object | |
↳ | com.pdftron.crypto.X501DistinguishedName |
This class represents a distinguished name (DN) as defined in X.501. See the X.500 standards, RFC 5280, and an OID repository for more information.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
X501DistinguishedName(long impl_ptr) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
long | __GetHandle() | ||||||||||
void |
close()
Frees the native memory of the object.
| ||||||||||
void |
destroy()
Frees the native memory of the object.
| ||||||||||
X501AttributeTypeAndValue[] |
getAllAttributesAndValues()
Retrieves all of the attribute-type-to-value pairs in this distinguished name.
| ||||||||||
String[] |
getStringValuesForAttribute(ObjectIdentifier in_oid)
Returns a container full of string representations of all the values in this distinguished name that match a particular attribute's object identifier (OID).
| ||||||||||
boolean |
hasAttribute(ObjectIdentifier in_oid)
Returns whether this distinguished name contains a particular attribute, identified by its object identifier (OID).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.AutoCloseable
|
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.
PDFNetException |
---|
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.
PDFNetException |
---|
Retrieves all of the attribute-type-to-value pairs in this distinguished name.
PDFNetException |
---|
Returns a container full of string representations of all the values in this distinguished name that match a particular attribute's object identifier (OID). If an attribute's OID defines the corresponding value to not be of a string type, then that value will not be returned from this function.
in_oid | the object identifier representing the sought attribute. |
---|
PDFNetException |
---|
Returns whether this distinguished name contains a particular attribute, identified by its object identifier (OID).
in_oid | the object identifier representing the sought attribute. |
---|
PDFNetException |
---|