|
Poppler Qt6 26.10.90
|
Public Types | |
| enum class | CertificateType { X509 , PGP } |
| enum class | KeyLocation { Unknown , Other , Computer , HardwareToken } |
| enum | KeyUsageExtension { KuDigitalSignature = 0x80 , KuNonRepudiation = 0x40 , KuKeyEncipherment = 0x20 , KuDataEncipherment = 0x10 , KuKeyAgreement = 0x08 , KuKeyCertSign = 0x04 , KuClrSign = 0x02 , KuEncipherOnly = 0x01 , KuNone = 0x00 } |
| enum | PublicKeyType { RsaKey , DsaKey , EcKey , OtherKey } |
Public Member Functions | |
| QByteArray | certificateData () const |
| CertificateInfo (CertificateInfoPrivate *priv) | |
| CertificateInfo (const CertificateInfo &other) | |
| CertificateType | certificateType () const |
| bool | checkPassword (const QString &password) const |
| bool | isNull () const |
| bool | isQualified () const |
| bool | isSelfSigned () const |
| QString | issuerInfo (EntityInfoKey key) const |
| KeyLocation | keyLocation () const |
| KeyUsageExtensions | keyUsageExtensions () const |
| QString | nickName () const |
| CertificateInfo & | operator= (const CertificateInfo &other) |
| POPPLER_QT6_DEPRECATED QByteArray | publicKey () const |
| int | publicKeyStrength () const |
| PublicKeyType | publicKeyType () const |
| Q_DECLARE_FLAGS (KeyUsageExtensions, KeyUsageExtension) enum EntityInfoKey | |
| QByteArray | serialNumber () const |
| QString | subjectInfo (EntityInfoKey key) const |
| QVector< SMimeSignatureType > | supportedSMimeSignatureTypes () const |
| QDateTime | validityEnd () const |
| QDateTime | validityStart () const |
| int | version () const |
|
strong |
The type of the certificate.
|
strong |
A signing key can be located in different places sometimes.
For the user, it might be easier to pick the key located on a card if it has some visual indicator that it is somehow removable.
| CertificateType Poppler::CertificateInfo::certificateType | ( | ) | const |
| bool Poppler::CertificateInfo::checkPassword | ( | const QString & | password | ) | const |
Checks if the given password is the correct one for this certificate.
| bool Poppler::CertificateInfo::isQualified | ( | ) | const |
Can be used to do qualified electronic signatures (legally binding).
https://en.wikipedia.org/wiki/Qualified_electronic_signature
| KeyLocation Poppler::CertificateInfo::keyLocation | ( | ) | const |
The storage location for this key.
| QString Poppler::CertificateInfo::nickName | ( | ) | const |
The certificate internal database nickname.
| POPPLER_QT6_DEPRECATED QByteArray Poppler::CertificateInfo::publicKey | ( | ) | const |
The raw public key value, though it might also be empty depending on the signature types involved.
There should be no need for any normal applications to present the raw public key anywhere, though should it be needed it can be parsed out of certificateData
| QVector< SMimeSignatureType > Poppler::CertificateInfo::supportedSMimeSignatureTypes | ( | ) | const |
The various s/mime signature types that this certificate might succeed in making.
Please note that supportedSMimeTypes::none is special and if it is in the list, it will be the only one, and can be interpreted as a 'give me .. something' value or this is not a SMime in certificateType.