libcamgm
|
#include <BitExtensions.hpp>
Public Types | |
enum | NsCertType { client = 0x0080, server = 0x0040, email = 0x0020, objsign = 0x0010, reserved = 0x0008, sslCA = 0x0004, emailCA = 0x0002, objCA = 0x0001 } |
Public Member Functions | |
NsCertTypeExt () | |
NsCertTypeExt (CAConfig *caConfig, Type type) | |
NsCertTypeExt (uint32_t nsCertTypes) | |
NsCertTypeExt (const NsCertTypeExt &extension) | |
virtual | ~NsCertTypeExt () |
NsCertTypeExt & | operator= (const NsCertTypeExt &extension) |
void | setNsCertType (uint32_t nsCertTypes) |
uint32_t | getNsCertType () const |
bool | isEnabledFor (NsCertType nsCertType) const |
virtual void | commit2Config (CA &ca, Type type) const |
virtual bool | valid () const |
virtual std::vector< std::string > | verify () const |
virtual std::vector< std::string > | dump () const |
![]() | |
BitExtension () | |
BitExtension (uint32_t value) | |
BitExtension (const BitExtension &extension) | |
virtual | ~BitExtension () |
BitExtension & | operator= (const BitExtension &extension) |
void | setValue (uint32_t value) |
uint32_t | getValue () const |
![]() | |
ExtensionBase (bool extPresent=false, bool extCritical=false) | |
ExtensionBase (const ExtensionBase &extension) | |
virtual | ~ExtensionBase () |
ExtensionBase & | operator= (const ExtensionBase &extension) |
void | setPresent (bool extPresent) |
void | setCritical (bool extCritical) |
bool | isCritical () const |
bool | isPresent () const |
Additional Inherited Members | |
![]() | |
ca_mgm::RWCOW_pointer< BitExtensionImpl > | m_impl |
This extension describes the usage of this certificate (Netscape specific)
ca_mgm::NsCertTypeExt::NsCertTypeExt | ( | ) |
ca_mgm::NsCertTypeExt::NsCertTypeExt | ( | uint32_t | nsCertTypes | ) |
Create an object with a specific certificate type set
ca_mgm::NsCertTypeExt::NsCertTypeExt | ( | const NsCertTypeExt & | extension | ) |
|
virtual |
Write the informations of this object back to the configuration file
ca | the CA object which holds the config object |
type | the type describes the section of the config file |
Implements ca_mgm::BitExtension.
|
virtual |
Return the content of this object for debugging
Implements ca_mgm::BitExtension.
uint32_t ca_mgm::NsCertTypeExt::getNsCertType | ( | ) | const |
Return the certificate type
bool ca_mgm::NsCertTypeExt::isEnabledFor | ( | NsCertType | nsCertType | ) | const |
Return true if the specified bit is set
NsCertTypeExt& ca_mgm::NsCertTypeExt::operator= | ( | const NsCertTypeExt & | extension | ) |
void ca_mgm::NsCertTypeExt::setNsCertType | ( | uint32_t | nsCertTypes | ) |
Set a new certificate type
|
virtual |
Check if this object is valid
Implements ca_mgm::BitExtension.
|
virtual |
Verify this object and return an Array with all error messages.
Implements ca_mgm::BitExtension.