|
limal-ca-mgm
|
#include <BasicConstraintsExtension.hpp>
Public Member Functions | |
| BasicConstraintsExt () | |
| BasicConstraintsExt (CAConfig *caConfig, Type type) | |
| BasicConstraintsExt (bool isCa, BLOCXX_NAMESPACE::Int32 pathLength=-1) | |
| BasicConstraintsExt (const BasicConstraintsExt &extension) | |
| virtual | ~BasicConstraintsExt () |
| BasicConstraintsExt & | operator= (const BasicConstraintsExt &extension) |
| void | setBasicConstraints (bool isCa, BLOCXX_NAMESPACE::Int32 pathLength=-1) |
| bool | isCA () const |
| BLOCXX_NAMESPACE::Int32 | getPathLength () 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 |
Private Attributes | |
| BLOCXX_NAMESPACE::COWIntrusiveReference < BasicConstraintsExtImpl > | m_impl |
If the ca parameter is set to true this certificate is a Certificate Authority. The pathlen parameter indicates the maximum number of CAs that can appear below this one in a chain.
| limal::ca_mgm::BasicConstraintsExt::BasicConstraintsExt | ( | ) |
| limal::ca_mgm::BasicConstraintsExt::BasicConstraintsExt | ( | bool | isCa, |
| BLOCXX_NAMESPACE::Int32 | pathLength = -1 |
||
| ) |
| limal::ca_mgm::BasicConstraintsExt::BasicConstraintsExt | ( | const BasicConstraintsExt & | extension | ) |
| virtual limal::ca_mgm::BasicConstraintsExt::~BasicConstraintsExt | ( | ) | [virtual] |
| virtual void limal::ca_mgm::BasicConstraintsExt::commit2Config | ( | CA & | ca, |
| Type | type | ||
| ) | const [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::ExtensionBase.
| virtual BLOCXX_NAMESPACE::StringArray limal::ca_mgm::BasicConstraintsExt::dump | ( | ) | const [virtual] |
Return the content of this object for debugging
Reimplemented from limal::ca_mgm::ExtensionBase.
| BLOCXX_NAMESPACE::Int32 limal::ca_mgm::BasicConstraintsExt::getPathLength | ( | ) | const |
Return the path length (-1 means no path length set)
| bool limal::ca_mgm::BasicConstraintsExt::isCA | ( | ) | const |
Return the ca parameter
| BasicConstraintsExt& limal::ca_mgm::BasicConstraintsExt::operator= | ( | const BasicConstraintsExt & | extension | ) |
| void limal::ca_mgm::BasicConstraintsExt::setBasicConstraints | ( | bool | isCa, |
| BLOCXX_NAMESPACE::Int32 | pathLength = -1 |
||
| ) |
Set the ca parameter and the path length.
| isCa | set it to true if you want a CA, otherwise false. |
| pathLength | maximum number of CAs that can appear below this one in a chain; -1 means no path Length is set. |
| virtual bool limal::ca_mgm::BasicConstraintsExt::valid | ( | ) | const [virtual] |
Check if this object is valid
Implements limal::ca_mgm::ExtensionBase.
| virtual BLOCXX_NAMESPACE::StringArray limal::ca_mgm::BasicConstraintsExt::verify | ( | ) | const [virtual] |
Verify this object and return an Array with all error messages.
Implements limal::ca_mgm::ExtensionBase.
BLOCXX_NAMESPACE::COWIntrusiveReference<BasicConstraintsExtImpl> limal::ca_mgm::BasicConstraintsExt::m_impl [private] |
Reimplemented from limal::ca_mgm::ExtensionBase.
1.7.5.1