#include <CRLReason.hpp>
| ca_mgm::CRLReason::CRLReason |
( |
| ) |
|
| 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 |
| ca_mgm::CRLReason::CRLReason |
( |
const CRLReason & |
reason | ) |
|
| virtual ca_mgm::CRLReason::~CRLReason |
( |
| ) |
|
|
virtual |
| std::string ca_mgm::CRLReason::checkHoldInstruction |
( |
const std::string & |
hi | ) |
const |
|
private |
| bool ca_mgm::CRLReason::checkReason |
( |
const std::string & |
reason | ) |
const |
|
private |
| virtual std::vector<std::string> ca_mgm::CRLReason::dump |
( |
| ) |
const |
|
virtual |
| time_t ca_mgm::CRLReason::getCACompromiseDate |
( |
| ) |
const |
| std::string ca_mgm::CRLReason::getCACompromiseDateAsString |
( |
| ) |
const |
| std::string ca_mgm::CRLReason::getHoldInstruction |
( |
| ) |
const |
| time_t ca_mgm::CRLReason::getKeyCompromiseDate |
( |
| ) |
const |
| std::string ca_mgm::CRLReason::getKeyCompromiseDateAsString |
( |
| ) |
const |
| std::string ca_mgm::CRLReason::getReason |
( |
| ) |
const |
Return the revocation reason as string
| 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 |
| 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 |
| 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 |
| 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 |
| virtual bool ca_mgm::CRLReason::valid |
( |
| ) |
const |
|
virtual |
| virtual std::vector<std::string> ca_mgm::CRLReason::verify |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following file: