libcamgm
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
ca_mgm::AuthorityKeyIdentifierExt Class Reference

#include <AuthorityKeyIdentifierExtension.hpp>

Inheritance diagram for ca_mgm::AuthorityKeyIdentifierExt:
ca_mgm::ExtensionBase

Public Member Functions

 AuthorityKeyIdentifierExt ()
 
 AuthorityKeyIdentifierExt (const AuthorityKeyIdentifierExt &extension)
 
virtual ~AuthorityKeyIdentifierExt ()
 
AuthorityKeyIdentifierExtoperator= (const AuthorityKeyIdentifierExt &extension)
 
std::string getKeyID () const
 
std::string getDirName () const
 
std::string getSerial () const
 
virtual bool valid () const
 
virtual std::vector< std::string > verify () const
 
virtual std::vector< std::string > dump () const
 
- Public Member Functions inherited from ca_mgm::ExtensionBase
 ExtensionBase (bool extPresent=false, bool extCritical=false)
 
 ExtensionBase (const ExtensionBase &extension)
 
virtual ~ExtensionBase ()
 
ExtensionBaseoperator= (const ExtensionBase &extension)
 
void setPresent (bool extPresent)
 
void setCritical (bool extCritical)
 
bool isCritical () const
 
bool isPresent () const
 

Protected Member Functions

void setKeyID (const std::string &kid)
 
void setDirName (const std::string &dirName)
 
void setSerial (const std::string &serial)
 

Protected Attributes

ca_mgm::RWCOW_pointer
< AuthorityKeyIdentifierExtImpl > 
m_impl
 

Private Member Functions

virtual void commit2Config (CA &ca, Type type) const
 

Constructor & Destructor Documentation

ca_mgm::AuthorityKeyIdentifierExt::AuthorityKeyIdentifierExt ( )
ca_mgm::AuthorityKeyIdentifierExt::AuthorityKeyIdentifierExt ( const AuthorityKeyIdentifierExt extension)
virtual ca_mgm::AuthorityKeyIdentifierExt::~AuthorityKeyIdentifierExt ( )
virtual

Member Function Documentation

virtual void ca_mgm::AuthorityKeyIdentifierExt::commit2Config ( CA ca,
Type  type 
) const
privatevirtual

Implements ca_mgm::ExtensionBase.

virtual std::vector<std::string> ca_mgm::AuthorityKeyIdentifierExt::dump ( ) const
virtual

Return the content of this object for debugging

Reimplemented from ca_mgm::ExtensionBase.

std::string ca_mgm::AuthorityKeyIdentifierExt::getDirName ( ) const

Return the DirName of the Authority

std::string ca_mgm::AuthorityKeyIdentifierExt::getKeyID ( ) const

Return the key ID of the Authority

std::string ca_mgm::AuthorityKeyIdentifierExt::getSerial ( ) const

Return the serial number of the Authority

AuthorityKeyIdentifierExt& ca_mgm::AuthorityKeyIdentifierExt::operator= ( const AuthorityKeyIdentifierExt extension)
void ca_mgm::AuthorityKeyIdentifierExt::setDirName ( const std::string &  dirName)
protected
void ca_mgm::AuthorityKeyIdentifierExt::setKeyID ( const std::string &  kid)
protected
void ca_mgm::AuthorityKeyIdentifierExt::setSerial ( const std::string &  serial)
protected
virtual bool ca_mgm::AuthorityKeyIdentifierExt::valid ( ) const
virtual

Check if this object is valid

Returns
true if this object is valid, otherwise false

Implements ca_mgm::ExtensionBase.

virtual std::vector<std::string> ca_mgm::AuthorityKeyIdentifierExt::verify ( ) const
virtual

Verify this object and return an Array with all error messages.

Returns
Array with error messages. If this Array is empty this object is valid

Implements ca_mgm::ExtensionBase.

Member Data Documentation

ca_mgm::RWCOW_pointer<AuthorityKeyIdentifierExtImpl> ca_mgm::AuthorityKeyIdentifierExt::m_impl
protected

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