|
limal-ca-mgm
|
#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 BLOCXX_NAMESPACE::StringArray | verify () const |
| virtual BLOCXX_NAMESPACE::StringArray | dump () const |
Public Member Functions inherited from limal::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 | |
| BLOCXX_NAMESPACE::COWIntrusiveReference < 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.
| limal::ca_mgm::AuthorityKeyIdentifierGenerateExt::AuthorityKeyIdentifierGenerateExt | ( | ) |
| limal::ca_mgm::AuthorityKeyIdentifierGenerateExt::AuthorityKeyIdentifierGenerateExt | ( | CAConfig * | caConfig, |
| Type | type | ||
| ) |
| limal::ca_mgm::AuthorityKeyIdentifierGenerateExt::AuthorityKeyIdentifierGenerateExt | ( | KeyID | kid, |
| Issuer | iss | ||
| ) |
Create an object with KeyID and Issuer option
| limal::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 limal::ca_mgm::ExtensionBase.
|
virtual |
Return the content of this object for debugging
Reimplemented from limal::ca_mgm::ExtensionBase.
| Issuer limal::ca_mgm::AuthorityKeyIdentifierGenerateExt::getIssuer | ( | ) | const |
Return the issuer option
| KeyID limal::ca_mgm::AuthorityKeyIdentifierGenerateExt::getKeyID | ( | ) | const |
Return the Key ID
| AuthorityKeyIdentifierGenerateExt& limal::ca_mgm::AuthorityKeyIdentifierGenerateExt::operator= | ( | const AuthorityKeyIdentifierGenerateExt & | extension | ) |
| void limal::ca_mgm::AuthorityKeyIdentifierGenerateExt::setIssuer | ( | Issuer | iss | ) |
Set the issuer option
| void limal::ca_mgm::AuthorityKeyIdentifierGenerateExt::setKeyID | ( | KeyID | kid | ) |
Set the Key ID
|
virtual |
Check if this object is valid
Implements limal::ca_mgm::ExtensionBase.
|
virtual |
Verify this object and return an Array with all error messages.
Implements limal::ca_mgm::ExtensionBase.
|
private |
Reimplemented from limal::ca_mgm::ExtensionBase.
1.8.1