|
libcamgm
|
#include <AuthorityKeyIdentifierGenerateExtension.hpp>
Public Types | |
| enum | KeyID { KeyID_none, KeyID_normal, KeyID_always } |
| enum | Issuer { Issuer_none, Issuer_normal, Issuer_always } |
Public Member Functions | |
| AuthorityKeyIdentifierGenerateExt () | |
| AuthorityKeyIdentifierGenerateExt (CAConfig *caConfig, Type type) | |
| AuthorityKeyIdentifierGenerateExt (KeyID kid, Issuer iss) | |
| AuthorityKeyIdentifierGenerateExt (const AuthorityKeyIdentifierGenerateExt &extension) | |
| virtual | ~AuthorityKeyIdentifierGenerateExt () |
| AuthorityKeyIdentifierGenerateExt & | operator= (const AuthorityKeyIdentifierGenerateExt &extension) |
| void | setKeyID (KeyID kid) |
| KeyID | getKeyID () const |
| void | setIssuer (Issuer iss) |
| Issuer | getIssuer () 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 |
Public Member Functions inherited from ca_mgm::ExtensionBase | |
| 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 |
Private Attributes | |
| ca_mgm::RWCOW_pointer < AuthorityKeyIdentifierGenerateExtImpl > | m_impl |
If the keyid option is present an attempt is made to copy the subject key identifier from the parent certificate. The issuer option copies the issuer and serial number from the issuer certificate.
| ca_mgm::AuthorityKeyIdentifierGenerateExt::AuthorityKeyIdentifierGenerateExt | ( | ) |
| ca_mgm::AuthorityKeyIdentifierGenerateExt::AuthorityKeyIdentifierGenerateExt | ( | CAConfig * | caConfig, |
| Type | type | ||
| ) |
| ca_mgm::AuthorityKeyIdentifierGenerateExt::AuthorityKeyIdentifierGenerateExt | ( | KeyID | kid, |
| Issuer | iss | ||
| ) |
Create an object with KeyID and Issuer option
| ca_mgm::AuthorityKeyIdentifierGenerateExt::AuthorityKeyIdentifierGenerateExt | ( | const AuthorityKeyIdentifierGenerateExt & | extension | ) |
|
virtual |
|
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::ExtensionBase.
|
virtual |
Return the content of this object for debugging
Reimplemented from ca_mgm::ExtensionBase.
| Issuer ca_mgm::AuthorityKeyIdentifierGenerateExt::getIssuer | ( | ) | const |
Return the issuer option
| KeyID ca_mgm::AuthorityKeyIdentifierGenerateExt::getKeyID | ( | ) | const |
Return the Key ID
| AuthorityKeyIdentifierGenerateExt& ca_mgm::AuthorityKeyIdentifierGenerateExt::operator= | ( | const AuthorityKeyIdentifierGenerateExt & | extension | ) |
| void ca_mgm::AuthorityKeyIdentifierGenerateExt::setIssuer | ( | Issuer | iss | ) |
Set the issuer option
| void ca_mgm::AuthorityKeyIdentifierGenerateExt::setKeyID | ( | KeyID | kid | ) |
Set the Key ID
|
virtual |
Check if this object is valid
Implements ca_mgm::ExtensionBase.
|
virtual |
Verify this object and return an Array with all error messages.
Implements ca_mgm::ExtensionBase.
|
private |
1.8.8