Discuss this help topic in SecureBlackbox Forum

Multithreaded use of components

The correct term would be "thread-safe", i.e. being capable of being called from multiple threads simultaneously.

In SecureBlackbox all classes can be grouped to "containers" and "data processors". Container classes are those used to manage X.509 certificates, OpenPGP keys and SSH keys (note that this applies only to the classes, used for management of certificates and keys, but not to the classes, which represent individual certificates or keys).

Container classes are thread-safe, i.e. you can add and delete certificates and keys from multiple threads at the same time.

Data processing classes are not thread-safe. For example, you can't use one instance of TElPDFDocument class to sign several files from multiple threads at the same time. If you want to speed-up the processing of the data by running several threads, you need to create several instances of TElPDFDocument class and use one instance in one thread. If you use timestamping, you need separate instances of timestamping-related components for each thread as well. The same applies to other data processing classes.

Discuss this help topic in SecureBlackbox Forum