namespace Akenti class PolicyCertificateImpl : public AkentiCertificateImpl

A Policy certificate specifies the use-condition certificates issuers, directories where to search for attribute and identity certificates

Inheritance:


Public Methods

PolicyCertificateImpl ()
Default Constructor
~PolicyCertificateImpl ()
Destroys this object
string getHashString () const
Returns the name of the resource
const string& getResource () const
Returns the name of the resource
bool containsCertificateAuthorityInfos () const
const vector <CertificateAuthorityInfo> & getCertificateAuthorityInfos () const
Returns CertificateAuthority infos
const vector <UseCondIssuerGroup> & getUseCondIssuerGroups () const
Returns UseConditionIssuer groups
const vector <Directory> & getAttributeDirectories () const
Returns the directories used to find attribute certificates
long getCacheTime () const
Returns the caching time in seconds

Protected Methods

void doWrite (AkentiOutputStream& drain) const
void doRead (AkentiInputStream& source)
void doToXML (DOMElement* attrCertInfo) const
void doFromXML (const DOMElement* attrCertInfo)
PolicyCertificateImpl* newInstance () const
void doParamString (ostream& os) const
void doToText (int indentAmt, ostream& os) const

Inherited from AkentiCertificateImpl:

Public Methods

virtual string hashCode() const
const string& getType() const
bool hasType(const string& type) const
int getVersionNumber() const
const string& getUniqueID() const
const AkentiIssuer& getIssuer() const
const UtcTime& getNotBefore() const
const UtcTime& getNotAfter() const
bool verify(const PublicKey& publicKey) const
virtual string getSignable() const
const string& getCanonAlg() const
const string& getSignatureAlg() const
const string& getSignature() const
bool checkValidity(const UtcTime& utcTime) const
bool checkValidity() const
string paramString() const
string toText(int indentAmt = 0) const
string toLogString() const

Documentation

A Policy certificate specifies the use-condition certificates issuers, directories where to search for attribute and identity certificates.

The encoding for a policy certificate is:

PolicyCertificateImpl { 
type                   // Policy
version                // certificate's version number
id                     // certificate's unique id
issuer                 // issuer and signer of certificate
notBefore              // start validity date
notAfter               // end validity date
signatureAlg           // name of algorithm used to sign this certificate
resource               // name of the resource to which this policy applies
certAuthInfos          // (0 or more) trusted cas and their infos
ucIssuerGroups         // (1 or more) list of groups of stakeholders and their directories
attributeDirs          // (0 or more) directories to search for attribute certificates
cacheTime              //  
signature              // digital signature of the certificate
}
PolicyCertificateImpl()
Default Constructor

~PolicyCertificateImpl()
Destroys this object

string getHashString() const
Returns the name of the resource.
See Also:
hashCode()

const string& getResource() const
Returns the name of the resource

bool containsCertificateAuthorityInfos() const

const vector <CertificateAuthorityInfo> & getCertificateAuthorityInfos() const
Returns CertificateAuthority infos.
See Also:
CertificateAuthorityInfo

const vector <UseCondIssuerGroup> & getUseCondIssuerGroups() const
Returns UseConditionIssuer groups.
See Also:
UseCondIssuerGroup

const vector <Directory> & getAttributeDirectories() const
Returns the directories used to find attribute certificates.
See Also:
Directory

long getCacheTime() const
Returns the caching time in seconds

void doWrite(AkentiOutputStream& drain) const

void doRead(AkentiInputStream& source)

void doToXML(DOMElement* attrCertInfo) const

void doFromXML(const DOMElement* attrCertInfo)

PolicyCertificateImpl* newInstance() const

void doParamString(ostream& os) const

void doToText(int indentAmt, ostream& os) const


This class has no child classes.
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 01/08/15
See Also:
CertificateAuthorityInfo
UseCondIssuerGroup
Directory

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