Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
PKCS 11 Example 12: Java Security Provider -- Symmetric Keys

Demonstrate how to use P6R's PKCS 11 library as a Java Security Provider.

This example demonstrates AES symmetric key generation, key storage into the provider keystore, and encryption. Encryption and decryption are both done via the PKCS 11 security provider.

Once configured using plain old java to create a RSA key and place these keys into a PKCS 11 keystore. The user does not have to understand anything about PKCS 11 or KMIP. Example uses the P6R KMIP token, but could also use any other Java compatible token.

This example holds an Intellij project with the source and instructions on how to set up P6R's PKCS 11 library as a Java Security Provider.