aws-samples / aws-cloudhsm-jce-examples

Sample applications demonstrating how to use the CloudHSM JCE
MIT No Attribution
37 stars 57 forks source link

Added example to find all keys for current user #33

Closed mayankambaliya closed 4 years ago

mayankambaliya commented 4 years ago

Description of changes: Added example to find all keys for the current user

Example output:

KeyHandle   Persistent  Extractable Algo        Size        Label
524294      true        true        AES         128         tmp111
786439      true        true        AES         128         testv3_1
786440      true        true        AES         128         testv1_1
524297      true        true        AES         128         temp333
2621450     true        true        AES         256
1310731     true        true        RSA         2048        RSAPrivate
2621452     true        true        RSA         2048
2621453     true        true        EC          256

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.