limal::ca_mgm::CRLReason Class Reference
#include <CRLReason.hpp>
List of all members.
Detailed Description
- Examples:
-
RevokeCertificateAndCreateCRL.cpp.
Constructor & Destructor Documentation
limal::ca_mgm::CRLReason::CRLReason |
( |
|
) |
|
limal::ca_mgm::CRLReason::CRLReason |
( |
const String & |
reason |
) |
|
Constructor
- Parameters:
-
| reason | revocation reason. Valid strings are: none, unspecified, keyCompromise, CACompromise, affiliationChanged, superseded, cessationOfOperation, certificateHold and removeFromCRL |
limal::ca_mgm::CRLReason::CRLReason |
( |
const CRLReason & |
reason |
) |
|
virtual limal::ca_mgm::CRLReason::~CRLReason |
( |
|
) |
[virtual] |
Member Function Documentation
BLOCXX_NAMESPACE ::String limal::ca_mgm::CRLReason::checkHoldInstruction |
( |
const String & |
hi |
) |
const [private] |
bool limal::ca_mgm::CRLReason::checkReason |
( |
const String & |
reason |
) |
const [private] |
virtual BLOCXX_NAMESPACE ::StringArray limal::ca_mgm::CRLReason::dump |
( |
|
) |
const [virtual] |
time_t limal::ca_mgm::CRLReason::getCACompromiseDate |
( |
|
) |
const |
String limal::ca_mgm::CRLReason::getCACompromiseDateAsString |
( |
|
) |
const |
String limal::ca_mgm::CRLReason::getHoldInstruction |
( |
|
) |
const |
time_t limal::ca_mgm::CRLReason::getKeyCompromiseDate |
( |
|
) |
const |
String limal::ca_mgm::CRLReason::getKeyCompromiseDateAsString |
( |
|
) |
const |
String limal::ca_mgm::CRLReason::getReason |
( |
|
) |
const |
Return the revocation reason as string
void limal::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 limal::ca_mgm::CRLReason::setHoldInstruction |
( |
const String & |
holdInstruction |
) |
|
Set reason to certificateHold and add a hold instruction
- Parameters:
-
| holdInstruction | valid strings are: holdInstructionNone, holdInstructionCallIssuer, holdInstructionReject or an OID |
- Examples:
- RevokeCertificateAndCreateCRL.cpp.
void limal::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 limal::ca_mgm::CRLReason::setReason |
( |
const 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 limal::ca_mgm::CRLReason::valid |
( |
|
) |
const [virtual] |
virtual BLOCXX_NAMESPACE ::StringArray limal::ca_mgm::CRLReason::verify |
( |
|
) |
const [virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: