|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.cos.COSBasedObject
de.intarsys.pdf.pd.PDObject
de.intarsys.pdf.pd.PDSignature
public class PDSignature
This class represents the signature object referenced for example in an AcroForm signature field.
Nested Class Summary | |
---|---|
static class |
PDSignature.MetaClass
The meta class implementation |
Field Summary | |
---|---|
static COSName |
CN_Type_Sig
|
static COSName |
DK_ByteRange
|
static COSName |
DK_Cert
|
static COSName |
DK_Changes
|
static COSName |
DK_ContactInfo
|
static COSName |
DK_Contents
|
static COSName |
DK_Filter
|
static COSName |
DK_Location
|
static COSName |
DK_M
|
static COSName |
DK_Name
|
static COSName |
DK_Prop_AuthTime
|
static COSName |
DK_Prop_AuthType
|
static COSName |
DK_Prop_Build
|
static COSName |
DK_R
|
static COSName |
DK_Reason
|
static COSName |
DK_Reference
|
static COSName |
DK_SubFilter
|
static COSName |
DK_V
|
static PDSignature.MetaClass |
META
The meta class instance |
Fields inherited from class de.intarsys.pdf.pd.PDObject |
---|
DK_Subtype, DK_Type |
Method Summary | |
---|---|
COSArray |
cosGetByteRange()
|
PDAFSignatureField |
getAcroFormField()
|
PDBuildProperties |
getBuildProperties()
|
List |
getCert()
Get a List of certificates, the first one is the certificate of the signer himself. |
String |
getContactInfo()
|
byte[] |
getContentBytes()
|
CDSDate |
getDate()
|
COSName |
getFilter()
Filter is a name for the original signature creator, for example: Adobe.PPKLite |
String |
getLocation()
|
String |
getName()
|
String |
getReason()
|
List |
getSignatureReferences()
|
COSName |
getSubFilter()
SubFilter is the name of a encoding and storage algorithm. |
void |
invalidateCaches()
Invalidate all local caches as the base object may have changed. |
void |
setAcroFormField(PDAFSignatureField acroFormField)
|
void |
setBuildProperties(PDBuildProperties buildProperties)
|
void |
setCert(byte[] certificate)
Sets certificates in the /Cert field. |
void |
setCert(List certificates)
Sets certificates in the /Cert field. |
void |
setContactInfo(String contactInfo)
|
void |
setDate(CDSDate date)
|
void |
setFilter(COSName filter)
Set the name of the signature creator, for example: Adobe.PPKLite |
void |
setLocation(String location)
|
void |
setName(String name)
|
void |
setReason(String reason)
|
void |
setSignatureReferences(List signatureReferences)
|
void |
setSubFilter(COSName subfilter)
Set the name of the encoding algorithm |
Methods inherited from class de.intarsys.pdf.pd.PDObject |
---|
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toString |
Methods inherited from class de.intarsys.pdf.cos.COSBasedObject |
---|
changed, cosGetArray, cosGetDict, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final PDSignature.MetaClass META
public static final COSName CN_Type_Sig
public static final COSName DK_Filter
public static final COSName DK_SubFilter
public static final COSName DK_Contents
public static final COSName DK_Cert
public static final COSName DK_ByteRange
public static final COSName DK_Reference
public static final COSName DK_Changes
public static final COSName DK_Name
public static final COSName DK_M
public static final COSName DK_Location
public static final COSName DK_Reason
public static final COSName DK_ContactInfo
public static final COSName DK_R
public static final COSName DK_V
public static final COSName DK_Prop_Build
public static final COSName DK_Prop_AuthTime
public static final COSName DK_Prop_AuthType
Method Detail |
---|
public COSArray cosGetByteRange()
public PDAFSignatureField getAcroFormField()
public PDBuildProperties getBuildProperties()
public List getCert()
Get a List of certificates, the first one is the certificate of the signer himself. Followed by certificates of certificate authoritys.
A certificate is stored as DER encoded byte[]
public String getContactInfo()
public byte[] getContentBytes()
public CDSDate getDate()
public COSName getFilter()
public String getLocation()
public String getName()
public String getReason()
public List getSignatureReferences()
public COSName getSubFilter()
public void invalidateCaches()
COSBasedObject
invalidateCaches
in class COSBasedObject
public void setAcroFormField(PDAFSignatureField acroFormField)
public void setBuildProperties(PDBuildProperties buildProperties)
public void setCert(byte[] certificate)
certificate
- a DER encoded byte[]public void setCert(List certificates)
certificates
- a list of DER encoded byte[]public void setContactInfo(String contactInfo)
contactInfo
- how to contact the signer, may be nullpublic void setDate(CDSDate date)
public void setFilter(COSName filter)
filter
- name of the signature creatorpublic void setLocation(String location)
location
- location the signer signed the document, may be nullpublic void setName(String name)
name
- name of the signer, may be nullpublic void setReason(String reason)
reason
- reason why is document was signed, may be nullpublic void setSignatureReferences(List signatureReferences)
public void setSubFilter(COSName subfilter)
subfilter
- name of the encoding algorithm
|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |