Click or drag to resize

DefaultVerificationPolicyVerify Method

Overload List
  NameDescription
Public methodVerify(IVerificationContext)
Verify KSI signature with given context and policy. Following properties could be set in the context: - KSI signature: signature to be verified (mandatory) - Document hash (optional) - Document hash level (optional) - Publications file (mandatory) - IsExtendingAllowed: set true if extending should be allowed - KSI service (optional: needed when IsExtendingAllowed is set true)
(Overrides VerificationPolicyVerify(IVerificationContext).)
Public methodVerify(IKsiSignature, DataHash, IPublicationsFile)
Verify given KSI signature. At first the signature is verified against given document hash and publications file. If suitable publication is not found in publications file then key based verification is done.
Public methodVerify(IKsiSignature, DataHash, IKsiService)
Verify given KSI signature. At first the signature is verified against given document hash and publications file. Publications file is downloaded using given KSI service. If suitable publication is not found in publications file then the KSI signature is extended. If extending is not yet possible then key based verification is done.
Top
See Also