namespace Akenti class OpenSSLCertificateRequestImpl : public CertificateRequestImpl This class is a subclass of CertificateRequestImpl and is a wrapper for the openssl X509_REQ structure
| | OpenSSLCertificateRequestImpl (X509_REQ *request) Constructs the object with specified type |
| | ~OpenSSLCertificateRequestImpl () Deletes the object |
| | getSubject () const Returns a Principal object which includes the DistinguishName of the Certificate to be requested |
| | getPublicKey () const Returns a PublicKey object which refers to an OpenSSLPrivateKey object containing the publicKey of the subject of the request |
| | getVersionNumber () const Returns the versionNumber of this CertificateRequest |
| | getSignatureAlgorithm () const Returns the signatureAlgorithm such as "RSA-SHA1" or "DSA-MD5" that this CertificateRequest was signed by |
| | getSignable () const Returns the part of the certficateRequest that was signed |
| | getSignature () const Returns the signature of this CertificateRequest |
| | verify () const Returns true if the signature of the request verifies |
| | paramString () const Displays the CertificateRequest in string for debugging purposes |
| | init (const string& type, const string& encoding) Creates and initializes an OpenSSLCertificateRequestImpl from a DER or PEM encoded string representation of a Request |
| | getEncoded (const string& type) const Returns a DER or PEM encoded version of the CertificateRequest that can be sent to a CA for signing |
This class is a subclass of CertificateRequestImpl and is a wrapper for the openssl X509_REQ structure. A certficateRequest holds allthe information needed to create an X509 identity certificate. It can be sent to a CA who generates and signs the identity certficate. It provides get methods to extract specific fields from the X509_REQ, such as subject, publicKey, versionNumber, signatureAlgorithm and signature. The corresponding set methods are in the OpenSSLCertificateRequestGeneratorImpl class.
~OpenSSLCertificateRequestImpl()
Principal getSubject() const
PublicKey getPublicKey() const
getPublicKey()
KeyFactory
getKeyEncoded(const string&, const PublicKey&)
initPublicKey(const string&, const string&,
const string&)
generateRSAKeyPair(int, unsigned long)
generateDSAKeyPair(int, const string&)
long getVersionNumber() const
string getSignatureAlgorithm() const
string getSignable() const
string getSignature() const
bool verify() const
string paramString() const
static OpenSSLCertificateRequestImpl* init(const string& type, const string& encoding)
encoding - the string representation of a certificateRequest.
string getEncoded(const string& type) const
SecurityException - if type is not DER or PEM
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