Interface
PapersDocumentDocumentSignatures
Prerequisite
In order to implement DocumentSignatures, your type must inherit fromGObject.
Instance methods
pps_document_signatures_set_password_callback
Popplers crypto backend asks for certificate password before access, so set a helper function to actually allow the user to enter his password.
pps_document_signatures_sign
Start the final async process of signing a document using the prepared signature.
Interface structure
struct PapersDocumentDocumentSignaturesInterface {
  GTypeInterface base_iface;
  void (* set_password_callback) (
    PpsDocumentSignatures* document_signatures,
    PpsSignaturePasswordCallback cb,
    gpointer user_data
  );
  GList* (* get_available_signing_certificates) (
    PpsDocumentSignatures* document_signatures
  );
  PpsCertificateInfo* (* get_certificate_info) (
    PpsDocumentSignatures* document_signatures,
    const char* nick_name
  );
  void (* sign) (
    PpsDocumentSignatures* document_signatures,
    PpsSignature* signature,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  );
  gboolean (* sign_finish) (
    PpsDocumentSignatures* document_signatures,
    GAsyncResult* result,
    GError** error
  );
  gboolean (* can_sign) (
    PpsDocumentSignatures* document_signatures
  );
  gboolean (* has_signatures) (
    PpsDocumentSignatures* document_signatures
  );
  GList* (* get_signatures) (
    PpsDocumentSignatures* document_signatures
  );
  
}No description available.
Interface members
| base_iface |  | 
| No description available. | |
| set_password_callback |  | 
| No description available. | |
| get_available_signing_certificates |  | 
| No description available. | |
| get_certificate_info |  | 
| No description available. | |
| sign |  | 
| No description available. | |
| sign_finish |  | 
| No description available. | |
| can_sign |  | 
| No description available. | |
| has_signatures |  | 
| No description available. | |
| get_signatures |  | 
| No description available. | 
Virtual methods
PapersDocument.DocumentSignatures.set_password_callback
Popplers crypto backend asks for certificate password before access, so set a helper function to actually allow the user to enter his password.