|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.signatures.client.spi.types.DocumentBytes
public class DocumentBytes
Represents the bytes of a PDF document that a signature handler accepts. Document bytes can be in XML format, base 64 format, or plain bytes. The default is plain bytes.
Constructor Summary | |
---|---|
DocumentBytes(URI documentType,
byte[] fullBytes,
byte[] hashedBytes)
A constructor that creates a DocumentBytes object. |
Method Summary | |
---|---|
URI |
getDocumentType()
Retrieves a URI object that specifies whether document bytes is in XML format, base 64 format, or plain bytes. |
byte[] |
getFullBytes()
Retrives the bytes of a document. |
byte[] |
getHashedBytes()
Retrives the hash of a document. |
void |
setDocumentType(URI documentType)
Sets a URI object that specifies whether document bytes is in XML format, base 64 format, or plain bytes. |
void |
setFullBytes(byte[] fullBytes)
Sets the bytes of a document. |
void |
setHashedBytes(byte[] hashedBytes)
Sets the hash of a document. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentBytes(URI documentType, byte[] fullBytes, byte[] hashedBytes)
DocumentBytes
object.
documentType
- A URI
object that specifies whether document bytes is in XML format, base 64 format, or plain bytes.fullBytes
- A byte array that represents the document bytes.hashedBytes
- A byte array that represents the hash of the document.Method Detail |
---|
public URI getDocumentType()
URI
object that specifies whether document bytes is in XML format, base 64 format, or plain bytes.
URI
object that specifies whether document bytes is in XML format, base 64 format, or plain bytes.public void setDocumentType(URI documentType)
URI
object that specifies whether document bytes is in XML format, base 64 format, or plain bytes.
documentType
- A URI
object that specifies whether document bytes is in XML format, base 64 format, or plain bytes.public byte[] getFullBytes()
public void setFullBytes(byte[] fullBytes)
fullBytes
- A byte array that form the bytes of the document.public byte[] getHashedBytes()
public void setHashedBytes(byte[] hashedBytes)
hashedBytes
- A byte array that represents the hash of a document.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |