|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.signatures.client.types.PDFSignature
public class PDFSignature
The PDFSignature
class contains information about the
filter and subfilters that are used for validating the signature embedded in a signed or certified PDF document.
Constructor Summary | |
---|---|
PDFSignature()
A constructor that creates a PDFSignature object. |
Method Summary | |
---|---|
byte[][] |
getCertificates()
Returns the certificates that are embedded in the PDF document at the time of signing. |
byte[] |
getContents()
Returns the actual signature value as DER encoded PKCS#1 or PKCS#7. |
byte[][] |
getCRLs()
Returns a byte array, where each element is a byte array that represents certificate revocation list (CRL) information. |
java.lang.String |
getFilter()
Returns the name of the preferred signature handler which is used while validating the signature. |
byte[][] |
getOCSPResponses()
Returns a byte array, where each element is a byte array that represents information returned from the OCSP server. |
java.lang.String |
getSubFilter()
Returns the subFilter of the handler used to sign the signature field. |
byte[] |
getTimestamp()
Returns a byte array, where each element contains information returned from the time stamp server. |
void |
setCertificates(byte[][] certs)
Sets certificates that are embedded in the PDF document. |
void |
setContents(byte[] contents)
Sets the signature value as DER encoded PKCS#1 or PKCS#7. |
void |
setCRLs(byte[][] crls)
Sets a byte array, where each element is a byte array that represents certificate revocation list (CRL) information. |
void |
setFilter(java.lang.String filter)
Sets the name of the preferred signature handler to use while validating the signature. |
void |
setOCSPResponses(byte[][] ocspResponses)
Sets a byte array, where each element is a byte array that represents information returned from the OCSP server. |
void |
setSubFilter(java.lang.String subFilter)
Sets the subFilter of the handler used to sign the signature field. |
void |
setTimestamp(byte[] timestamp)
Sets a byte array, where each element contains information returned from the time stamp server. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDFSignature()
PDFSignature
object.
Method Detail |
---|
public byte[][] getCRLs()
public void setCRLs(byte[][] crls)
crls
- A byte array where each element is byte array containing certificate revocation list
(CRL) information.public byte[][] getOCSPResponses()
public void setOCSPResponses(byte[][] ocspResponses)
ocspResponses
- A byte array where each element is byte array containing information returned from the OCSP server.public byte[] getTimestamp()
public void setTimestamp(byte[] timestamp)
timestamp
- A byte array, where each element contains information returned from the time stamp server.public byte[][] getCertificates()
adbe.pkcs7.detached
or adbe.pkcs7.sha1
then this method returns null and the certificates are
included in the PKCS#7 envelope of the content.
public void setCertificates(byte[][] certs)
certs
- An array of bytes streams that represent the certificates to set.public byte[] getContents()
adbe.pkcs7.detached
or adbe.pkcs7.sha1
then the
PKCS#7 packet contains the embedded certificates.
public void setContents(byte[] contents)
contents
- A byte stream that represents the signature value.public java.lang.String getFilter()
Adobe.PPKLite
, Entrust.PPKEF
, CICI.SignIt
,
and VeriSign.PPKVS
.
public void setFilter(java.lang.String filter)
filter
- The name of the preferred signature handler.public java.lang.String getSubFilter()
public void setSubFilter(java.lang.String subFilter)
subFilter
- The subFilter of the handler used to sign the signature field.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |