#include <QtCrypto>
Collaboration diagram for QCA::CertificateOptions:

| QCA::CertificateOptions::CertificateOptions | ( | CertificateRequestFormat | format = PKCS10 |
) |
Create a Certificate options set.
| format | the format to create the certificate request in |
| QCA::CertificateOptions::CertificateOptions | ( | const CertificateOptions & | from | ) |
| QString QCA::CertificateOptions::challenge | ( | ) | const |
| Constraints QCA::CertificateOptions::constraints | ( | ) | const |
List the constraints on this certificate.
| QStringList QCA::CertificateOptions::crlLocations | ( | ) | const |
list of URI locations for CRL files
each URI refers to the same CRL file
For Certificate creation only
| CertificateRequestFormat QCA::CertificateOptions::format | ( | ) | const |
test the format type for this certificate
| CertificateInfo QCA::CertificateOptions::info | ( | ) | const |
| CertificateInfoOrdered QCA::CertificateOptions::infoOrdered | ( | ) | const |
Information on the subject of the certificate, in the exact order the items will be written.
| bool QCA::CertificateOptions::isCA | ( | ) | const |
| QStringList QCA::CertificateOptions::issuerLocations | ( | ) | const |
list of URI locations for issuer certificate files
each URI refers to the same issuer file
For Certificate creation only
| bool QCA::CertificateOptions::isValid | ( | ) | const |
Test if the certificate options object is valid.
| QDateTime QCA::CertificateOptions::notValidAfter | ( | ) | const |
the last time the certificate is valid
For Certificate creation only
| QDateTime QCA::CertificateOptions::notValidBefore | ( | ) | const |
the first time the certificate will be valid
For Certificate creation only
| QStringList QCA::CertificateOptions::ocspLocations | ( | ) | const |
list of URI locations for OCSP services
For Certificate creation only
| CertificateOptions& QCA::CertificateOptions::operator= | ( | const CertificateOptions & | from | ) |
| int QCA::CertificateOptions::pathLimit | ( | ) | const |
return the path limit on this certificate
| QStringList QCA::CertificateOptions::policies | ( | ) | const |
list the policies on this certificate
| BigInteger QCA::CertificateOptions::serialNumber | ( | ) | const |
The serial number for the certificate.
For Certificate creation only
| void QCA::CertificateOptions::setAsCA | ( | int | pathLimit = 8 |
) |
set the certificate to be a CA cert
| pathLimit | the number of intermediate certificates allowable |
| void QCA::CertificateOptions::setAsUser | ( | ) |
set the certificate to be a user cert (this is the default)
| void QCA::CertificateOptions::setChallenge | ( | const QString & | s | ) |
Specify the challenge associated with this certificate.
| s | the challenge string |
| void QCA::CertificateOptions::setConstraints | ( | const Constraints & | constraints | ) |
set the constraints on the certificate
| constraints | the constraints to be used for the certificate |
| void QCA::CertificateOptions::setCRLLocations | ( | const QStringList & | locations | ) |
| void QCA::CertificateOptions::setFormat | ( | CertificateRequestFormat | f | ) |
Specify the format for this certificate.
| f | the format to use |
| void QCA::CertificateOptions::setInfo | ( | const CertificateInfo & | info | ) |
Specify information for the the subject associated with the certificate.
| info | the information for the subject |
| void QCA::CertificateOptions::setInfoOrdered | ( | const CertificateInfoOrdered & | info | ) |
Specify information for the the subject associated with the certificate.
| info | the information for the subject |
| void QCA::CertificateOptions::setIssuerLocations | ( | const QStringList & | locations | ) |
set the issuer certificate locations of the certificate
each location refers to the same issuer file.
| locations | a list of URIs to issuer certificate files |
| void QCA::CertificateOptions::setOCSPLocations | ( | const QStringList & | locations | ) |
set the OCSP service locations of the certificate
| locations | a list of URIs to OCSP services |
| void QCA::CertificateOptions::setPolicies | ( | const QStringList & | policies | ) |
set the policies on the certificate
| policies | the policies to be used for the certificate |
| void QCA::CertificateOptions::setSerialNumber | ( | const BigInteger & | i | ) |
Set the serial number property on this certificate.
| i | the serial number to use |
Set the validity period for the certificate.
| start | the first time this certificate becomes valid | |
| end | the last time this certificate is valid |
1.5.2