TritonDataCenter / java-http-signature

Library for performing RSA signed HTTP requests in Java
Mozilla Public License 2.0
17 stars 13 forks source link

Load KeyPair from Path with Password #37

Closed tjcelaya closed 7 years ago

tjcelaya commented 7 years ago

Resolves #36

Make it possible to use a password in combination with a key path.

Recommendations on how to make the test cases more useful would be appreciated, all I could come up with was being able to load the full KeyPair from just the private key content.

Additional convenience methods were added to allow users to pass in a File object instead of having to call f.toPath() but I can remove those if there are any objections.