IPWorks Encrypt 2020 macOS Edition

Questions / Feedback?

VerifySignature Method

Verifies the signature for the specified data.

Syntax

public func verifySignature() throws -> Bool

Remarks

This method will verify a hash signature.

Before calling this method specify the input file by setting InputFile or InputMessage.

A public key and the hash signature are required to perform the signature verification. Specify the public key in SignerKey. Alternatively, a certificate may be specified by setting SignerCert. Specify the hash signature in HashSignature.

When this method is called the class will compute the hash for the specified file and populate HashValue. It will verify the signature using the specified SignerKey and HashSignature.

To verify the hash signature without first computing the hash simply specify HashValue before calling this method.

The Progress event will fire with updates for the hash computation progress only. The hash signature verification process is quick and does not require progress updates.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Encrypt 2020 macOS Edition - Version 20.0 [Build 8155]