Class JsonRpcSslContextProvider
java.lang.Object
net.minecraft.server.jsonrpc.security.JsonRpcSslContextProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.netty.handler.ssl.SslContextcreateFrom(String pKeystore, String pKeystorePassword) private static StringgetKeystorePassword(String pPassword) private static io.netty.handler.ssl.SslContextloadKeystoreFromPath(File pFile, String pPassword) static void
-
Field Details
-
PASSWORD_ENV_VARIABLE_KEY
- See Also:
-
PASSWORD_SYSTEM_PROPERTY_KEY
- See Also:
-
log
private static final org.slf4j.Logger log
-
-
Constructor Details
-
JsonRpcSslContextProvider
public JsonRpcSslContextProvider()
-
-
Method Details
-
createFrom
public static io.netty.handler.ssl.SslContext createFrom(String pKeystore, String pKeystorePassword) throws Exception - Throws:
Exception
-
getKeystorePassword
-
loadKeystoreFromPath
private static io.netty.handler.ssl.SslContext loadKeystoreFromPath(File pFile, String pPassword) throws Exception - Throws:
Exception
-
printInstructions
public static void printInstructions()
-