Methods for Using and Testing Encryption in Transit

Our working model will not be tested from the main() method of OracleJavaSecure; rather, we are going to demonstrate how we come in as a separate application and use the structures of our Application Security package, app_sec_pkg. We are going to add two more methods to the OracleJavaSecure class: one just for testing, resetKeys(); and another to prepare the client to encrypt data for updates / inserts to Oracle database, makeDESKey().

We want the ability to do data updates from our client application with a minimum of effort. The least effort requires these steps:

  1. Generate RSA keys on client and pass public key to Oracle.
  2. Generate DES secret password key on Oracle database, encrypt the artifacts ...

Get Expert Oracle and Java Security: Programming Secure Oracle Database Applications with Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.