#include <CRLReason.hpp>
◆ CRLReason() [1/3]
| ca_mgm::CRLReason::CRLReason |
( |
| ) |
|
◆ CRLReason() [2/3]
| ca_mgm::CRLReason::CRLReason |
( |
const std::string & |
reason | ) |
|
Constructor
- Parameters
-
| reason | revocation reason. Valid strings are: none, unspecified, keyCompromise, CACompromise, affiliationChanged, superseded, cessationOfOperation, certificateHold and removeFromCRL |
◆ CRLReason() [3/3]
| ca_mgm::CRLReason::CRLReason |
( |
const CRLReason & |
reason | ) |
|
◆ ~CRLReason()
| virtual ca_mgm::CRLReason::~CRLReason |
( |
| ) |
|
|
virtual |
◆ checkHoldInstruction()
| std::string ca_mgm::CRLReason::checkHoldInstruction |
( |
const std::string & |
hi | ) |
const |
|
private |
◆ checkReason()
| bool ca_mgm::CRLReason::checkReason |
( |
const std::string & |
reason | ) |
const |
|
private |
◆ dump()
| virtual std::vector<std::string> ca_mgm::CRLReason::dump |
( |
| ) |
const |
|
virtual |
◆ getCACompromiseDate()
| time_t ca_mgm::CRLReason::getCACompromiseDate |
( |
| ) |
const |
◆ getCACompromiseDateAsString()
| std::string ca_mgm::CRLReason::getCACompromiseDateAsString |
( |
| ) |
const |
◆ getHoldInstruction()
| std::string ca_mgm::CRLReason::getHoldInstruction |
( |
| ) |
const |
◆ getKeyCompromiseDate()
| time_t ca_mgm::CRLReason::getKeyCompromiseDate |
( |
| ) |
const |
◆ getKeyCompromiseDateAsString()
| std::string ca_mgm::CRLReason::getKeyCompromiseDateAsString |
( |
| ) |
const |
◆ getReason()
| std::string ca_mgm::CRLReason::getReason |
( |
| ) |
const |
Return the revocation reason as string
◆ operator=()
◆ setCACompromiseDate()
| void ca_mgm::CRLReason::setCACompromiseDate |
( |
time_t |
compromiseDate | ) |
|
Set reason to CACompromise and add the compromise date
- Parameters
-
| compromiseDate | the date when the CA was compromised |
◆ setHoldInstruction()
| void ca_mgm::CRLReason::setHoldInstruction |
( |
const std::string & |
holdInstruction | ) |
|
Set reason to certificateHold and add a hold instruction
- Parameters
-
| holdInstruction | valid strings are: holdInstructionNone, holdInstructionCallIssuer, holdInstructionReject or an OID |
◆ setKeyCompromiseDate()
| void ca_mgm::CRLReason::setKeyCompromiseDate |
( |
time_t |
compromiseDate | ) |
|
Set reason to keyCompromise and add the compromise date
- Parameters
-
| compromiseDate | the date when the key was compromised |
◆ setReason()
| void ca_mgm::CRLReason::setReason |
( |
const std::string & |
reason | ) |
|
Set a new revocation reason
- Parameters
-
| reason | revocation reason. Valid strings are: none, unspecified, keyCompromise, CACompromise, affiliationChanged, superseded, cessationOfOperation, certificateHold and removeFromCRL |
◆ valid()
| virtual bool ca_mgm::CRLReason::valid |
( |
| ) |
const |
|
virtual |
◆ verify()
| virtual std::vector<std::string> ca_mgm::CRLReason::verify |
( |
| ) |
const |
|
virtual |
◆ m_impl
The documentation for this class was generated from the following file: