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

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

This example demonstrates how to do streaming symmetric key encryption / decryption with the PKCS 11 security provider. 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.