#include <api_certbase.h>
Public Member Functions | |
certificate_base () | |
certificate_base (const std::string &c) | |
certificate_base (const char *c) | |
certificate_base (const certificate_base &__c) | |
virtual certificate_base * | new_copy () const PURE_VIRTUALvirtual void destroy_copy(certificate_base *__c) const PURE_VIRTUALvirtual~certificate_base() |
certificate | make_certificate (const std::string &c) |
virtual std::string | get_contents () const |
virtual bool | verify (const work_node &_x) const |
Protected Attributes | |
std::string | _contents |
Definition at line 124 of file api_certbase.h.
coco::certificate_base::certificate_base | ( | ) | [inline] |
Standard Constructor
Definition at line 132 of file api_certbase.h.
coco::certificate_base::certificate_base | ( | const std::string & | c | ) | [inline] |
Constructor, explicitly setting the contents to c
Definition at line 134 of file api_certbase.h.
coco::certificate_base::certificate_base | ( | const char * | c | ) | [inline] |
Constructor, explicitly setting the contents to c
Definition at line 136 of file api_certbase.h.
coco::certificate_base::certificate_base | ( | const certificate_base & | __c | ) | [inline] |
Standard Copy Constructor, which is usually not used.
Definition at line 138 of file api_certbase.h.
virtual std::string coco::certificate_base::get_contents | ( | ) | const [inline, virtual] |
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] |
Construct a certificate from this certificate_base with the contents c
.
Definition at line 156 of file api_certbase.h.
virtual certificate_base* coco::certificate_base::new_copy | ( | ) | const [inline, virtual] |
Clone Operation, which can be overloaded Clone Destructor Standard Destructor
Reimplemented in coco::no_certificate, coco::split_certificate, coco::compound_certificate, and coco::rigorous_module_certificate.
Definition at line 146 of file api_certbase.h.
virtual bool coco::certificate_base::verify | ( | const work_node & | _x | ) | const [inline, virtual] |
Verification Test: Verify whether the certificate verifies the corresponding delta for work_node _x
. Will be overloaded.
Reimplemented in coco::no_certificate, coco::split_certificate, coco::compound_certificate, and coco::rigorous_module_certificate.
Definition at line 169 of file api_certbase.h.
std::string coco::certificate_base::_contents [protected] |
The contents (descriptive string, type) of this certificate
Definition at line 128 of file api_certbase.h.