This abstract class provides applications with an interface for X509 certificate generation, encoding and decoding
![]() | ~CertificateFactoryImpl () Deletes this object |
![]() | initCertificateFromFile (const string& type, const string& fileName) const Returns the Certificate from a file containing a PEM encoded X |
![]() | initCertificatesFromFile (const string& type, const string& fileName) const Returns a collection Certificates from a file containing a one or more PEM encoded X |
![]() | initCertificate (const string& type, const string& encoding) const Returns a Certificate class given an encoded string containing the certificate |
![]() | initCertificates (const string& type, const string& encoding) const Returns collection of Certificates from a a string containing one or more PEM encoded certificates |
![]() | initCertificateChainFromFile (const string& type, const string& fname) const Returns a CertificateChain from a file containing a PEM encoded certificate chain |
![]() | initCertificateChain (const string& type, const string& encoding) const Returns a CertificateChain from a string containing a PEM encoded certificate chain |
![]() | 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 an interface for X509 certificate generation, encoding and decoding.The actual implemenation of this class is done by a provider class, for example OpenSSLCertificateFactoryImpl. Akenti certificates are handled by the AkentiCertificateFactory class, rather than this class. 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#getCertificateFactory() should be used.
virtual Certificate initCertificateFromFile(const string& type, const string& fileName) const
fileName - name of file from which to initialize the Certificate
virtual vector <Certificate> initCertificatesFromFile(const string& type, const string& fileName) const
fileName - name of file from which to initialize the Certificate
virtual Certificate initCertificate(const string& type, const string& encoding) const
encoding - a string of bytes
CertificateFactoryImpl virtual vector <Certificate> initCertificates(const string& type, const string& encoding) const
SecurityException if type is unsupported
encoding - a string of bytes
SecurityException virtual CertificateChain initCertificateChainFromFile(const string& type, const string& fname) const
fileName - name of file from which to initialize the Certificate
chain
virtual CertificateChain initCertificateChain(const string& type, const string& encoding) const
encoding - a string of bytes
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