Certificate validation

This commit is contained in:
Jakub Melka
2020-06-14 18:40:42 +02:00
parent a319bd611b
commit 783aa8d007
8 changed files with 451 additions and 7 deletions

View File

@ -409,7 +409,7 @@ private:
/// Fields forms tree-like structure, where leafs are usually widgets. Fields include
/// ordinary widgets, such as buttons, check boxes, combo boxes and text fields, and one
/// special - signature field, which represents digital signature.
class PDFForm
class PDFFORQTLIBSHARED_EXPORT PDFForm
{
public:
explicit inline PDFForm() = default;
@ -454,6 +454,12 @@ public:
/// \param widget Widget annotation
PDFFormField* getFormFieldForWidget(PDFObjectReference widget);
/// Applies function to all form fields present in the form,
/// in pre-order (first application is to the parent, following
/// calls to apply for children).
/// \param functor Functor to apply
void apply(const std::function<void(const PDFFormField*)>& functor) const;
/// Parses form from the object. If some error occurs
/// then empty form is returned, no exception is thrown.
/// \param document Document