3#ifndef PDFSDK_CXX_PDF_FORM_FIELD_H_INCLUDED_
4#define PDFSDK_CXX_PDF_FORM_FIELD_H_INCLUDED_
10#include "forward_declarations.h"
11#include "wrapper_base.h"
56 virtual std::vector<uint8_t>
Sign(
const uint8_t* contents,
size_t size) = 0;
64class FormField :
public detail::RefCountedHandle<PDField> {
130 void SignApprove(std::shared_ptr<SignHandler> signer,
const std::wstring& reason);
185 PDF_CXX_CORE_WRAPPER_DEFINE_MEMBERS_(
FormField, PDField)
190#include "form_field_impl.inl"
Represents a PDF object.
Definition object.h:20
A callback interface for signing a PDF document.
Definition form_field.h:19
virtual std::vector< uint8_t > GetCertData(size_t index)=0
Get the certificate data at the specified index.
virtual std::string GetFilter()=0
Get the filter for the signature.
virtual size_t EstimateMaxSize()=0
Estimate the maximum size of the signature contents.
virtual std::string GetSubFilter()=0
Get the subfilter for the signature.
virtual std::vector< uint8_t > Sign(const uint8_t *contents, size_t size)=0
Sign the specified data.
virtual size_t GetNumCerts()=0
Get the number of certificates.