API Documentation
Documentation for developing SailfishOS applicationsCertificateFile Class
(Sailfish::Mdm::CertificateFile)The CertificateFile class encapsulates a list of certificates provided by an installed file. More...
Header: | #include <mdm-certificate.h> |
Public Functions
CertificateFile() | |
CertificateFile(const CertificateFile &file) | |
~CertificateFile() | |
QList<QSslCertificate> | certificates() const |
QString | fileName() const |
bool | isNull() const |
CertificateFile & | operator=(const CertificateFile &file) |
Detailed Description
The CertificateFile class encapsulates a list of certificates provided by an installed file.
A list of all installed certificate files can be obtained from Certificates::installedFiles(), and a list of all installed certificate blacklist files can be obtained from Certificates::blacklistedFiles().
Member Function Documentation
CertificateFile::CertificateFile()
Constructs a null certificate file.
CertificateFile::CertificateFile(const CertificateFile &file)
Constructs a copy of another certificate file.
CertificateFile::~CertificateFile()
Destroys a certificate file.
QList<QSslCertificate> CertificateFile::certificates() const
Returns a list of certificates stored in a certificate file.
QString CertificateFile::fileName() const
Returns the file name of a certificate file.
bool CertificateFile::isNull() const
Returns true if this is a null certificate file and false if it is not.
CertificateFile &CertificateFile::operator=(const CertificateFile &file)
Assigns the content of another certificate file to this.
Returns a reference to this.