COSObjectable
public class PDSignatureField extends PDField
FLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIRED
Constructor | Description |
---|---|
PDSignatureField(PDAcroForm theAcroForm) |
|
PDSignatureField(PDAcroForm theAcroForm,
COSDictionary field) |
Modifier and Type | Method | Description |
---|---|---|
PDSeedValue |
getSeedValue() |
(Optional; PDF 1.5) A seed value dictionary containing information
that constrains the properties of a signature that is applied to the
field.
|
PDSignature |
getSignature() |
Get the signature dictionary.
|
java.lang.String |
getValue() |
Deprecated.
use getSignature() instead
|
void |
setSeedValue(PDSeedValue sv) |
(Optional; PDF 1.)
|
void |
setSignature(PDSignature value) |
Add a signature dictionary to the signature field.
|
void |
setValue(java.lang.String value) |
Deprecated.
use setSignature(PDSignature) instead
|
java.lang.String |
toString() |
Return a string rep of this object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findFieldType, findKid, getAcroForm, getActions, getAlternateFieldName, getCOSObject, getDictionary, getFieldFlags, getFieldType, getFullyQualifiedName, getKids, getParent, getPartialName, getWidget, getWidgets, importFDF, isNoExport, isReadonly, isRequired, setAcroForm, setActions, setAlternateFieldName, setFieldFlags, setFieldType, setKids, setNoExport, setParent, setPartialName, setReadonly, setRequired
public PDSignatureField(PDAcroForm theAcroForm, COSDictionary field) throws java.io.IOException
theAcroForm
- The acroForm for this field.field
- The dictionary for the signature.java.io.IOException
- If there is an error while resolving partital name for the signature fieldPDField(PDAcroForm,COSDictionary)
public PDSignatureField(PDAcroForm theAcroForm) throws java.io.IOException
theAcroForm
- The acroForm for this field.java.io.IOException
- If there is an error while resolving partial name for the signature field
or getting the widget object.PDField(PDAcroForm)
@Deprecated public void setValue(java.lang.String value) throws java.io.IOException
PDField
setValue
in class PDField
value
- The new value for the field.java.io.IOException
- If there is an error creating the appearance stream.PDField.setValue(java.lang.String)
@Deprecated public java.lang.String getValue() throws java.io.IOException
PDField
getValue
in class PDField
java.io.IOException
- If there is an error creating the appearance stream.PDField.setValue(java.lang.String)
public java.lang.String toString()
public void setSignature(PDSignature value)
value
- is the PDSignaturepublic PDSignature getSignature()
public PDSeedValue getSeedValue()
(Optional; PDF 1.5) A seed value dictionary containing information that constrains the properties of a signature that is applied to the field.
public void setSeedValue(PDSeedValue sv)
(Optional; PDF 1.) A seed value dictionary containing information that constrains the properties of a signature that is applied to the field.
sv
- is the seed value dictionary as PDSeedValue