|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.faceless.pdf2.SignatureHandler.Placeholder
public static class SignatureHandler.Placeholder
A Placeholder can be used to mark a point in the PDF which needs to be updated after the signature has been applied
Constructor Summary | |
---|---|
SignatureHandler.Placeholder(int length)
Create a new Placeholder of the specified length, but with no content set |
Method Summary | |
---|---|
protected Object |
clone()
|
byte[] |
getContent()
Get the content, as set by setContent(byte[]) |
int |
getLength()
Get the length of this object |
long |
getOffset()
Get the offset into the file of this object |
void |
setContent(byte[] content)
Set the content for this Placeholder. |
void |
setDigestable(boolean digestable)
Set whether this Placeholder should return true from isDigestable() |
void |
setLength(int length)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SignatureHandler.Placeholder(int length)
Method Detail |
---|
public void setContent(byte[] content)
SignatureHandler.preDigest(long, java.util.Map)
, the content will be included
in the digest calculation.
public byte[] getContent()
setContent(byte[])
public int getLength()
public void setLength(int length)
public long getOffset()
public void setDigestable(boolean digestable)
isDigestable()
protected Object clone()
clone
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |