#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, e_SHA1 = 8, e_SHA256 = 9, e_SHA384 = 10, e_SHA512 = 11, e_RIPEMD160 = 12, e_RSA_encryption_PKCS1 = 13, e_RSASSA_PSS = 14, e_MGF1 = 15 } |
Public Member Functions | |
ObjectIdentifier (const ObjectIdentifier &other) | |
ObjectIdentifier & | operator= (const ObjectIdentifier &other) |
~ObjectIdentifier () | |
void | Destroy () |
ObjectIdentifier (const Predefined in_oid_enum) | |
ObjectIdentifier (const UInt32 *in_arr, const size_t in_size) | |
ObjectIdentifier (const DigestAlgorithm::Type in_digest_algorithm_type) | |
std::vector< UInt32 > | GetRawValue () const |
ObjectIdentifier (TRN_ObjectIdentifier impl) | |
Public Attributes | |
TRN_ObjectIdentifier | m_impl |
This class represents an object identifier (OID), as defined by ITU and used in X.509.
Definition at line 18 of file ObjectIdentifier.h.
Definition at line 22 of file ObjectIdentifier.h.
pdftron::Crypto::ObjectIdentifier::ObjectIdentifier | ( | const ObjectIdentifier & | other | ) |
pdftron::Crypto::ObjectIdentifier::~ObjectIdentifier | ( | ) |
pdftron::Crypto::ObjectIdentifier::ObjectIdentifier | ( | const Predefined | in_oid_enum | ) |
Constructs an ObjectIdentifier from an enum.
in_oid_enum | the enumerated value to use |
pdftron::Crypto::ObjectIdentifier::ObjectIdentifier | ( | const UInt32 * | in_arr, |
const size_t | in_size | ||
) |
Constructor from array of unsigned integer components of an object identifier.
in_arr | – a pointer to an array of integers to use |
in_size | – the number of items items in the array |
pdftron::Crypto::ObjectIdentifier::ObjectIdentifier | ( | const DigestAlgorithm::Type | in_digest_algorithm_type | ) |
Constructs an ObjectIdentifier from a DigestAlgorithm Type.
in_digest_algorithm_type | – the type enumeration corresponding to your desired digest algorithm |
pdftron::Crypto::ObjectIdentifier::ObjectIdentifier | ( | TRN_ObjectIdentifier | impl | ) |
void pdftron::Crypto::ObjectIdentifier::Destroy | ( | ) |
std::vector<UInt32> pdftron::Crypto::ObjectIdentifier::GetRawValue | ( | ) | const |
Retrieves the value of the object identifier.
ObjectIdentifier& pdftron::Crypto::ObjectIdentifier::operator= | ( | const ObjectIdentifier & | other | ) |
TRN_ObjectIdentifier pdftron::Crypto::ObjectIdentifier::m_impl |
Definition at line 95 of file ObjectIdentifier.h.