Package net.targetr.wtm3.net.tls


package net.targetr.wtm3.net.tls
TLS detection, domain certificate selection and secure socket setup.

SocketSniffer distinguishes plain traffic from TLS and uses SSLExplorer and SSLCapabilities to inspect the ClientHello, including server name indication (SNI). SecureSuperSocketFactory creates secure sockets using the selected domain's keys and configured TLS settings.

DomainSetupManager loads and persists domain keys and certificate chains in a keystore. DomainSetup holds domain state, and DomainKeyManager supplies it to JSSE. Self-signed certificate generation provides initial certificates; DomainCertification is the extension point for obtaining replacements, implemented by net.targetr.wtm3.net.tls.acme.

Author:
Dr Michael Gardiner