class CertificateFactoryImpl This abstract class provides applications with certificate generation, encoding and decoding
| | ~CertificateFactoryImpl () Deletes this object |
| | initCertificateFromFile (const string& type, const string& fileName) const Returns the Certificate from a file specified by type |
| | initCertificatesFromFile (const string& type, const string& fileName) const Returns a collection Certificates from a file specified by type |
| | initCertificates (const string& type, const string& encoding) const Returns collection of Certificates from a file of a specified type |
| | initCertificate (const string& type, const string& encoding) const Returns a Certificate class given an encoded string containing the certificate |
| | getCertificateEncoded (const string& type, const Certificate& certificate) const Encodes the Certificate using the encoding type specified by type |
| | getCertificateGenerator (const string& type) const Return an instance of CertificateGenerator using a type specified by type |
| | initCertificateRequest (const string& type, const string& encoding) const Returns a CertificateRequest |
| | getCertificateRequestEncoded (const string& type, const CertificateRequest& request) const Encodes the CertificateRequst using the encoding type specified by type |
| | getCertificateRequestGenerator (const string& type) const Return an instance of CertificateRequestGenerator using a type specified by type |
| | initCRL (const string& crl, const string& type) const Return an instance of CertificateRevocationList using the type specified |
| | initCRLFromFile (const string& crlfile, const string& type) const Return an instance of CertificateRevocationList from the given filename and the encoding type |
This abstract class provides applications with certificate generation, encoding and decoding. Typically, an instance of this class is instantiated and wrapped in a CertificateFactory object which is merely a reference-count pointer. Applications should never have to instantiate a subclass of this class. Instead, the CertificateFactory#getInstance() should be used. The only current subclass of this class is the OpenSSLCertificateFactoryImpl which handles X.509 certificates. The rest of the AkentiCertificates are generated by the AkentiCertificateFactory class.
virtual Certificate initCertificateFromFile(const string& type, const string& fileName) const
fileName - name of file to initialize the Certificate
virtual vector <Certificate> initCertificatesFromFile(const string& type, const string& fileName) const
fileName - name of file to initialize the Certificate
virtual vector <Certificate> initCertificates(const string& type, const string& encoding) const
SecurityException if type is unsupported
encoding - a string of bytes
SecurityException
virtual Certificate initCertificate(const string& type, const string& encoding) const
encoding - a string of bytes
CertificateFactoryImpl
virtual string getCertificateEncoded(const string& type, const Certificate& certificate) const
SecurityException if type is unsupported or if the
encoding fails
certificate - Certificate to be encoded
CertificateImpl
virtual CertificateGenerator getCertificateGenerator(const string& type) const
CertificateGeneratorImpl
virtual CertificateRequest initCertificateRequest(const string& type, const string& encoding) const
encoding - a string of bytes representing a CertificateRequest.
CertificateRequestImpl
virtual string getCertificateRequestEncoded(const string& type, const CertificateRequest& request) const
SecurityException if type is unsupported or if the
encoding fails
request - CertificateRequest to be encoded
CertificateRequestImpl
virtual CertificateRequestGenerator getCertificateRequestGenerator(const string& type) const
CertificateRequestGeneratorImpl
virtual CertificateRevocationList initCRL(const string& crl, const string& type) const
type - string that refers to the type of crl encoding
virtual CertificateRevocationList initCRLFromFile(const string& crlfile, const string& type) const
type - string that refers to the type of crl encoding
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