PdfFieldLock Class
The fields a signature locks (ISO 32000-2, 12.8.2.4, the FieldMDP transform): their values cannot change after the signature without invalidating it.
public sealed class PdfFieldLockConstructors
| Name | Description |
|---|---|
| PdfFieldLock(PdfFieldLockAction, IEnumerable<string>?) | Initializes a new instance of the PdfFieldLock class. |
PdfFieldLock(PdfFieldLockAction, IEnumerable<string>?)
PdfFieldLock.csInitializes a new instance of the PdfFieldLock class.
public PdfFieldLock(PdfFieldLockAction action, IEnumerable<string>? fields = null)Parameters
actionPdfFieldLockAction- The fields the lock applies to.
fieldsIEnumerable<string>?- The fully qualified names of the fields of
PdfFieldLockAction.IncludeandPdfFieldLockAction.Exclude.
Exceptions
ArgumentException- The action is
PdfFieldLockAction.IncludeorPdfFieldLockAction.Exclude, and no field is given.
Properties
| Name | Description |
|---|---|
| Action | Gets the fields the lock applies to. |
| Fields | Gets the fully qualified names of the fields that are included or excluded; empty for PdfFieldLockAction.All. |
Action
PdfFieldLock.csFields
PdfFieldLock.csGets the fully qualified names of the fields that are included or excluded; empty for PdfFieldLockAction.All.
public IReadOnlyList<string> Fields { get; }