WIP - use another API for signing

This commit is contained in:
tigp
2018-06-29 18:12:49 +02:00
parent af18f0bd57
commit 6b914d1698
8 changed files with 68 additions and 43 deletions

View File

@@ -123,8 +123,8 @@ func main() {
ContactInfo: "Geen",
Date: time.Now().Local(),
},
CertType: 2,
Approval: false,
CertType: sign.CertificationSignature,
DocMDPPerm: sign.AllowFillingExistingFormFieldsAndSignatures,
},
Signer: pkey,
Certificate: cert,