Poppler Qt6 22.09.0
Public Types | Public Member Functions | List of all members
Poppler::SignatureValidationInfo Class Reference

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
 
SignatureValidationInfooperator= (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
 
 ~SignatureValidationInfo ()
 

Member Enumeration Documentation

◆ CertificateStatus

The verification result of the certificate.

Enumerator
CertificateTrusted 

The certificate is considered trusted.

CertificateUntrustedIssuer 

The issuer of this certificate has been marked as untrusted by the user.

CertificateUnknownIssuer 

The certificate trust chain has not finished in a trusted root certificate.

CertificateRevoked 

The certificate was revoked by the issuing certificate authority.

CertificateExpired 

The signing time is outside the validity bounds of this certificate.

CertificateGenericError 

The certificate could not be verified.

CertificateNotVerified 

The certificate is not yet verified.

◆ SignatureStatus

The verification result of the signature.

Enumerator
SignatureValid 

The signature is cryptographically valid.

SignatureInvalid 

The signature is cryptographically invalid.

SignatureDigestMismatch 

The document content was changed after the signature was applied.

SignatureDecodingError 

The signature CMS/PKCS7 structure is malformed.

SignatureGenericError 

The signature could not be verified.

SignatureNotFound 

The requested signature is not present in the document.

SignatureNotVerified 

The signature is not yet verified.


The documentation for this class was generated from the following file: