limal::ca_mgm::AuthorityInformation Class Reference

#include <AuthorityInfoAccessExtension.hpp>

List of all members.

Public Member Functions

 AuthorityInformation ()
 AuthorityInformation (const String &accessOID, const LiteralValue &location)
 AuthorityInformation (const AuthorityInformation &ai)
 ~AuthorityInformation ()
AuthorityInformationoperator= (const AuthorityInformation &ai)
void setAuthorityInformation (const String &accessOID, const LiteralValue &location)
String getAccessOID () const
LiteralValue getLocation () const
bool valid () const
BLOCXX_NAMESPACE::Array< Stringverify () const
BLOCXX_NAMESPACE::Array< Stringdump () const

Private Attributes

BLOCXX_NAMESPACE::COWIntrusiveReference
< AuthorityInformationImpl > 
m_impl

Friends

bool operator== (const AuthorityInformation &l, const AuthorityInformation &r)
bool operator< (const AuthorityInformation &l, const AuthorityInformation &r)

Detailed Description

Examples:

CreateCertificate.cpp.


Constructor & Destructor Documentation

limal::ca_mgm::AuthorityInformation::AuthorityInformation (  ) 

Construct an empty AuthorityInformation object

limal::ca_mgm::AuthorityInformation::AuthorityInformation ( const String accessOID,
const LiteralValue location 
)

Construct an object with access OID and location

   LiteralValue lv("URI", "http://www.example.com/ca/");
   AuthorityInformation ai("caIssuers", lv);
Parameters:
accessOID OCSP, caIssuers or any valid OID
location location of the information
limal::ca_mgm::AuthorityInformation::AuthorityInformation ( const AuthorityInformation ai  ) 

Copy an AuthorityInformation object

limal::ca_mgm::AuthorityInformation::~AuthorityInformation (  ) 

Destructor


Member Function Documentation

BLOCXX_NAMESPACE ::Array<String> limal::ca_mgm::AuthorityInformation::dump (  )  const

Return the content of this object for debugging

String limal::ca_mgm::AuthorityInformation::getAccessOID (  )  const

Return the access OID

LiteralValue limal::ca_mgm::AuthorityInformation::getLocation (  )  const

Return the location object

AuthorityInformation& limal::ca_mgm::AuthorityInformation::operator= ( const AuthorityInformation ai  ) 
void limal::ca_mgm::AuthorityInformation::setAuthorityInformation ( const String accessOID,
const LiteralValue location 
)

Set new Authority Informations

Parameters:
accessOID OCSP, caIssuers or any valid OID
location location of the information
bool limal::ca_mgm::AuthorityInformation::valid (  )  const

Check if this object is valid

Returns:
true if this object is valid, otherwise false
BLOCXX_NAMESPACE ::Array<String> limal::ca_mgm::AuthorityInformation::verify (  )  const

Verify this object and return an Array with all error messages.

Returns:
Array with error messages. If this Array is empty this object is valid

Friends And Related Function Documentation

bool operator< ( const AuthorityInformation l,
const AuthorityInformation r 
) [friend]
bool operator== ( const AuthorityInformation l,
const AuthorityInformation r 
) [friend]

Member Data Documentation

BLOCXX_NAMESPACE ::COWIntrusiveReference<AuthorityInformationImpl> limal::ca_mgm::AuthorityInformation::m_impl [private]

The documentation for this class was generated from the following file:
Generated on Sun Aug 1 09:44:12 2010 for limal-ca-mgm by  doxygen 1.6.3