Click or drag to resize

DefaultVerificationPolicyVerify Method (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.

Namespace:  Guardtime.KSI.Signature.Verification.Policy
Assembly:  ksi-net-api (in ksi-net-api.dll) Version: 3.11.534.0 (3.11.534.0)
Syntax
public VerificationResult Verify(
	IKsiSignature ksiSignature,
	DataHash documentHash,
	IKsiService ksiService
)

Parameters

ksiSignature
Type: Guardtime.KSI.SignatureIKsiSignature
KSI signature to be verified.
documentHash
Type: Guardtime.KSI.HashingDataHash
Document hash
ksiService
Type: Guardtime.KSI.ServiceIKsiService
KSI services for downloading publications file and extending KSI signature if needed.

Return Value

Type: VerificationResult
verification result
See Also