class PolicyCertificateImpl

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

Inheritance:


Public Methods

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

Protected Methods

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


Inherited from AkentiCertificateImpl:

Public Methods

ovirtual string hashCode() const
oconst string& getType() const
obool hasType(const string& type) const
oint getVersionNumber() const
oconst string& getUniqueID() const
oconst AkentiIssuer& getIssuer() const
oconst UtcTime& getNotBefore() const
oconst UtcTime& getNotAfter() const
obool verify(const PublicKey& publicKey) const
ovirtual string getSignable() const
oconst string& getCanonAlg() const
oconst string& getSignatureAlg() const
oconst string& getSignature() const
obool checkValidity(const UtcTime& utcTime) const
obool checkValidity() const
ostring paramString() const
ostring toText(int indentAmt = 0) const
ostring 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
  * }
  * 

o PolicyCertificateImpl()
Default Constructor

o ~PolicyCertificateImpl()
Destroys this object

ostring getHashString() const
Returns the name of the resource.

See Also:
hashCode()

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

obool containsCertificateAuthorityInfos() const

oconst vector<CertificateAuthorityInfo> & getCertificateAuthorityInfos() const
Returns CertificateAuthority infos.

See Also:
CertificateAuthorityInfo

oconst vector<UseCondIssuerGroup> & getUseCondIssuerGroups() const
Returns UseConditionIssuer groups.

See Also:
UseCondIssuerGroup

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

See Also:
Directory

olong getCacheTime() const
Returns the caching time in seconds.

ovoid doWrite(AkentiOutputStream& drain) const

ovoid doRead(AkentiInputStream& source)

ovoid doToXML(DOMElement* attrCertInfo) const

ovoid doFromXML(const DOMElement* attrCertInfo)

oPolicyCertificateImpl* newInstance() const

ovoid doParamString(ostream& os) const

ovoid doToText(int indentAmt, ostream& os) const


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

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.