Package com.yahoo.jrt
Class TlsCryptoEngine
java.lang.Object
com.yahoo.jrt.TlsCryptoEngine
- All Implemented Interfaces:
CryptoEngine
,AutoCloseable
A
CryptoSocket
that creates TlsCryptoSocket
instances.- Author:
- bjorncs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
createClientCryptoSocket
(SocketChannel channel, Spec spec) createServerCryptoSocket
(SocketChannel channel)
-
Constructor Details
-
TlsCryptoEngine
public TlsCryptoEngine(com.yahoo.security.tls.TlsContext tlsContext)
-
-
Method Details
-
createClientCryptoSocket
- Specified by:
createClientCryptoSocket
in interfaceCryptoEngine
-
createServerCryptoSocket
- Specified by:
createServerCryptoSocket
in interfaceCryptoEngine
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCryptoEngine
-