WIP - use another API for signing
This commit is contained in:
@@ -180,8 +180,8 @@ func TestSignPDF(t *testing.T) {
|
||||
ContactInfo: "Geen",
|
||||
Date: time.Now().Local(),
|
||||
},
|
||||
CertType: 2,
|
||||
Approval: false,
|
||||
CertType: CertificationSignature,
|
||||
DocMDPPerm: AllowFillingExistingFormFieldsAndSignatures,
|
||||
},
|
||||
Signer: pkey,
|
||||
Certificate: cert,
|
||||
@@ -253,8 +253,8 @@ func TestSignPDFFile(t *testing.T) {
|
||||
ContactInfo: "Geen",
|
||||
Date: time.Now().Local(),
|
||||
},
|
||||
CertType: 2,
|
||||
Approval: false,
|
||||
CertType: CertificationSignature,
|
||||
DocMDPPerm: AllowFillingExistingFormFieldsAndSignatures,
|
||||
},
|
||||
Signer: pkey,
|
||||
Certificate: cert,
|
||||
@@ -332,8 +332,8 @@ func BenchmarkSignPDF(b *testing.B) {
|
||||
ContactInfo: "Geen",
|
||||
Date: time.Now().Local(),
|
||||
},
|
||||
CertType: 2,
|
||||
Approval: false,
|
||||
CertType: CertificationSignature,
|
||||
DocMDPPerm: AllowFillingExistingFormFieldsAndSignatures,
|
||||
},
|
||||
Signer: pkey,
|
||||
Certificate: cert,
|
||||
|
Reference in New Issue
Block a user