public class SslEngineFacadeFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
ProtonSslEngine |
createProtonSslEngine(SslDomain domain,
SslPeerDetails peerDetails)
Returns a
ProtonSslEngine . |
void |
resetCache()
Guarantees that no cached settings are used in subsequent calls to
createProtonSslEngine(SslDomain, SslPeerDetails) . |
public ProtonSslEngine createProtonSslEngine(SslDomain domain, SslPeerDetails peerDetails)
ProtonSslEngine
. May cache the domain's settings so callers should invoke
resetCache()
if the domain changes.peerDetails
- may be used to return an engine that supports SSL resume.public void resetCache()
createProtonSslEngine(SslDomain, SslPeerDetails)
.