Package com.yahoo.jrt
Class TlsCryptoEngine
- java.lang.Object
-
- com.yahoo.jrt.TlsCryptoEngine
-
- All Implemented Interfaces:
CryptoEngine
,AutoCloseable
public class TlsCryptoEngine extends Object implements CryptoEngine
ACryptoSocket
that createsTlsCryptoSocket
instances.- Author:
- bjorncs
-
-
Constructor Summary
Constructors Constructor Description TlsCryptoEngine(com.yahoo.security.tls.TlsContext tlsContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
TlsCryptoSocket
createClientCryptoSocket(SocketChannel channel, Spec spec)
TlsCryptoSocket
createServerCryptoSocket(SocketChannel channel)
-
-
-
Method Detail
-
createClientCryptoSocket
public TlsCryptoSocket createClientCryptoSocket(SocketChannel channel, Spec spec)
- Specified by:
createClientCryptoSocket
in interfaceCryptoEngine
-
createServerCryptoSocket
public TlsCryptoSocket createServerCryptoSocket(SocketChannel channel)
- Specified by:
createServerCryptoSocket
in interfaceCryptoEngine
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCryptoEngine
-
-