Class 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).
    • Field Detail

      • JSON_PROPERTY_SIGNATURE_EDIT_PROFILE

        public static final String JSON_PROPERTY_SIGNATURE_EDIT_PROFILE
        See Also:
        Constant Field Values
    • Constructor Detail

      • OperationSignatureSettings

        public OperationSignatureSettings()
    • Method Detail

      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object