Record Class VerifierParams

java.lang.Object
java.lang.Record
br.ufsc.labsec.signature.conformanceVerifier.VerifierParams

public record VerifierParams(boolean verifyIncremental, boolean isComplete, boolean withReceipt, boolean verifyNotAnchored, boolean unrestrictedAttrVerification, boolean profileVerification, boolean returnArtifacts, ExtensionsReport.PROFILE extensionsProfile, Profile.AdESLevel levelToVerify, Optional<TsaInfo.TsaAuthInfo> tsaAuthInfo, boolean icpBrIncrementalUpdatesRules, boolean protectVisualRepresentation, boolean useFallbackIncrementalUpdates) extends Record
  • Field Details

  • Constructor Details

    • VerifierParams

      public VerifierParams(boolean verifyIncremental, boolean isComplete, boolean withReceipt, boolean verifyNotAnchored, boolean unrestrictedAttrVerification, boolean profileVerification, boolean returnArtifacts, ExtensionsReport.PROFILE extensionsProfile, Profile.AdESLevel levelToVerify, Optional<TsaInfo.TsaAuthInfo> tsaAuthInfo, boolean icpBrIncrementalUpdatesRules, boolean protectVisualRepresentation, boolean useFallbackIncrementalUpdates)
      Creates an instance of a VerifierParams record class.
      Parameters:
      verifyIncremental - the value for the verifyIncremental record component
      isComplete - the value for the isComplete record component
      withReceipt - the value for the withReceipt record component
      verifyNotAnchored - the value for the verifyNotAnchored record component
      unrestrictedAttrVerification - the value for the unrestrictedAttrVerification record component
      profileVerification - the value for the profileVerification record component
      returnArtifacts - the value for the returnArtifacts record component
      extensionsProfile - the value for the extensionsProfile record component
      levelToVerify - the value for the levelToVerify record component
      tsaAuthInfo - the value for the tsaAuthInfo record component
      icpBrIncrementalUpdatesRules - the value for the icpBrIncrementalUpdatesRules record component
      protectVisualRepresentation - the value for the protectVisualRepresentation record component
      useFallbackIncrementalUpdates - the value for the useFallbackIncrementalUpdates record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • verifyIncremental

      public boolean verifyIncremental()
      Returns the value of the verifyIncremental record component.
      Returns:
      the value of the verifyIncremental record component
    • isComplete

      public boolean isComplete()
      Returns the value of the isComplete record component.
      Returns:
      the value of the isComplete record component
    • withReceipt

      public boolean withReceipt()
      Returns the value of the withReceipt record component.
      Returns:
      the value of the withReceipt record component
    • verifyNotAnchored

      public boolean verifyNotAnchored()
      Returns the value of the verifyNotAnchored record component.
      Returns:
      the value of the verifyNotAnchored record component
    • unrestrictedAttrVerification

      public boolean unrestrictedAttrVerification()
      Returns the value of the unrestrictedAttrVerification record component.
      Returns:
      the value of the unrestrictedAttrVerification record component
    • profileVerification

      public boolean profileVerification()
      Returns the value of the profileVerification record component.
      Returns:
      the value of the profileVerification record component
    • returnArtifacts

      public boolean returnArtifacts()
      Returns the value of the returnArtifacts record component.
      Returns:
      the value of the returnArtifacts record component
    • extensionsProfile

      public ExtensionsReport.PROFILE extensionsProfile()
      Returns the value of the extensionsProfile record component.
      Returns:
      the value of the extensionsProfile record component
    • levelToVerify

      public Profile.AdESLevel levelToVerify()
      Returns the value of the levelToVerify record component.
      Returns:
      the value of the levelToVerify record component
    • tsaAuthInfo

      public Optional<TsaInfo.TsaAuthInfo> tsaAuthInfo()
      Returns the value of the tsaAuthInfo record component.
      Returns:
      the value of the tsaAuthInfo record component
    • icpBrIncrementalUpdatesRules

      public boolean icpBrIncrementalUpdatesRules()
      Returns the value of the icpBrIncrementalUpdatesRules record component.
      Returns:
      the value of the icpBrIncrementalUpdatesRules record component
    • protectVisualRepresentation

      public boolean protectVisualRepresentation()
      Returns the value of the protectVisualRepresentation record component.
      Returns:
      the value of the protectVisualRepresentation record component
    • useFallbackIncrementalUpdates

      public boolean useFallbackIncrementalUpdates()
      Returns the value of the useFallbackIncrementalUpdates record component.
      Returns:
      the value of the useFallbackIncrementalUpdates record component