The CertificateRequestBuilder class is a tool for creating certificate signing requests. More...
#include <CertificateRequestBuilder>
CertificateRequestBuilder () | |
~CertificateRequestBuilder () | |
bool | addNameEntry ( Certificate::EntryType type, const QByteArray & value ) |
bool | addNameEntry ( const QByteArray & oid, const QByteArray & value, bool raw = false ) |
bool | addSubjectAlternativeNameEntry ( QSsl::AlternateNameEntryType type, const QByteArray & value ) |
int | error () const |
QString | errorString () const |
QList<QByteArray> | nameEntryAttributes () |
QStringList | nameEntryInfo ( Certificate::EntryType attribute ) |
QStringList | nameEntryInfo ( const QByteArray & oid ) |
bool | setKey ( const QSslKey & qkey ) |
bool | setVersion ( int version ) |
CertificateRequest | signedRequest ( const QSslKey & qkey ) |
int | version () const |
The CertificateRequestBuilder class is a tool for creating certificate signing requests.
Returns the last error that occurred when using this object. The values used are those of gnutls. If there has not been an error then it is guaranteed to be 0.
Returns a string describing the last error that occurred when using this object.
Returns the list of attributes that are present in this requests distinguished name. The attributes are returned as OIDs.
Returns the list of entries for the attribute specified.
Returns the list of entries for the attribute specified by the oid.
Sets the key that will be used for the reqest.
Set the version of the certificate signing request. This should generally be set to 1.
See also version().
Signs the request with the specified key and returns the signed request.
Returns the version of the certificate signing request.
See also setVersion().