class AkentiCertificateImpl This is the base class for all AkentiCertificates; it holds the common members and implements common get and signature methods
| | AkentiCertificateImpl (const string& type = "NO_TYPE") Construct this object given a string specified by type |
| | ~AkentiCertificateImpl () Destroys this object |
| | newInstance () const |
| | hashCode () const Computes the hashcode of this AkentiCertificateImpl object for searching purposes |
| | getHashString () const |
| | getType () const Returns the type of this AkentiCertificateImpl object |
| | hasType (const string& type) const |
| | getVersionNumber () const Returns the version number of this AkentiCertificateImpl object |
| | getUniqueID () const Returns the unique id of this AkentiCertificateImpl object |
| | getGuarantor () const Returns the guarantor of this AkentiCertificateImpl object |
| | getNotBefore () const Returns the start validity date of this AkentiCertificateImpl object |
| | getNotAfter () const Returns the end validity date of this AkentiCertificateImpl object |
| | verify (const PublicKey& publicKey) const Verifies the signature of AkentiCertificateImpl object using a PublicKey specified by publicKey |
| | getSignable () const Returns the signable portion of this AkentiCertificateImpl object |
| | getSignatureAlg () const Returns the signature algorithm that was used to sign this AkentiCertificateImpl object |
| | getSignature () const Returns the signature that resulted from signing the signable part of this AkentiCertificateImpl object |
| | checkValidity (const UtcTime& utcTime) const Is this AkentiCertificateImpl valid at the time specified by utcTime? |
| | checkValidity () const Is this AkentiCertificateImpl valid now? |
| | paramString () const Returns debugging info |
This is the base class for all AkentiCertificates; it holds the common
members and implements common get and signature methods.
The user will refer to certificate via a ref-ptr to the CertificateImpl.
The set methods are only callable via the CertGenerator before the
CertificateImpl has been instantiated. This enforces the policy that
CertificateImpl are immutable.
The data members of an AkentiCertificate are:
AkentiCertificate {
string type certificate type
int version certificate format version
string id certificate's unique ID
AkentiPrincipal guarantor principal that issued and signed the certificate
UtcTime notBefore Certificate not valid before this date
UtcTime notAfter Certificate not valid after this date
string signatureAlg name of hashMac and encryption
algorithm used to sign this cert
information specific to the type of certificate
string signature signature of the actual certificate
}
virtual ~AkentiCertificateImpl()
virtual AkentiCertificateImpl* newInstance() const
string hashCode() const
virtual string getHashString() const
const string& getType() const
bool hasType(const string& type) const
int getVersionNumber() const
const string& getUniqueID() const
const AkentiPrincipal& getGuarantor() const
const UtcTime& getNotBefore() const
const UtcTime& getNotAfter() const
bool verify(const PublicKey& publicKey) const
virtual string getSignable() const
const string& getSignatureAlg() const
const string& getSignature() const
sign(string, PrivateKey)
bool checkValidity(const UtcTime& utcTime) const
getNotAfter()
UtcTime
bool checkValidity() const
getNotAfter()
UtcTime
string paramString() const
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de