I am writing a little web framework and I want to enable SSL encryption with a SSL key which will be supplied by the user.
This might seem overly cautious, but is it common to pass the password for the keystore file as a String
passed in the parameters of a method?
This is what I had in mind:
public void enableSSL(String keystorePath, String keystorePassword) {
// ... do things
}
No comments:
Post a Comment