IPWorks Encrypt 2020 Python Edition

Questions / Feedback?

sign Method

Creates a hash signature.

Syntax

def sign() -> None: ...

Remarks

This method will create a hash signature.

Before calling this method specify the input file by setting input_file or input_message.

A key is required to create the hash signature. You may create a new key by calling create_key, or specify an existing key pair in key. Alternatively, a certificate may be specified by setting certificate. When this method is called the class will compute the hash for the specified file and populate hash_value. It will then create the hash signature using the specified key and populate hash_signature.

To create the hash signature without first computing the hash simply specify hash_value before calling this method.

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

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