Package net.webpdf.wsclient.openapi
Class OperationAddSignature
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationAddSignature
-
public class OperationAddSignature extends Object
Used to add a new signature to the PDF document.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationAddSignature.CertificationLevelEnumThis parameter defines the level of the signature
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_APPEARANCEstatic StringJSON_PROPERTY_APPEND_SIGNATUREstatic StringJSON_PROPERTY_CERTIFICATION_LEVELstatic StringJSON_PROPERTY_CONTACTstatic StringJSON_PROPERTY_FIELD_NAMEstatic StringJSON_PROPERTY_KEY_NAMEstatic StringJSON_PROPERTY_KEY_PASSWORDstatic StringJSON_PROPERTY_LOCATIONstatic StringJSON_PROPERTY_REASONstatic StringJSON_PROPERTY_SIGNER
-
Constructor Summary
Constructors Constructor Description OperationAddSignature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationAddSignatureappearance(OperationAppearanceAdd appearance)OperationAddSignatureappendSignature(Boolean appendSignature)OperationAddSignaturecertificationLevel(OperationAddSignature.CertificationLevelEnum certificationLevel)OperationAddSignaturecontact(String contact)booleanequals(Object o)OperationAddSignaturefieldName(String fieldName)@Nullable OperationAppearanceAddgetAppearance()Get appearance@Nullable BooleangetAppendSignature()**Deprecated:** Usage of this parameter is discouraged, as it is no longer in use.@Nullable OperationAddSignature.CertificationLevelEnumgetCertificationLevel()This parameter defines the level of the signature@Nullable StringgetContact()Specifies the name of the person signing the document.@Nullable StringgetFieldName()Defines the name of the field (in the document) in which the signature will be saved.@Nullable StringgetKeyName()Defines the name of the key (alias) that is to be used to sign the document.@Nullable StringgetKeyPassword()Used to define the password required in order to access the private key with \"keyName@Nullable StringgetLocation()Specifies the location of the signature.@Nullable StringgetReason()Specifies the reason why the document is being signed.@Nullable OperationSignerAddgetSigner()Get signerinthashCode()OperationAddSignaturekeyName(String keyName)OperationAddSignaturekeyPassword(String keyPassword)OperationAddSignaturelocation(String location)OperationAddSignaturereason(String reason)voidsetAppearance(OperationAppearanceAdd appearance)voidsetAppendSignature(Boolean appendSignature)voidsetCertificationLevel(OperationAddSignature.CertificationLevelEnum certificationLevel)voidsetContact(String contact)voidsetFieldName(String fieldName)voidsetKeyName(String keyName)voidsetKeyPassword(String keyPassword)voidsetLocation(String location)voidsetReason(String reason)voidsetSigner(OperationSignerAdd signer)OperationAddSignaturesigner(OperationSignerAdd signer)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_APPEARANCE
public static final String JSON_PROPERTY_APPEARANCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_APPEND_SIGNATURE
public static final String JSON_PROPERTY_APPEND_SIGNATURE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CERTIFICATION_LEVEL
public static final String JSON_PROPERTY_CERTIFICATION_LEVEL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONTACT
public static final String JSON_PROPERTY_CONTACT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FIELD_NAME
public static final String JSON_PROPERTY_FIELD_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KEY_NAME
public static final String JSON_PROPERTY_KEY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KEY_PASSWORD
public static final String JSON_PROPERTY_KEY_PASSWORD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOCATION
public static final String JSON_PROPERTY_LOCATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REASON
public static final String JSON_PROPERTY_REASON
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SIGNER
public static final String JSON_PROPERTY_SIGNER
- See Also:
- Constant Field Values
-
-
Method Detail
-
appearance
public OperationAddSignature appearance(OperationAppearanceAdd appearance)
-
getAppearance
@Nullable public @Nullable OperationAppearanceAdd getAppearance()
Get appearance- Returns:
- appearance
-
setAppearance
public void setAppearance(OperationAppearanceAdd appearance)
-
appendSignature
public OperationAddSignature appendSignature(Boolean appendSignature)
-
getAppendSignature
@Nullable public @Nullable Boolean getAppendSignature()
**Deprecated:** Usage of this parameter is discouraged, as it is no longer in use.- Returns:
- appendSignature
-
setAppendSignature
public void setAppendSignature(Boolean appendSignature)
-
certificationLevel
public OperationAddSignature certificationLevel(OperationAddSignature.CertificationLevelEnum certificationLevel)
-
getCertificationLevel
@Nullable public @Nullable OperationAddSignature.CertificationLevelEnum getCertificationLevel()
This parameter defines the level of the signature. * none = Sign, but do not certify, the document, i.e., additional signatures and changes will be allowed. * noChanges = Certify the document and do not allow any additional changes anymore. * formFillingAndSignatures = Certify the document, but allow for fields to be filled out. * formFillingAndSignaturesAndAnnotations = Certify the document, but allow for fields to be filled out and annotations to be added.- Returns:
- certificationLevel
-
setCertificationLevel
public void setCertificationLevel(OperationAddSignature.CertificationLevelEnum certificationLevel)
-
contact
public OperationAddSignature contact(String contact)
-
getContact
@Nullable public @Nullable String getContact()
Specifies the name of the person signing the document.- Returns:
- contact
-
setContact
public void setContact(String contact)
-
fieldName
public OperationAddSignature fieldName(String fieldName)
-
getFieldName
@Nullable public @Nullable String getFieldName()
Defines the name of the field (in the document) in which the signature will be saved. If a field name that is not unique is declared, then a unique name will be automatically created.- Returns:
- fieldName
-
setFieldName
public void setFieldName(String fieldName)
-
keyName
public OperationAddSignature keyName(String keyName)
-
getKeyName
@Nullable public @Nullable String getKeyName()
Defines the name of the key (alias) that is to be used to sign the document. This option overwrites the server's configuration setting. Additional information can be found in the \"Keystore\" chapter.- Returns:
- keyName
-
setKeyName
public void setKeyName(String keyName)
-
keyPassword
public OperationAddSignature keyPassword(String keyPassword)
-
getKeyPassword
@Nullable public @Nullable String getKeyPassword()
Used to define the password required in order to access the private key with \"keyName.\" This option overwrites the server's configuration setting. Additional information can be found in the \"Keystore\" chapter.- Returns:
- keyPassword
-
setKeyPassword
public void setKeyPassword(String keyPassword)
-
location
public OperationAddSignature location(String location)
-
getLocation
@Nullable public @Nullable String getLocation()
Specifies the location of the signature.- Returns:
- location
-
setLocation
public void setLocation(String location)
-
reason
public OperationAddSignature reason(String reason)
-
getReason
@Nullable public @Nullable String getReason()
Specifies the reason why the document is being signed.- Returns:
- reason
-
setReason
public void setReason(String reason)
-
signer
public OperationAddSignature signer(OperationSignerAdd signer)
-
getSigner
@Nullable public @Nullable OperationSignerAdd getSigner()
Get signer- Returns:
- signer
-
setSigner
public void setSigner(OperationSignerAdd signer)
-
-