Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
protonj2-1.0.0-M15
-
None
-
None
Description
It would be useful if ConnectionOptions allowed you to supply an SSL keystore from a resource on the classpath in some way. One possibility would be:
options.keyStoreLocation("classpath:com/my/thing/ks.p12")
Another option would be adding a method to take a stream or bytes or Reader or something instead of String for this option.
Sadly, File doesn't handle classpath: URLs on its own.