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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()createClientCryptoSocket(SocketChannel channel, Spec spec) createServerCryptoSocket(SocketChannel channel)
-
Constructor Details
-
TlsCryptoEngine
public TlsCryptoEngine(com.yahoo.security.tls.TlsContext tlsContext)
-
-
Method Details
-
createClientCryptoSocket
- Specified by:
createClientCryptoSocketin interfaceCryptoEngine
-
createServerCryptoSocket
- Specified by:
createServerCryptoSocketin interfaceCryptoEngine
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCryptoEngine
-