000023249 - Is it safe to share an instance of a CertJ object across multiple threads?

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000023249
Applies ToBSAFE/Cert-J 2.1.2
IssueIs it safe to share an instance of a CertJ object across multiple threads
Is it safe to share an instance of a CertJ object across multiple threads, or should a new instance be created for each operation?
ResolutionIn general, Cert-J is not a threadsafe toolkit.  Therefore you cannot share an instance of a CertJ object across multiple threads.  We would suggest that you create a new instance of the CertJ object per thread.
Legacy Article IDa39318

Attachments

    Outcomes