API¶
AIS client¶
PDF file¶
-
class
AIS.
PDF
(in_filename, prepared=False)[source]¶ Bases:
object
A container for a PDF file to be signed and the signed version.
-
in_filename
= None¶ Filename of the PDF to be treated.
-
out_filename
= None¶ Filename of the output, signed PDF.
-
classmethod
prepare_batch
(pdfs)[source]¶ Add an empty signature to each of pdfs with only one java call.
-
prepared
= None¶ Is the PDF prepared with an empty signature?
-
Exceptions¶
-
exception
AIS.
AuthenticationFailed
[source]¶ Bases:
AIS.exceptions.AISError
Authentication with AIS failed.
This means that AIS returned http://ais.swisscom.ch/1.0/resultminor/AuthenticationFailed
-
exception
AIS.
AISError
[source] Bases:
exceptions.Exception
Generic AIS Error.