Poppler Qt5
0.74.0
|
Public Types | |
enum | CertificateStatus { CertificateTrusted, CertificateUntrustedIssuer, CertificateUnknownIssuer, CertificateRevoked, CertificateExpired, CertificateGenericError, CertificateNotVerified } |
enum | HashAlgorithm { HashAlgorithmUnknown, HashAlgorithmMd2, HashAlgorithmMd5, HashAlgorithmSha1, HashAlgorithmSha256, HashAlgorithmSha384, HashAlgorithmSha512, HashAlgorithmSha224 } |
enum | SignatureStatus { SignatureValid, SignatureInvalid, SignatureDigestMismatch, SignatureDecodingError, SignatureGenericError, SignatureNotFound, SignatureNotVerified } |
Public Member Functions | |
CertificateInfo | certificateInfo () const |
CertificateStatus | certificateStatus () const |
HashAlgorithm | hashAlgorithm () const |
QString | location () const |
SignatureValidationInfo & | operator= (const SignatureValidationInfo &other) |
QString | reason () const |
QByteArray | signature () const |
SignatureStatus | signatureStatus () const |
SignatureValidationInfo (const SignatureValidationInfo &other) | |
QList< qint64 > | signedRangeBounds () const |
QString | signerName () const |
QString | signerSubjectDN () const |
time_t | signingTime () const |
bool | signsTotalDocument () const |
The verification result of the certificate.
The hash algorithm of the signature.
The verification result of the signature.
CertificateInfo Poppler::SignatureValidationInfo::certificateInfo | ( | ) | const |
The signer certificate info.
HashAlgorithm Poppler::SignatureValidationInfo::hashAlgorithm | ( | ) | const |
The hash algorithm used for the signature.
QString Poppler::SignatureValidationInfo::location | ( | ) | const |
Get signing location.
QString Poppler::SignatureValidationInfo::reason | ( | ) | const |
Get signing reason.
QByteArray Poppler::SignatureValidationInfo::signature | ( | ) | const |
Get the signature binary data.
QList<qint64> Poppler::SignatureValidationInfo::signedRangeBounds | ( | ) | const |
Get the bounds of the ranges of the document which are signed.
QString Poppler::SignatureValidationInfo::signerSubjectDN | ( | ) | const |
The signer subject distinguished name associated with the signature.
bool Poppler::SignatureValidationInfo::signsTotalDocument | ( | ) | const |
Checks whether the signature authenticates the total document except for the signature itself.