Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
PKCS 11 Example 11: Java Security Provider -- Public/Private keys

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

This example demonstrates public/private key generation, key storage into the provider keystore, encryption, and signing.

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.