blob: 601ca6aff4f52e77a81b92258d3ca99fd327bef8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jrt;
import java.nio.channels.SocketChannel;
/**
* CryptoEngine implementation that performs no encryption.
**/
public class NullCryptoEngine implements CryptoEngine {
@Override public CryptoSocket createCryptoSocket(SocketChannel channel, boolean isServer) {
return new NullCryptoSocket(channel);
}
}
|