public class LetsEncryptDomain extends Object
| Modifier and Type | Field and Description |
|---|---|
static String | DEFAULT_PASSWORDDefault password for keystore: "changeit". |
String | domainThe domain name in lower case. |
| Constructor and Description |
|---|
LetsEncryptDomain(String domain)Creates Let's Encrypt domain. |
| Modifier and Type | Method and Description |
|---|---|
void | addConnector(SocketClientConnectionListener connector)Adds a HTTPS connector that references this domain. |
void | dispose()Disposes of this domain from the PortManager. |
boolean | equals(Object o)Two domain names are equal. |
KeyStore | getKeyStore()Gets the PKCS#12 identity KeyStore for the domain. |
int | hashCode()Gets the hash code. |
void | removeConnector(SocketClientConnectionListener connector)Removes a HTTPS connector that references this domain. |
boolean | renewNow(Function<String,Void> logger)Performs the renewal now. |
String | toString()String representation is just the domain name. |
public static final String DEFAULT_PASSWORD
public final String domain
public LetsEncryptDomain(String domain)
domain - The domain name.public void dispose()
public KeyStore getKeyStore()
public boolean renewNow(Function<String,Void> logger) throws Exception
logger - The logger callback for current operation, null for none.Exception - Exception for renewal problems.public void addConnector(SocketClientConnectionListener connector)
connector - The connector.public void removeConnector(SocketClientConnectionListener connector)
connector - The connector.public boolean equals(Object o)
public int hashCode()
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© 2026 Mindus SARL. All rights reserved.