Constructor and Description |
---|
CompositeRule(boolean skipOnFirstAppliedRule,
Rule... rules)
Constructor to createSignature a rule that contains multiple other rules.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
com.guardtime.ksi.unisignature.verifier.rules.CompositeRule.CompositeRuleResult |
verify(VerificationContext context)
Method for verifying the signature.
|
public CompositeRule(boolean skipOnFirstAppliedRule, Rule... rules)
skipOnFirstAppliedRule
- when this parameter is set to true then the rule engine skips all the next rules when a rule is found
that returns status VerificationResultCode.OK
rules
- rules to execute by this composite rulepublic final com.guardtime.ksi.unisignature.verifier.rules.CompositeRule.CompositeRuleResult verify(VerificationContext context) throws KSIException
Rule
verify
in interface Rule
context
- context to be used for this rule for verification.KSIException
- if exception occurs.Copyright © 2024 Guardtime. All rights reserved.