Click or drag to resize

DocumentHashLevelVerificationRule Class

This rule verifies that given document hash level is not greater than the first link level correction of the first aggregation hash chain. In case RFC3161 signature the given document hash level must be 0. If the level is equal to or less than expected then Ok is returned.
Inheritance Hierarchy
SystemObject
  Guardtime.KSI.Signature.Verification.RuleVerificationRule
    Guardtime.KSI.Signature.Verification.RuleDocumentHashLevelVerificationRule

Namespace:  Guardtime.KSI.Signature.Verification.Rule
Assembly:  ksi-net-api (in ksi-net-api.dll) Version: 3.11.534.0 (3.11.534.0)
Syntax
public sealed class DocumentHashLevelVerificationRule : VerificationRule

The DocumentHashLevelVerificationRule type exposes the following members.

Constructors
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetRuleName
Get rule name.
(Inherited from VerificationRule.)
Public methodGetType (Inherited from Object.)
Public methodNextRule
Get next rule based on verification result.
(Inherited from VerificationRule.)
Public methodOnFailure
Set next verification rule on failure.
(Inherited from VerificationRule.)
Public methodOnNa
Set next verification rule on na status.
(Inherited from VerificationRule.)
Public methodOnSuccess
Set next verification rule on success.
(Inherited from VerificationRule.)
Public methodToString (Inherited from Object.)
Public methodVerify (Overrides VerificationRuleVerify(IVerificationContext).)
Top
See Also