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 Summary
FieldsModifier and TypeFieldDescriptionstatic final VerifierParamsstatic final VerifierParamsstatic final VerifierParams -
Constructor Summary
ConstructorsConstructorDescriptionVerifierParams(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 aVerifierParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theextensionsProfilerecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theicpBrIncrementalUpdatesRulesrecord component.booleanReturns the value of theisCompleterecord component.Returns the value of thelevelToVerifyrecord component.booleanReturns the value of theprofileVerificationrecord component.booleanReturns the value of theprotectVisualRepresentationrecord component.booleanReturns the value of thereturnArtifactsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetsaAuthInforecord component.booleanReturns the value of theunrestrictedAttrVerificationrecord component.booleanReturns the value of theuseFallbackIncrementalUpdatesrecord component.booleanReturns the value of theverifyIncrementalrecord component.booleanReturns the value of theverifyNotAnchoredrecord component.booleanReturns the value of thewithReceiptrecord component.
-
Field Details
-
LPA
-
DEFAULT
-
DSS
-
-
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 aVerifierParamsrecord class.- Parameters:
verifyIncremental- the value for theverifyIncrementalrecord componentisComplete- the value for theisCompleterecord componentwithReceipt- the value for thewithReceiptrecord componentverifyNotAnchored- the value for theverifyNotAnchoredrecord componentunrestrictedAttrVerification- the value for theunrestrictedAttrVerificationrecord componentprofileVerification- the value for theprofileVerificationrecord componentreturnArtifacts- the value for thereturnArtifactsrecord componentextensionsProfile- the value for theextensionsProfilerecord componentlevelToVerify- the value for thelevelToVerifyrecord componenttsaAuthInfo- the value for thetsaAuthInforecord componenticpBrIncrementalUpdatesRules- the value for theicpBrIncrementalUpdatesRulesrecord componentprotectVisualRepresentation- the value for theprotectVisualRepresentationrecord componentuseFallbackIncrementalUpdates- the value for theuseFallbackIncrementalUpdatesrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
verifyIncremental
public boolean verifyIncremental()Returns the value of theverifyIncrementalrecord component.- Returns:
- the value of the
verifyIncrementalrecord component
-
isComplete
public boolean isComplete()Returns the value of theisCompleterecord component.- Returns:
- the value of the
isCompleterecord component
-
withReceipt
public boolean withReceipt()Returns the value of thewithReceiptrecord component.- Returns:
- the value of the
withReceiptrecord component
-
verifyNotAnchored
public boolean verifyNotAnchored()Returns the value of theverifyNotAnchoredrecord component.- Returns:
- the value of the
verifyNotAnchoredrecord component
-
unrestrictedAttrVerification
public boolean unrestrictedAttrVerification()Returns the value of theunrestrictedAttrVerificationrecord component.- Returns:
- the value of the
unrestrictedAttrVerificationrecord component
-
profileVerification
public boolean profileVerification()Returns the value of theprofileVerificationrecord component.- Returns:
- the value of the
profileVerificationrecord component
-
returnArtifacts
public boolean returnArtifacts()Returns the value of thereturnArtifactsrecord component.- Returns:
- the value of the
returnArtifactsrecord component
-
extensionsProfile
Returns the value of theextensionsProfilerecord component.- Returns:
- the value of the
extensionsProfilerecord component
-
levelToVerify
Returns the value of thelevelToVerifyrecord component.- Returns:
- the value of the
levelToVerifyrecord component
-
tsaAuthInfo
Returns the value of thetsaAuthInforecord component.- Returns:
- the value of the
tsaAuthInforecord component
-
icpBrIncrementalUpdatesRules
public boolean icpBrIncrementalUpdatesRules()Returns the value of theicpBrIncrementalUpdatesRulesrecord component.- Returns:
- the value of the
icpBrIncrementalUpdatesRulesrecord component
-
protectVisualRepresentation
public boolean protectVisualRepresentation()Returns the value of theprotectVisualRepresentationrecord component.- Returns:
- the value of the
protectVisualRepresentationrecord component
-
useFallbackIncrementalUpdates
public boolean useFallbackIncrementalUpdates()Returns the value of theuseFallbackIncrementalUpdatesrecord component.- Returns:
- the value of the
useFallbackIncrementalUpdatesrecord component
-