mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2024-12-28 01:00:40 +01:00
Issue #161: Can it be possible to trust a certificate like in acrobat?
This commit is contained in:
parent
1bf7b724a1
commit
87cedf01dc
@ -553,7 +553,8 @@ void PDFSidebarWidget::updateSignatures(const std::vector<pdf::PDFSignatureVerif
|
||||
certRoot->setIcon(0, infoIcon);
|
||||
|
||||
pdf::PDFCertificateInfo::KeyUsageFlags keyUsageFlags = currentCertificateInfo.getKeyUsage();
|
||||
if (keyUsageFlags.testFlag(pdf::PDFCertificateInfo::KeyUsageCertSign))
|
||||
if (keyUsageFlags.testFlag(pdf::PDFCertificateInfo::KeyUsageCertSign) ||
|
||||
keyUsageFlags.testFlag(pdf::PDFCertificateInfo::KeyUsageDigitalSignature))
|
||||
{
|
||||
m_certificateInfos.push_back(currentCertificateInfo);
|
||||
certRoot->setData(0, Qt::UserRole, QVariant(static_cast<qint64>(m_certificateInfos.size() - 1)));
|
||||
|
@ -1,4 +1,5 @@
|
||||
CURRENT:
|
||||
- Issue #161: Can it be possible to trust a certificate like in acrobat?
|
||||
|
||||
V: 1.3.7 10.1.2024
|
||||
- Issue #142: Cannot reach the top
|
||||
|
Loading…
Reference in New Issue
Block a user