RSA: auto-detect public keys vs private keys
RSA: update unit test file
Merge pull request #325 from terrafrost/rsa-public-key

RSA: auto-detect public keys vs private keys

* terrafrost/rsa-public-key:
  RSA: update unit test file
  RSA: auto-detect public keys vs private keys