#include <api_cert.h>
Public Member Functions | |
compound_certificate (bool verified) | |
compound_certificate (const compound_certificate &__c) | |
virtual | ~compound_certificate () |
compound_certificate * | new_copy () const |
void | destroy_copy (certificate_base *__c) const |
bool | verify (const work_node &_x) const |
bool | operator== (const certificate_base &_c) const |
bool | operator!= (const certificate_base &_c) const |
bool | operator== (const compound_certificate &_c) const |
bool | operator!= (const compound_certificate &_c) const |
certificate | make_certificate (const std::string &c) |
virtual std::string | get_contents () const |
Protected Attributes | |
std::string | _contents |
Definition at line 201 of file api_cert.h.
coco::compound_certificate::compound_certificate | ( | bool | verified | ) | [inline] |
Constructor setting the is_verfied
information to verified
Definition at line 210 of file api_cert.h.
coco::compound_certificate::compound_certificate | ( | const compound_certificate & | __c | ) | [inline] |
Standard Copy Constructor
Definition at line 213 of file api_cert.h.
virtual coco::compound_certificate::~compound_certificate | ( | ) | [inline, virtual] |
Standard Destructor
Definition at line 222 of file api_cert.h.
void coco::compound_certificate::destroy_copy | ( | certificate_base * | __c | ) | const [inline] |
Clone Destructor
Definition at line 233 of file api_cert.h.
virtual std::string coco::certificate_base::get_contents | ( | ) | const [inline, virtual, inherited] |
Retrieve the contents information (the certificate type) for this certificate.
Reimplemented in coco::split_certificate, and coco::rigorous_module_certificate.
Definition at line 165 of file api_certbase.h.
certificate coco::certificate_base::make_certificate | ( | const std::string & | c | ) | [inline, inherited] |
Construct a certificate from this certificate_base with the contents c
.
Definition at line 156 of file api_certbase.h.
compound_certificate* coco::compound_certificate::new_copy | ( | ) | const [inline, virtual] |
Clone Operation
Reimplemented from coco::certificate_base.
Definition at line 225 of file api_cert.h.
bool coco::compound_certificate::operator!= | ( | const compound_certificate & | _c | ) | const [inline] |
Definition at line 252 of file api_cert.h.
bool coco::compound_certificate::operator!= | ( | const certificate_base & | _c | ) | const [inline] |
Definition at line 245 of file api_cert.h.
bool coco::compound_certificate::operator== | ( | const compound_certificate & | _c | ) | const [inline] |
Comparison operators
Definition at line 250 of file api_cert.h.
bool coco::compound_certificate::operator== | ( | const certificate_base & | _c | ) | const [inline] |
Comparison operators
Definition at line 242 of file api_cert.h.
bool coco::compound_certificate::verify | ( | const work_node & | _x | ) | const [inline, virtual] |
Verification Test: Verify whether the certificate verifies the corresponding delta for work_node _x
. In this case the value is recorded in the is_verified
member.
Reimplemented from coco::certificate_base.
Definition at line 239 of file api_cert.h.
std::string coco::certificate_base::_contents [protected, inherited] |
The contents (descriptive string, type) of this certificate
Definition at line 128 of file api_certbase.h.