README.md in keystores-0.1.0 vs README.md in keystores-0.2.0
- old
+ new
@@ -1,9 +1,10 @@
# Keystores
This gem provides ruby implementations of different key stores. This was primarily created to provide the ability
-to use many of the good Java key stores from ruby.
+to use many of the good Java key stores from ruby. This gem adds the key stores to the OpenSSL module structure,
+since that is where the `OpenSSL::PKCS12` keystore lives.
## Installation
Add this line to your application's Gemfile:
@@ -29,19 +30,21 @@
### Supported Key Store types
#### Java Key Store (jks) format
+[Detailed documentation](JAVA_KEY_STORE_README.md)
+
##### Reading
This gem supports reading trusted certificate entries and private key entries. It can read
and decrypt RSA, DSA, and EC keys.
Example usage:
```
-require 'keystores/java_keystore'
-keystore = Keystores::JavaKeystore.new
+require 'keystores'
+keystore = OpenSSL::JKS.new
# Load can take any IO object, or a path to a file
key_store_password = 'keystores'
keystore.load('/tmp/keystore.jks', key_store_password)