refactor permission names
This commit is contained in:
@@ -181,7 +181,7 @@ func TestSignPDF(t *testing.T) {
|
||||
Date: time.Now().Local(),
|
||||
},
|
||||
CertType: CertificationSignature,
|
||||
DocMDPPerm: AllowFillingExistingFormFieldsAndSignatures,
|
||||
DocMDPPerm: AllowFillingExistingFormFieldsAndSignaturesPerms,
|
||||
},
|
||||
Signer: pkey,
|
||||
Certificate: cert,
|
||||
@@ -254,7 +254,7 @@ func TestSignPDFFile(t *testing.T) {
|
||||
Date: time.Now().Local(),
|
||||
},
|
||||
CertType: CertificationSignature,
|
||||
DocMDPPerm: AllowFillingExistingFormFieldsAndSignatures,
|
||||
DocMDPPerm: AllowFillingExistingFormFieldsAndSignaturesPerms,
|
||||
},
|
||||
Signer: pkey,
|
||||
Certificate: cert,
|
||||
@@ -333,7 +333,7 @@ func BenchmarkSignPDF(b *testing.B) {
|
||||
Date: time.Now().Local(),
|
||||
},
|
||||
CertType: CertificationSignature,
|
||||
DocMDPPerm: AllowFillingExistingFormFieldsAndSignatures,
|
||||
DocMDPPerm: AllowFillingExistingFormFieldsAndSignaturesPerms,
|
||||
},
|
||||
Signer: pkey,
|
||||
Certificate: cert,
|
||||
|
Reference in New Issue
Block a user