Specifies the result of single signature verification. Signature contains the VerificationSignature.IsValid property for signature is validated and VerificationSignature.SerialNumber and VerificationSignature.Name properties for signature owner information.

Collecting verification result

var result = $Crypto.VerifyFile('...');

result.Signatures.forEach(function(signature) {

    signatureNode.AppendChild('Signature', function () {

        this.SetValue('IDNumber', signature.SerialNumber);
        this.SetValue('DisplayName', signature.Name);
        this.SetValue('SigningTime', signature.Date);
        this.SetValue('IsValid', signature.IsValid);

    });

});

  • No labels