Beispiel #1
0
    def test_sign(self):

        sign = PdfSign(bin, key)
        path = get_test_files_dir() + "advance-body.pdf"
        sign.sign(path)
        expexted = get_test_files_dir() + "advance-body_signed.pdf"
        self.assertTrue(os.path.exists(expexted))
        self.assertTrue(False)
Beispiel #2
0
	def sign(self):
		sign = PdfSign(self.args.sign_bin, self.args.sign_key)
		sign.sign(self.args.inputs)
Beispiel #3
0
 def sign(self):
     sign = PdfSign(self.args.sign_bin, self.args.sign_key)
     sign.sign(self.args.inputs)