|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.pdf.interactive.digitalsignatures.PdfSignatureMaker
com.spire.pdf.interactive.digitalsignatures.PdfMDPSignatureMaker
public class PdfMDPSignatureMaker
Pdf MDP (modification detection and prevention) signature maker. A document can contain only one MDP signature, it must be the first signed in the document. It enables the author to specify what changes are permitted to be made the document and what changes invalidate the author’s signature.
| Field Summary | |
|---|---|
static int |
Level1Permissions
No changes to the document are permitted; any change to the document invalidates the signature. |
static int |
Level2Permissions
Permitted changes are filling in forms, instantiating page templates, and signing; other changes invalidate the signature. |
static int |
Level3Permissions
Permitted changes are the same as for 2, as well as annotation creation, deletion, and modification; other changes invalidate the signature |
| Constructor Summary | |
|---|---|
PdfMDPSignatureMaker(PdfDocument document,
PdfCertificate certificate)
Initialize a new instance. |
|
PdfMDPSignatureMaker(PdfDocument document,
PdfCertificate certificate,
int permissions)
Initialize a new instance. |
|
| Method Summary |
|---|
| Methods inherited from class com.spire.pdf.interactive.digitalsignatures.PdfSignatureMaker |
|---|
getSignature, makeSignature, makeSignature, makeSignature, makeSignature, setAcro6Layers |
| Field Detail |
|---|
public static final int Level1Permissions
public static final int Level2Permissions
public static final int Level3Permissions
| Constructor Detail |
|---|
public PdfMDPSignatureMaker(PdfDocument document,
PdfCertificate certificate)
document - The pdf document object.certificate - The X.509 certificate.
public PdfMDPSignatureMaker(PdfDocument document,
PdfCertificate certificate,
int permissions)
document - The pdf document object.certificate - The X.509 certificate.permissions - The access permissions granted for this document.
Validate values:
PdfMDPSignatureMaker.Level1Permissions/PdfMDPSignatureMaker.Level2Permissions/PdfMDPSignatureMaker.Level3Permissions
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||