Poppler Qt5  20.10.0
Public Types | Public Member Functions | List of all members
Poppler::FormFieldSignature Class Reference

#include <poppler-form.h>

Inheritance diagram for Poppler::FormFieldSignature:
Inheritance graph
[legend]
Collaboration diagram for Poppler::FormFieldSignature:
Collaboration graph
[legend]

Public Types

enum  SignatureType { AdbePkcs7sha1, AdbePkcs7detached, EtsiCAdESdetached, UnknownSignatureType }
 
enum  ValidateOptions { ValidateVerifyCertificate = 1, ValidateForceRevalidation = 2 }
 
- Public Types inherited from Poppler::FormField
enum  AdditionalActionType { FieldModified, FormatField, ValidateField, CalculateField }
 
enum  FormType { FormButton, FormText, FormChoice, FormSignature }
 

Public Member Functions

SignatureType signatureType () const
 
FormType type () const override
 
SignatureValidationInfo validate (int opt, const QDateTime &validationTime) const
 
SignatureValidationInfo validate (ValidateOptions opt) const
 
- Public Member Functions inherited from Poppler::FormField
LinkactivationAction () const
 
LinkadditionalAction (AdditionalActionType type) const
 
LinkadditionalAction (Annotation::AdditionalActionType type) const
 
QString fullyQualifiedName () const
 
int id () const
 
bool isPrintable () const
 
bool isReadOnly () const
 
bool isVisible () const
 
QString name () const
 
QRectF rect () const
 
void setName (const QString &name) const
 
void setPrintable (bool value)
 
void setReadOnly (bool value)
 
void setVisible (bool value)
 
QString uiName () const
 

Detailed Description

A form field that represents a signature.

Since
0.51

Member Enumeration Documentation

◆ SignatureType

The types of signature fields.

Since
0.58
Enumerator
UnknownSignatureType 
Since
0.90

◆ ValidateOptions

The validation options of this signature.

Enumerator
ValidateVerifyCertificate 

Validate the certificate.

ValidateForceRevalidation 

Force revalidation of the certificate.

Member Function Documentation

◆ signatureType()

SignatureType Poppler::FormFieldSignature::signatureType ( ) const

The signature type.

Since
0.58

◆ validate() [1/2]

SignatureValidationInfo Poppler::FormFieldSignature::validate ( int  opt,
const QDateTime &  validationTime 
) const

Validate the signature with validationTime as validation time.

Reset signature validatation info of scoped instance.

Since
0.58

◆ validate() [2/2]

SignatureValidationInfo Poppler::FormFieldSignature::validate ( ValidateOptions  opt) const

Validate the signature with now as validation time.

Reset signature validatation info of scoped instance.


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