limal-ca-mgm
Public Member Functions | Private Attributes
limal::ca_mgm::AuthorityInfoAccessExt Class Reference

#include <AuthorityInfoAccessExtension.hpp>

Inheritance diagram for limal::ca_mgm::AuthorityInfoAccessExt:
limal::ca_mgm::ExtensionBase

List of all members.

Public Member Functions

 AuthorityInfoAccessExt ()
 AuthorityInfoAccessExt (const AuthorityInfoAccessExt &extension)
 AuthorityInfoAccessExt (CAConfig *caConfig, Type type)
virtual ~AuthorityInfoAccessExt ()
AuthorityInfoAccessExtoperator= (const AuthorityInfoAccessExt &extension)
void setAuthorityInformation (const BLOCXX_NAMESPACE::List< AuthorityInformation > &infolist)
BLOCXX_NAMESPACE::List
< AuthorityInformation
getAuthorityInformation () const
virtual void commit2Config (CA &ca, Type type) const
virtual bool valid () const
virtual
BLOCXX_NAMESPACE::StringArray 
verify () const
virtual
BLOCXX_NAMESPACE::StringArray 
dump () const

Private Attributes

BLOCXX_NAMESPACE::COWIntrusiveReference
< AuthorityInfoAccessExtImpl > 
m_impl

Detailed Description

The authority information access extension gives details about how to access certain information relating to the CA.

   LiteralValue lv("URI", "http://www.example.com/ca/");
   AuthorityInformation ai("caIssuers", lv);

   List<AuthorityInformation> list;
   list.push_back(ai);

   AuthorityInfoAccessExt aie;
   aie.setAuthorityInformation(list);
Examples:

CreateCertificate.cpp.


Constructor & Destructor Documentation

limal::ca_mgm::AuthorityInfoAccessExt::AuthorityInfoAccessExt ( )

Construct an empty object

limal::ca_mgm::AuthorityInfoAccessExt::AuthorityInfoAccessExt ( const AuthorityInfoAccessExt extension)
limal::ca_mgm::AuthorityInfoAccessExt::AuthorityInfoAccessExt ( CAConfig caConfig,
Type  type 
)

Construct an AuthorityInfoAccessExt object from a config object

Parameters:
caConfigobject of the configuration file
typethe type describes the section of the config file
virtual limal::ca_mgm::AuthorityInfoAccessExt::~AuthorityInfoAccessExt ( ) [virtual]

Member Function Documentation

virtual void limal::ca_mgm::AuthorityInfoAccessExt::commit2Config ( CA ca,
Type  type 
) const [virtual]

Write the informations of this object back to the configuration file

Parameters:
cathe CA object which holds the config object
typethe type describes the section of the config file

Implements limal::ca_mgm::ExtensionBase.

virtual BLOCXX_NAMESPACE::StringArray limal::ca_mgm::AuthorityInfoAccessExt::dump ( ) const [virtual]

Return the content of this object for debugging

Reimplemented from limal::ca_mgm::ExtensionBase.

BLOCXX_NAMESPACE::List<AuthorityInformation> limal::ca_mgm::AuthorityInfoAccessExt::getAuthorityInformation ( ) const

Return the list with Authority Informations

AuthorityInfoAccessExt& limal::ca_mgm::AuthorityInfoAccessExt::operator= ( const AuthorityInfoAccessExt extension)
void limal::ca_mgm::AuthorityInfoAccessExt::setAuthorityInformation ( const BLOCXX_NAMESPACE::List< AuthorityInformation > &  infolist)

Set a new list of Authority Informations

Examples:
CreateCertificate.cpp.
virtual bool limal::ca_mgm::AuthorityInfoAccessExt::valid ( ) const [virtual]

Check if this object is valid

Returns:
true if this object is valid, otherwise false

Implements limal::ca_mgm::ExtensionBase.

virtual BLOCXX_NAMESPACE::StringArray limal::ca_mgm::AuthorityInfoAccessExt::verify ( ) const [virtual]

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

Implements limal::ca_mgm::ExtensionBase.


Member Data Documentation

BLOCXX_NAMESPACE::COWIntrusiveReference<AuthorityInfoAccessExtImpl> limal::ca_mgm::AuthorityInfoAccessExt::m_impl [private]

Reimplemented from limal::ca_mgm::ExtensionBase.


The documentation for this class was generated from the following file: