We downloaded the sample code SigningPDFDocumentWithPKICertificate. We generated a NSData from a p12 file conform to the PKCS#7 and called injectDigestToken with this NSData as token parameter. All seems go right but when we opened the pdf from a PC to verify the signature and there is no sign field into document.

Thank you for the inquiry.
Could you tell me in more detail about the words you said “there is no sign field into document.” ?
do you want to show a token image in PDF Document?
Actually if you just used a injectDigestToken method, token image isn’t visible. because token data has no appearance.
if you want to see a token image in PDFDocument, you have to use a insertImage method in PlugPDFDocument.
and this is the link about the PKI signing.https://plugpdf.com/how-to-sign-pdf-document-with-pki-certificate-on-ios/
I hope it would be helpful to you.
Best Regards,
Dr.Plug

Thank you for the inquiry.
Could you tell me in more detail about the words you said “there is no sign field into document.” ?
do you want to show a token image in PDF Document?
Actually if you just used a injectDigestToken method, token image isn’t visible. because token data has no appearance.
if you want to see a token image in PDFDocument, you have to use a insertImage method in PlugPDFDocument.
and this is the link about the PKI signing.