All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pdftron::PDF::ObjectIdentifier Class Reference

#include <ObjectIdentifier.h>

Public Types

enum  Predefined {
  e_commonName = 0, e_surname = 1, e_countryName = 2, e_localityName = 3,
  e_stateOrProvinceName = 4, e_streetAddress = 5, e_organizationName = 6, e_organizationalUnitName = 7
}
 

Public Member Functions

 ObjectIdentifier (const ObjectIdentifier &other)
 
ObjectIdentifieroperator= (const ObjectIdentifier &other)
 
 ~ObjectIdentifier ()
 
void Destroy ()
 
 ObjectIdentifier (const Predefined in_oid_enum)
 
 ObjectIdentifier (const UInt32 *in_arr, const size_t in_size)
 
std::vector< UInt32GetRawValue () const
 
 ObjectIdentifier (TRN_ObjectIdentifier impl)
 

Public Attributes

TRN_ObjectIdentifier m_impl
 

Detailed Description

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

Definition at line 18 of file ObjectIdentifier.h.

Member Enumeration Documentation

Enumerator
e_commonName 
e_surname 
e_countryName 
e_localityName 
e_stateOrProvinceName 
e_streetAddress 
e_organizationName 
e_organizationalUnitName 

Definition at line 22 of file ObjectIdentifier.h.

Constructor & Destructor Documentation

pdftron::PDF::ObjectIdentifier::ObjectIdentifier ( const ObjectIdentifier other)
pdftron::PDF::ObjectIdentifier::~ObjectIdentifier ( )
pdftron::PDF::ObjectIdentifier::ObjectIdentifier ( const Predefined  in_oid_enum)

Constructs an ObjectIdentifier from an enum.

Parameters
in_oid_enumthe enumerated value to use
Note
Not all possible OID values are available as enum values.
pdftron::PDF::ObjectIdentifier::ObjectIdentifier ( const UInt32 in_arr,
const size_t  in_size 
)

Constructor from array of unsigned integer components of an object identifier.

Parameters
in_arr– a pointer to an array of integers to use
in_size– the number of items items in the array
pdftron::PDF::ObjectIdentifier::ObjectIdentifier ( TRN_ObjectIdentifier  impl)

Member Function Documentation

void pdftron::PDF::ObjectIdentifier::Destroy ( )
std::vector<UInt32> pdftron::PDF::ObjectIdentifier::GetRawValue ( ) const

Retrieves the value of the object identifier.

Returns
the value of the object identifier, as a container of integer components.
ObjectIdentifier& pdftron::PDF::ObjectIdentifier::operator= ( const ObjectIdentifier other)

Member Data Documentation

TRN_ObjectIdentifier pdftron::PDF::ObjectIdentifier::m_impl

Definition at line 72 of file ObjectIdentifier.h.


The documentation for this class was generated from the following file: