Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Saves and signs the current PDF with dialog to pick certificate.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 10.1 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
The PDF reference returned from DynaPDF.New. | |||
SignatureContainer | The container with the PKCS#12 file. | ||
Password | The password to read the signature. Leave empty if not encrypted. |
"123456" | Optional |
ContactInfo | Optional contact info. | Optional | |
Location | Optional signers location string | $location | Optional |
Reason | Optional reason string. | $reason | Optional |
filename | Optionally the file name to be associated with the container value. The file name should include pdf file extension. |
"hello.pdf" | Optional |
Preview | Optional, whether to include a preview JPEG. Default is 1 for including one. Pass zero to disable preview. |
1 | Optional |
DetachedSignature | Available in MBS FileMaker Plugin 11.2 or newer. Whether to use a detached signature. Pass 1 for detached signature vs. 0 for SHA1 signature. Default is 0. |
0 | Optional |
Returns OK or error.
Save and sign a PDF after you assembled it:
Set Variable [ $PDFData ; Value: MBS("DynaPDF.SaveAndSignFileWinCrypt"; $pdf; "C:\Users\Christian\Desktop\test_cert.pfx"; "123456") ]
Set Variable [ $r ; Value: MBS("DynaPDF.Release"; $pdf) ]
# Put in Container
Set Field [ Create Text::PDF ; $PDFData ]
Created 31st January 2020, last changed 28th March 2021
DynaPDF.SaveAndSignFileExt - DynaPDF.SaveAndSignFileWinCryptDialog
Feedback: Report problem or ask question.