-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support exporting plain SecretKey in FIPS mode
We support exporting and importing plain RSA/EC private keys and importing secret keys as AES in FIPS mode for now. We also need to support exporting secret keys in FIPS mode. Currently, while user generating an AES secretkey in FIPS mode through KeyGenerator, this AES key's encode is NULL. Therefore, we modify the P11Key.java and SunPKCS11.java files to enable the support for exporting secret keys inclusing AES and TripleDES. Signed-off-by: Jinhang Zhang <Jinhang.Zhang@ibm.com>
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 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