| Modifier and Type | Field and Description |
|---|---|
| private static final List | |
| private final COSDictionary | |
| public static final int | FLAG_ADD_REV_INFO
A Ff flag. |
| public static final int | FLAG_DIGEST_METHOD
A Ff flag. |
| public static final int | FLAG_FILTER
A Ff flag. |
| public static final int | FLAG_LEGAL_ATTESTATION
A Ff flag. |
| public static final int | FLAG_REASON
A Ff flag. |
| public static final int | FLAG_SUBFILTER
A Ff flag. |
| public static final int | FLAG_V
A Ff flag. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public COSDictionary | Returns: The COS dictionary that matches this Java object.Implements org. Convert this standard java object to a COS dictionary. |
| public List | Returns: the digest method that shall be used by the signature handlerAn array of names indicating acceptable digest algorithms to use when signing. |
| public String | Returns: the filter that shall be used by the signature handlerIf Filter is not null and the |
| public List | Returns: the reasons that should be used by the signature handler(Optional, PDF 1.6) An array of text strings that specifying possible legal attestations. |
| public PDSeedValueMDP | Returns: the mdp dictionary as PDSeedValueMDP(Optional; PDF 1.6) A dictionary containing a single entry whose key is P and whose value is an integer between 0 and 3. |
| public List | Returns: the reasons that should be used by the signature handlerIf the Reasons array is provided and |
| public PDSeedValueCertificate | Returns: dictionary(Optional) A certificate seed value dictionary containing information about the certificate to be used when signing. |
| public List | Returns: the subfilter that shall be used by the signature handlerIf SubFilter is not null and the |
| public PDSeedValueTimeStamp | Returns: the timestamp dictionary as PDSeedValueTimeStamp(Optional; PDF 1.6) A time stamp dictionary containing two entries. |
| public float | Returns: the minimum required capability of the signature field seed value dictionary parserThe minimum required capability of the signature field seed value dictionary parser. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | setAddRevInfoRequired(boolean
if true, the AddRevInfo shall be used. flag)set true if the AddRevInfo shall be required. |
| public void | setDigestMethod(List<String>
is a list of possible names of the digests, that should be
used for signing. digestMethod)(Optional, PDF 1.7) An array of names indicating acceptable digest algorithms to use when signing. |
| public void | setDigestMethodRequired(boolean
if true, one digest from the array shall be used. flag)set true if the DigestMethod shall be required. |
| public void | |
| public void | setFilterRequired(boolean
if true, the specified Filter shall be used when signing. flag)set true if the filter shall be required. |
| public void | setLegalAttestation(List<String>
is a list of possible text string that specifying possible
legal attestations. legalAttestation)(Optional, PDF 1.6) An array of text strings that specifying possible legal attestations. |
| public void | setLegalAttestationRequired(boolean
if true, the LegalAttestation entry shall be used. flag)set true if the LegalAttestation shall be required. |
| public void | setMPD(PDSeedValueMDP
dictionary mdp)(Optional; PDF 1.6) A dictionary containing a single entry whose key is P and whose value is an integer between 0 and 3. |
| public void | setReasonRequired(boolean
if true, the Reason entry shall be used. flag)set true if the Reason shall be required. |
| public void | setReasons(List<String>
is a list of possible text string that specifying possible reasons reasons)(Optional) An array of text strings that specifying possible reasons for signing a document. |
| public void | setSeedValueCertificate(PDSeedValueCertificate
dictionary certificate)(Optional) A certificate seed value dictionary containing information about the certificate to be used when signing. |
| public void | setSubFilter(List<String>
is the name that shall be used for encoding subfilter)(Optional) An array of names indicating encodings to use when signing. |
| public void | setSubFilterRequired(boolean
if true, the first supported SubFilter in the array shall be used when signing. flag)set true if the subfilter shall be required. |
| public void | setTimeStamp(PDSeedValueTimeStamp
dictionary timestamp)(Optional; PDF 1.6) A time stamp dictionary containing two entries. |
| public void | setV(float
is the minimum required capability of the
signature field seed value dictionary parser minimumRequiredCapability)(Optional) The minimum required capability of the signature field seed value dictionary parser. |
| public void | setVRequired(boolean
if true, the V entry shall be used. flag)set true if the V entry shall be required. |
| allowedDigestNames | back to summary |
|---|---|
| private static final List<String> allowedDigestNames | |
| dictionary | back to summary |
|---|---|
| private final COSDictionary dictionary | |
| FLAG_ADD_REV_INFO | back to summary |
|---|---|
| public static final int FLAG_ADD_REV_INFO A Ff flag. | |
| FLAG_DIGEST_METHOD | back to summary |
|---|---|
| public static final int FLAG_DIGEST_METHOD A Ff flag. | |
| FLAG_FILTER | back to summary |
|---|---|
| public static final int FLAG_FILTER A Ff flag. | |
| FLAG_LEGAL_ATTESTATION | back to summary |
|---|---|
| public static final int FLAG_LEGAL_ATTESTATION A Ff flag. | |
| FLAG_REASON | back to summary |
|---|---|
| public static final int FLAG_REASON A Ff flag. | |
| FLAG_SUBFILTER | back to summary |
|---|---|
| public static final int FLAG_SUBFILTER A Ff flag. | |
| FLAG_V | back to summary |
|---|---|
| public static final int FLAG_V A Ff flag. | |
| PDSeedValue | back to summary |
|---|---|
| public PDSeedValue() Default constructor. | |
| PDSeedValue | back to summary |
|---|---|
| public PDSeedValue(COSDictionary dict) Constructor.
| |
| getCOSObject | back to summary |
|---|---|
| public COSDictionary getCOSObject() Implements org. Convert this standard java object to a COS dictionary.
| |
| getDigestMethod | back to summary |
|---|---|
| public List An array of names indicating acceptable digest algorithms to use when signing. The value shall be one of SHA1, SHA256, SHA384, SHA512, RIPEMD160. The default value is implementation-specific. | |
| getFilter | back to summary |
|---|---|
| public String getFilter() If Filter is not null and the
| |
| getLegalAttestation | back to summary |
|---|---|
| public List (Optional, PDF 1.6) An array of text strings that specifying possible legal attestations. | |
| getMDP | back to summary |
|---|---|
| public PDSeedValueMDP getMDP() (Optional; PDF 1.6) A dictionary containing a single entry whose key is P and whose value is an integer between 0 and 3. A value of 0 defines the signatures as an author signature. The value 1 through 3 shall be used for certification signatures and correspond to the value of P in a DocMDP transform parameters dictionary. If this MDP key is not present or the MDP dictionary does not contain a P entry, no rules shall be defined regarding the type of signature or its permissions.
| |
| getReasons | back to summary |
|---|---|
| public List If the Reasons array is provided and | |
| getSeedValueCertificate | back to summary |
|---|---|
| public PDSeedValueCertificate getSeedValueCertificate() (Optional) A certificate seed value dictionary containing information about the certificate to be used when signing.
| |
| getSubFilter | back to summary |
|---|---|
| public List If SubFilter is not null and the | |
| getTimeStamp | back to summary |
|---|---|
| public PDSeedValueTimeStamp getTimeStamp() (Optional; PDF 1.6) A time stamp dictionary containing two entries. URL which is a ASCII string specifying the URL to a rfc3161 conform timestamp server and Ff to indicate if a timestamp is required or optional.
| |
| getV | back to summary |
|---|---|
| public float getV() The minimum required capability of the signature field seed value dictionary parser. A value of 1 specifies that the parser shall be able to recognize all seed value dictionary entries in a PDF 1.5 file. A value of 2 specifies that it shall be able to recognize all seed value dictionary entries specified.
| |
| isAddRevInfoRequired | back to summary |
|---|---|
public boolean isAddRevInfoRequired()
| |
| isDigestMethodRequired | back to summary |
|---|---|
public boolean isDigestMethodRequired()
| |
| isFilterRequired | back to summary |
|---|---|
public boolean isFilterRequired()
| |
| isLegalAttestationRequired | back to summary |
|---|---|
public boolean isLegalAttestationRequired()
| |
| isReasonRequired | back to summary |
|---|---|
public boolean isReasonRequired()
| |
| isSubFilterRequired | back to summary |
|---|---|
public boolean isSubFilterRequired()
| |
| isVRequired | back to summary |
|---|---|
public boolean isVRequired()
| |
| setAddRevInfoRequired | back to summary |
|---|---|
| public void setAddRevInfoRequired(boolean flag) set true if the AddRevInfo shall be required.
| |
| setDigestMethod | back to summary |
|---|---|
| public void setDigestMethod(List<String> digestMethod) (Optional, PDF 1.7) An array of names indicating acceptable digest algorithms to use when signing. The value shall be one of SHA1, SHA256, SHA384, SHA512, RIPEMD160. The default value is implementation-specific. This property is only applicable if the digital credential signing contains RSA public/privat keys | |
| setDigestMethodRequired | back to summary |
|---|---|
| public void setDigestMethodRequired(boolean flag) set true if the DigestMethod shall be required.
| |
| setFilter | back to summary |
|---|---|
| public void setFilter(COSName filter) (Optional) The signature handler that shall be used to sign the signature field.
| |
| setFilterRequired | back to summary |
|---|---|
| public void setFilterRequired(boolean flag) set true if the filter shall be required.
| |
| setLegalAttestation | back to summary |
|---|---|
| public void setLegalAttestation(List<String> legalAttestation) (Optional, PDF 1.6) An array of text strings that specifying possible legal attestations. | |
| setLegalAttestationRequired | back to summary |
|---|---|
| public void setLegalAttestationRequired(boolean flag) set true if the LegalAttestation shall be required.
| |
| setMPD | back to summary |
|---|---|
| public void setMPD(PDSeedValueMDP mdp) (Optional; PDF 1.6) A dictionary containing a single entry whose key is P and whose value is an integer between 0 and 3. A value of 0 defines the signatures as an author signature. The value 1 through 3 shall be used for certification signatures and correspond to the value of P in a DocMDP transform parameters dictionary. If this MDP key is not present or the MDP dictionary does not contain a P entry, no rules shall be defined regarding the type of signature or its permissions.
| |
| setReasonRequired | back to summary |
|---|---|
| public void setReasonRequired(boolean flag) set true if the Reason shall be required.
| |
| setReasons | back to summary |
|---|---|
| public void setReasons(List<String> reasons) (Optional) An array of text strings that specifying possible reasons for signing a document. If specified, the reasons supplied in this entry replace those used by conforming products. | |
| setSeedValueCertificate | back to summary |
|---|---|
| public void setSeedValueCertificate(PDSeedValueCertificate certificate) (Optional) A certificate seed value dictionary containing information about the certificate to be used when signing.
| |
| setSubFilter | back to summary |
|---|---|
| public void setSubFilter(List<String> subfilter) (Optional) An array of names indicating encodings to use when signing. The first name in the array that matches an encoding supported by the signature handler shall be the encoding that is actually used for signing. | |
| setSubFilterRequired | back to summary |
|---|---|
| public void setSubFilterRequired(boolean flag) set true if the subfilter shall be required.
| |
| setTimeStamp | back to summary |
|---|---|
| public void setTimeStamp(PDSeedValueTimeStamp timestamp) (Optional; PDF 1.6) A time stamp dictionary containing two entries. URL which is a ASCII string specifying the URL to a rfc3161 conform timestamp server and Ff to indicate if a timestamp is required or optional.
| |
| setV | back to summary |
|---|---|
| public void setV(float minimumRequiredCapability) (Optional) The minimum required capability of the signature field seed value dictionary parser. A value of 1 specifies that the parser shall be able to recognize all seed value dictionary entries in a PDF 1.5 file. A value of 2 specifies that it shall be able to recognize all seed value dictionary entries specified.
| |
| setVRequired | back to summary |
|---|---|
| public void setVRequired(boolean flag) set true if the V entry shall be required.
| |