Skip to content

Text-based stamps with async_sign #88

Discussion options

You must be logged in to vote

Hi @inui-sdt2,

The function async_sign_pdf in pyhanko.sign.signers.functions doesn't take any styling parameters, but that function is actually just a very thin wrapper around the async_sign_pdf method of the pyhanko.sign.signers.pdf_signer.PdfSigner class:

signer = PdfSigner(
signature_meta, signer, timestamper=timestamper,
new_field_spec=new_field_spec
)
return await signer.async_sign_pdf(
pdf_out, existing_fields_only=existing_fields_only,
bytes_reserved=bytes_reserved, in_place=in_place, output=output
)
.

If you instantiate your own PdfSigner, then you can pass in a

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by inui-sdt2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants