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

#include <X509Extension.h>

Public Member Functions

 X509Extension (const X509Extension &other)
 
X509Extensionoperator= (const X509Extension &other)
 
void Destroy ()
 
bool IsCritical () const
 
ObjectIdentifier GetObjectIdentifier () const
 
UString ToString () const
 
std::vector< UCharGetData () const
 
 ~X509Extension ()
 
 X509Extension (TRN_X509Extension impl)
 

Public Attributes

TRN_X509Extension m_impl
 

Detailed Description

This class represents an X509v3 certificate extension. See RFC 5280 as a specification.

Definition at line 20 of file X509Extension.h.

Constructor & Destructor Documentation

pdftron::Crypto::X509Extension::X509Extension ( const X509Extension other)
pdftron::Crypto::X509Extension::~X509Extension ( )
pdftron::Crypto::X509Extension::X509Extension ( TRN_X509Extension  impl)

Member Function Documentation

void pdftron::Crypto::X509Extension::Destroy ( )
std::vector<UChar> pdftron::Crypto::X509Extension::GetData ( ) const

Retrieves the raw binary DER-encoded data of the extension. (DER is short for Distinguished Encoding Rules.)

Returns
a container holding the bytes of the extension in the form of binary DER-encoded data
ObjectIdentifier pdftron::Crypto::X509Extension::GetObjectIdentifier ( ) const

Retrieves the OID (object identifier) of the extension in the form of integer components in a container. The meaning of an OID can be determined from an OID repository.

Returns
an ObjectIdentifier object.
bool pdftron::Crypto::X509Extension::IsCritical ( ) const

Retrieves whether the extension is 'critical'. See RFC 5280 for an explanation of what this means.

Returns
a boolean representing the criticality flag of the extension.
X509Extension& pdftron::Crypto::X509Extension::operator= ( const X509Extension other)
UString pdftron::Crypto::X509Extension::ToString ( ) const

Returns a string representation of the extension.

Returns
a string representation of the extension.
Note
Output may change in future versions.

Member Data Documentation

TRN_X509Extension pdftron::Crypto::X509Extension::m_impl

Definition at line 67 of file X509Extension.h.


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