-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add object handle and key cache to bccsp/pkcs11
With this change, object handles obtained through findKeyPairFromSKI are cached in the PKCS#11 implementation of BCCSP. Keys constructed by getECKey are also cached. In support of these changes, in addition to pooling idle sessions, the provider tracks active sessions. If some condition occurs that results in all sessions being closed, cached object handles are no longer valid so the caches are purged. Signed-off-by: Gari Singh <[email protected]> Signed-off-by: Matthew Sykes <[email protected]>
- Loading branch information
1 parent
d626146
commit 11cbae9
Showing
4 changed files
with
434 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.