qca
QCA::CertificateOptions Class Reference
[QCA user API]
Certificate options More...
#include <QtCrypto>
Detailed Description
Certificate options
- Note:
- In SPKAC mode, all options are ignored except for challenge
Definition at line 602 of file qca_cert.h.
Constructor & Destructor Documentation
| QCA::CertificateOptions::CertificateOptions | ( | CertificateRequestFormat | format = PKCS10 |
) |
Create a Certificate options set.
- Parameters:
-
format the format to create the certificate request in
Definition at line 1021 of file qca_cert.cpp.
| QCA::CertificateOptions::CertificateOptions | ( | const CertificateOptions & | from | ) |
Standard copy constructor.
- Parameters:
-
from the Certificate Options to copy into this object
Definition at line 1027 of file qca_cert.cpp.
| QCA::CertificateOptions::~CertificateOptions | ( | ) |
Definition at line 1032 of file qca_cert.cpp.
Member Function Documentation
| QString QCA::CertificateOptions::challenge | ( | ) | const |
The challenge part of the certificate.
For CertificateRequest only
- See also:
- setChallenge
Definition at line 1065 of file qca_cert.cpp.
| Constraints QCA::CertificateOptions::constraints | ( | ) | const |
List the constraints on this certificate.
Definition at line 1080 of file qca_cert.cpp.
| QStringList QCA::CertificateOptions::crlLocations | ( | ) | const |
list of URI locations for CRL files
each URI refers to the same CRL file
For Certificate creation only
Definition at line 1090 of file qca_cert.cpp.
| CertificateRequestFormat QCA::CertificateOptions::format | ( | ) | const |
test the format type for this certificate
Definition at line 1043 of file qca_cert.cpp.
| CertificateInfo QCA::CertificateOptions::info | ( | ) | const |
Information on the subject of the certificate.
- See also:
- setInfo
Definition at line 1070 of file qca_cert.cpp.
| CertificateInfoOrdered QCA::CertificateOptions::infoOrdered | ( | ) | const |
Information on the subject of the certificate, in the exact order the items will be written.
- See also:
- setInfoOrdered
Definition at line 1075 of file qca_cert.cpp.
| bool QCA::CertificateOptions::isCA | ( | ) | const |
test if the certificate is a CA cert
Definition at line 1105 of file qca_cert.cpp.
| 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
Definition at line 1095 of file qca_cert.cpp.
| bool QCA::CertificateOptions::isValid | ( | ) | const |
Test if the certificate options object is valid.
- Returns:
- true if the certificate options object is valid
Definition at line 1053 of file qca_cert.cpp.
| QDateTime QCA::CertificateOptions::notValidAfter | ( | ) | const |
the last time the certificate is valid
For Certificate creation only
Definition at line 1125 of file qca_cert.cpp.
| QDateTime QCA::CertificateOptions::notValidBefore | ( | ) | const |
the first time the certificate will be valid
For Certificate creation only
Definition at line 1120 of file qca_cert.cpp.
| QStringList QCA::CertificateOptions::ocspLocations | ( | ) | const |
list of URI locations for OCSP services
For Certificate creation only
Definition at line 1100 of file qca_cert.cpp.
| CertificateOptions & QCA::CertificateOptions::operator= | ( | const CertificateOptions & | from | ) |
Standard assignment operator.
- Parameters:
-
from the Certificate Options to copy into this object
Definition at line 1037 of file qca_cert.cpp.
| int QCA::CertificateOptions::pathLimit | ( | ) | const |
return the path limit on this certificate
Definition at line 1110 of file qca_cert.cpp.
| QStringList QCA::CertificateOptions::policies | ( | ) | const |
list the policies on this certificate
Definition at line 1085 of file qca_cert.cpp.
| BigInteger QCA::CertificateOptions::serialNumber | ( | ) | const |
The serial number for the certificate.
For Certificate creation only
Definition at line 1115 of file qca_cert.cpp.
| void QCA::CertificateOptions::setAsCA | ( | int | pathLimit = 8 |
) |
set the certificate to be a CA cert
- Parameters:
-
pathLimit the number of intermediate certificates allowable
Definition at line 1172 of file qca_cert.cpp.
| void QCA::CertificateOptions::setAsUser | ( | ) |
set the certificate to be a user cert (this is the default)
Definition at line 1178 of file qca_cert.cpp.
| void QCA::CertificateOptions::setChallenge | ( | const QString & | s | ) |
Specify the challenge associated with this certificate.
- Parameters:
-
s the challenge string
- See also:
- challenge()
Definition at line 1130 of file qca_cert.cpp.
| void QCA::CertificateOptions::setConstraints | ( | const Constraints & | constraints | ) |
set the constraints on the certificate
- Parameters:
-
constraints the constraints to be used for the certificate
Definition at line 1147 of file qca_cert.cpp.
| void QCA::CertificateOptions::setCRLLocations | ( | const QStringList & | locations | ) |
set the CRL locations of the certificate
each location refers to the same CRL.
- Parameters:
-
locations a list of URIs to CRL files
Definition at line 1157 of file qca_cert.cpp.
| void QCA::CertificateOptions::setFormat | ( | CertificateRequestFormat | f | ) |
Specify the format for this certificate.
- Parameters:
-
f the format to use
Definition at line 1048 of file qca_cert.cpp.
| void QCA::CertificateOptions::setInfo | ( | const CertificateInfo & | info | ) |
Specify information for the the subject associated with the certificate.
- Parameters:
-
info the information for the subject
- See also:
- info()
Definition at line 1135 of file qca_cert.cpp.
| void QCA::CertificateOptions::setInfoOrdered | ( | const CertificateInfoOrdered & | info | ) |
Specify information for the the subject associated with the certificate.
- Parameters:
-
info the information for the subject
- See also:
- info()
Definition at line 1141 of file qca_cert.cpp.
| void QCA::CertificateOptions::setIssuerLocations | ( | const QStringList & | locations | ) |
set the issuer certificate locations of the certificate
each location refers to the same issuer file.
- Parameters:
-
locations a list of URIs to issuer certificate files
Definition at line 1162 of file qca_cert.cpp.
| void QCA::CertificateOptions::setOCSPLocations | ( | const QStringList & | locations | ) |
set the OCSP service locations of the certificate
- Parameters:
-
locations a list of URIs to OCSP services
Definition at line 1167 of file qca_cert.cpp.
| void QCA::CertificateOptions::setPolicies | ( | const QStringList & | policies | ) |
set the policies on the certificate
- Parameters:
-
policies the policies to be used for the certificate
Definition at line 1152 of file qca_cert.cpp.
| void QCA::CertificateOptions::setSerialNumber | ( | const BigInteger & | i | ) |
Set the serial number property on this certificate.
- Parameters:
-
i the serial number to use
Definition at line 1184 of file qca_cert.cpp.
Set the validity period for the certificate.
- Parameters:
-
start the first time this certificate becomes valid end the last time this certificate is valid
Definition at line 1189 of file qca_cert.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference