SecureBlackbox 16: Is SecureBlackbox multithreaded?
The correct term would be "thread-safe": SecureBlackBox is capable of being called from multiple threads simultaneously.
In SecureBlackbox all classes can be grouped into "containers" and "data processors." Container classes are those used to manage X.509 certificates, OpenPGP keys, and SSH keys (only the classes used for management and not the classes that represent the individual certificates or keys).
Container classes are thread-safe: 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 cannot use one instance of the ElPGPWriter class to encrypt 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 the ElPGPWriter class and use one instance in one thread. The same applies to other data processing classes.
We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at support@nsoftware.com.