Package net.webpdf.wsclient.openapi
Class MetadataSignature
- java.lang.Object
-
- net.webpdf.wsclient.openapi.MetadataSignature
-
public class MetadataSignature extends Object
An element of this type represents the properties of a signature.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CONTACTstatic StringJSON_PROPERTY_DATEstatic StringJSON_PROPERTY_FILTERstatic StringJSON_PROPERTY_LOCATIONstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_OBJECT_KEYstatic StringJSON_PROPERTY_REASONstatic StringJSON_PROPERTY_SUB_FILTER
-
Constructor Summary
Constructors Constructor Description MetadataSignature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataSignaturecontact(String contact)MetadataSignaturedate(String date)booleanequals(Object o)MetadataSignaturefilter(String filter)@Nullable StringgetContact()The contact information provided by the signer.@Nullable StringgetDate()The date the signature has been created.@Nullable StringgetFilter()The name of the preferred signature handler used for validation.@Nullable StringgetLocation()The location the document has been signed at.@Nullable StringgetName()The name of the person or authority signing the document.@Nullable StringgetObjectKey()The object ID of the signature.@Nullable StringgetReason()The reason for signing the document.@Nullable StringgetSubFilter()The encoding of the signature value, that shall also be used for validation.inthashCode()MetadataSignaturelocation(String location)MetadataSignaturename(String name)MetadataSignatureobjectKey(String objectKey)MetadataSignaturereason(String reason)voidsetContact(String contact)voidsetDate(String date)voidsetFilter(String filter)voidsetLocation(String location)voidsetName(String name)voidsetObjectKey(String objectKey)voidsetReason(String reason)voidsetSubFilter(String subFilter)MetadataSignaturesubFilter(String subFilter)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CONTACT
public static final String JSON_PROPERTY_CONTACT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DATE
public static final String JSON_PROPERTY_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FILTER
public static final String JSON_PROPERTY_FILTER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOCATION
public static final String JSON_PROPERTY_LOCATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OBJECT_KEY
public static final String JSON_PROPERTY_OBJECT_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REASON
public static final String JSON_PROPERTY_REASON
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUB_FILTER
public static final String JSON_PROPERTY_SUB_FILTER
- See Also:
- Constant Field Values
-
-
Method Detail
-
contact
public MetadataSignature contact(String contact)
-
getContact
@Nullable public @Nullable String getContact()
The contact information provided by the signer.- Returns:
- contact
-
setContact
public void setContact(String contact)
-
date
public MetadataSignature date(String date)
-
getDate
@Nullable public @Nullable String getDate()
The date the signature has been created.- Returns:
- date
-
setDate
public void setDate(String date)
-
filter
public MetadataSignature filter(String filter)
-
getFilter
@Nullable public @Nullable String getFilter()
The name of the preferred signature handler used for validation. (Adobe.PPKLite, EntrustPPKEF etc.)- Returns:
- filter
-
setFilter
public void setFilter(String filter)
-
location
public MetadataSignature location(String location)
-
getLocation
@Nullable public @Nullable String getLocation()
The location the document has been signed at.- Returns:
- location
-
setLocation
public void setLocation(String location)
-
name
public MetadataSignature name(String name)
-
getName
@Nullable public @Nullable String getName()
The name of the person or authority signing the document.- Returns:
- name
-
setName
public void setName(String name)
-
objectKey
public MetadataSignature objectKey(String objectKey)
-
getObjectKey
@Nullable public @Nullable String getObjectKey()
The object ID of the signature. **Info:** A PDF object ID consists of two numbers, where the first number selects the object's number and the second the \"generation\" of the object. The object ID shall always be unique within the context of the document and can be used to select a specific object.- Returns:
- objectKey
-
setObjectKey
public void setObjectKey(String objectKey)
-
reason
public MetadataSignature reason(String reason)
-
getReason
@Nullable public @Nullable String getReason()
The reason for signing the document.- Returns:
- reason
-
setReason
public void setReason(String reason)
-
subFilter
public MetadataSignature subFilter(String subFilter)
-
getSubFilter
@Nullable public @Nullable String getSubFilter()
The encoding of the signature value, that shall also be used for validation. (adbe.x509.rsa\\_sha1, adbe.pkcs7.sha1, etc.)- Returns:
- subFilter
-
setSubFilter
public void setSubFilter(String subFilter)
-
-