Class GFPDSignature
- java.lang.Object
-
- org.verapdf.model.GenericModelObject
-
- org.verapdf.gf.model.impl.pd.GFPDObject
-
- org.verapdf.gf.model.impl.pd.signature.GFPDSignature
-
- All Implemented Interfaces:
Object,PDObject,PDSignature
public class GFPDSignature extends GFPDObject implements PDSignature
- Author:
- Sergey Shemyakov
-
-
Field Summary
Fields Modifier and Type Field Description protected COSStringcontentsstatic StringCONTENTSstatic StringREFERENCEstatic StringSIGNATURE_TYPEType name forPBoxPDSignatureprotected longsignatureOffset-
Fields inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
contentStream, document, id, MAX_NUMBER_OF_ELEMENTS, pdcMap, pdFont, simpleCOSObject, simplePDObject
-
Fields inherited from class org.verapdf.model.GenericModelObject
contextDependent
-
-
Constructor Summary
Constructors Constructor Description GFPDSignature(PDSignature pdSignature, COSObject signatureReference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetdoesByteRangeCoverEntireDocument()true if the ByteRange covers the entire document including the signature dictionary, but excluding the Signature itselfList<? extends Object>getLinkedObjects(String link)-
Methods inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
getentries, getID
-
Methods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Methods inherited from interface org.verapdf.model.pdlayer.PDObject
getentries
-
-
-
-
Field Detail
-
SIGNATURE_TYPE
public static final String SIGNATURE_TYPE
Type name forPBoxPDSignature- See Also:
- Constant Field Values
-
CONTENTS
public static final String CONTENTS
- See Also:
- Constant Field Values
-
REFERENCE
public static final String REFERENCE
- See Also:
- Constant Field Values
-
contents
protected COSString contents
-
signatureOffset
protected long signatureOffset
-
-
Constructor Detail
-
GFPDSignature
public GFPDSignature(PDSignature pdSignature, COSObject signatureReference)
-
-
Method Detail
-
getLinkedObjects
public List<? extends Object> getLinkedObjects(String link)
- Specified by:
getLinkedObjectsin interfaceObject- Overrides:
getLinkedObjectsin classGenericModelObject- Parameters:
link- - the name of a link- Returns:
- List of objects with the given link
-
getdoesByteRangeCoverEntireDocument
public Boolean getdoesByteRangeCoverEntireDocument()
Description copied from interface:PDSignaturetrue if the ByteRange covers the entire document including the signature dictionary, but excluding the Signature itself- Specified by:
getdoesByteRangeCoverEntireDocumentin interfacePDSignature- Returns:
- true if byte range covers entire document except for Contents entry in signature dictionary
-
-