public class

X501AttributeTypeAndValue

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.X501AttributeTypeAndValue

Class Overview

This class represents an AttributeTypeAndValue as mentioned in RFC 5280 in the context of DistinguishedNames and as defined in ITU X.501.

Summary

Public Constructors
X501AttributeTypeAndValue(long impl_ptr)
Public Methods
long __GetHandle()
void destroy()
Frees the native memory of the object.
long getAttributeTypeOID()
Retrieves the OID (i.e.
String 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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public X501AttributeTypeAndValue (long impl_ptr)

Public Methods

public long __GetHandle ()

public void destroy ()

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.

public long 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
  • an ObjectIdentifier object

public String 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 string containing the string value