Click or drag to resize

DocumentHashVerificationRule Class

This rule verifies document hash. If RFC3161 record is present then document hash must equal to RFC3161 record input hash. Otherwise document hash is compared to aggregation hash chain input hash. If document hash is not provided then Ok is returned.
Inheritance Hierarchy
SystemObject
  Guardtime.KSI.Signature.Verification.RuleVerificationRule
    Guardtime.KSI.Signature.Verification.RuleDocumentHashVerificationRule

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 DocumentHashVerificationRule : VerificationRule

The DocumentHashVerificationRule 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