|
limal-ca-mgm
|
#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 (BLOCXX_NAMESPACE::UInt32 nsCertTypes) | |
| NsCertTypeExt (const NsCertTypeExt &extension) | |
| virtual | ~NsCertTypeExt () |
| NsCertTypeExt & | operator= (const NsCertTypeExt &extension) |
| void | setNsCertType (BLOCXX_NAMESPACE::UInt32 nsCertTypes) |
| BLOCXX_NAMESPACE::UInt32 | getNsCertType () const |
| bool | isEnabledFor (NsCertType nsCertType) const |
| virtual void | commit2Config (CA &ca, Type type) const |
| virtual bool | valid () const |
| virtual BLOCXX_NAMESPACE::StringArray | verify () const |
| virtual BLOCXX_NAMESPACE::StringArray | dump () const |
This extension describes the usage of this certificate (Netscape specific)
| limal::ca_mgm::NsCertTypeExt::NsCertTypeExt | ( | ) |
| limal::ca_mgm::NsCertTypeExt::NsCertTypeExt | ( | BLOCXX_NAMESPACE::UInt32 | nsCertTypes | ) |
Create an object with a specific certificate type set
| limal::ca_mgm::NsCertTypeExt::NsCertTypeExt | ( | const NsCertTypeExt & | extension | ) |
| virtual limal::ca_mgm::NsCertTypeExt::~NsCertTypeExt | ( | ) | [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 limal::ca_mgm::BitExtension.
| virtual BLOCXX_NAMESPACE::StringArray limal::ca_mgm::NsCertTypeExt::dump | ( | ) | const [virtual] |
Return the content of this object for debugging
Implements limal::ca_mgm::BitExtension.
| BLOCXX_NAMESPACE::UInt32 limal::ca_mgm::NsCertTypeExt::getNsCertType | ( | ) | const |
Return the certificate type
| bool limal::ca_mgm::NsCertTypeExt::isEnabledFor | ( | NsCertType | nsCertType | ) | const |
Return true if the specified bit is set
| NsCertTypeExt& limal::ca_mgm::NsCertTypeExt::operator= | ( | const NsCertTypeExt & | extension | ) |
| void limal::ca_mgm::NsCertTypeExt::setNsCertType | ( | BLOCXX_NAMESPACE::UInt32 | nsCertTypes | ) |
Set a new certificate type
| virtual bool limal::ca_mgm::NsCertTypeExt::valid | ( | ) | const [virtual] |
Check if this object is valid
Implements limal::ca_mgm::BitExtension.
| virtual BLOCXX_NAMESPACE::StringArray limal::ca_mgm::NsCertTypeExt::verify | ( | ) | const [virtual] |
Verify this object and return an Array with all error messages.
Implements limal::ca_mgm::BitExtension.
1.7.5.1