#include <QtCrypto>
Inheritance diagram for QCA::Certificate:
This class contains one X.509 certificate
certtest.cpp, cmsexample.cpp, publickeyexample.cpp, sslservtest.cpp, and ssltest.cpp.
|
Create an empty Certificate.
|
|
Create a Certificate from a PEM encoded file.
|
|
Create a Certificate with specified options and a specified private key.
|
|
Standard copy constructor.
|
|
Standard assignment operator.
|
|
Test if the certificate is empty (null).
|
|
The earliest date that the certificate is valid.
|
|
The latest date that the certificate is valid.
|
|
Properties of the subject of the certificate, as a QMultiMap. This is the method that provides information on the subject organisation, common name, DNS name, and so on. The list of information types (i.e. the key to the multi-map) is a CertificateInfoType. The values are a list of QString. An example of how you can iterate over the list is:
|
|
Properties of the subject of the certificate, as an ordered list (QList of CertificateInfoPair). This allows access to the certificate information in the same order as they appear in a certificate. Each pair in the list has a type and a value. For example: CertificateInfoOrdered info = cert.subjectInfoOrdered(); // info[0].type == CommonName // info[0].value == "example.com"
|
|
Properties of the issuer of the certificate.
|
|
Properties of the issuer of the certificate, as an ordered list (QList of CertificateInfoPair). This allows access to the certificate information in the same order as they appear in a certificate. Each pair in the list has a type and a value.
|
|
The constraints that apply to this certificate.
|
|
The policies that apply to this certificate. Policies are specified as strings containing OIDs |
|
list of URI locations for CRL files each URI refers to the same CRL file |
|
list of URI locations for issuer certificate files each URI refers to the same issuer file |
|
list of URI locations for OCSP services
|
|
The common name of the subject of the certificate. Common names are normally the name of a person, company or organisation
|
|
The serial number of the certificate.
|
|
The public key associated with the subject of the certificate.
|
|
Test if the Certificate is valid as a Certificate Authority.
|
|
Test if the Certificate is self-signed.
|
|
Test if the Certificate has signed another Certificate object and is therefore the issuer.
|
|
The upper bound of the number of links in the certificate chain, if any.
|
|
The signature algorithm used for the signature on this certificate.
|
|
The key identifier associated with the subject.
|
|
The key identifier associated with the issuer.
|
|
Check the validity of a certificate.
|
|
Export the Certificate into a DER format.
|
|
Export the Certificate into a PEM format.
|
|
Export the Certificate into PEM format in a file.
|
|
Import the certificate from DER.
|
|
Import the certificate from PEM format.
|
|
Import the certificate from a file.
|
|
Test if the subject of the certificate matches a specified host name. This will return true (indicating a match), if the specified host name meets the RFC 2818 validation rules with this certificate. If the host is an internationalized domain name, then it must be provided in unicode format, not in IDNA ACE/punycode format.
|
|
Test for equality of two certificates.
|
|
Inequality operator.
|
|
For internal use only.
|