Package net.webpdf.wsclient.openapi
Class OperationSignatureSettings
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationSignatureSettings
-
public class OperationSignatureSettings extends Object
The `signature` element allows to set settings for automatic signature handling and verification. All web services prioritize checking whether their execution is valid for a given signed document - according to these settings - or would risk invalidation of the existing signatures. (This is also defining profiles, that would allow signature invalidation).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationSignatureSettings.SignatureEditProfileEnumDefines the profile whose rules web services have to check before they can come to execution.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_SIGNATURE_EDIT_PROFILE
-
Constructor Summary
Constructors Constructor Description OperationSignatureSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable OperationSignatureSettings.SignatureEditProfileEnumgetSignatureEditProfile()Defines the profile whose rules web services have to check before they can come to execution.inthashCode()voidsetSignatureEditProfile(OperationSignatureSettings.SignatureEditProfileEnum signatureEditProfile)OperationSignatureSettingssignatureEditProfile(OperationSignatureSettings.SignatureEditProfileEnum signatureEditProfile)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_SIGNATURE_EDIT_PROFILE
public static final String JSON_PROPERTY_SIGNATURE_EDIT_PROFILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
signatureEditProfile
public OperationSignatureSettings signatureEditProfile(OperationSignatureSettings.SignatureEditProfileEnum signatureEditProfile)
-
getSignatureEditProfile
@Nullable public @Nullable OperationSignatureSettings.SignatureEditProfileEnum getSignatureEditProfile()
Defines the profile whose rules web services have to check before they can come to execution. These profiles define a set of rules concerning the validity of signatures. A web service whose execution for a given signed document would violate the ruleset selected here should instead abort with an appropriate error code. * adobeRestrictions = Only those changes are allowed that are enabled by the included signatures. This follows the specifications given by Adobe. * generalEditRestrictions = All changes to signed documents are prohibited, even those that might be allowed according to the included signatures. * noEditRestrictions = Editing of signed documents is not restricted and all changes are allowed (by doing this, you accept that all signatures could potentially be removed from the document when necessary).- Returns:
- signatureEditProfile
-
setSignatureEditProfile
public void setSignatureEditProfile(OperationSignatureSettings.SignatureEditProfileEnum signatureEditProfile)
-
-