Searched refs:TsiHandshaker (Results 1 – 13 of 13) sorted by relevance
44 private final TsiHandshaker client;45 private final TsiHandshaker server;47 public Handshakers(TsiHandshaker client, TsiHandshaker server) { in Handshakers()52 public TsiHandshaker getClient() { in getClient()56 public TsiHandshaker getServer() { in getServer()81 TsiHandshaker clientHandshaker = handshakers.getClient(); in performHandshake()82 TsiHandshaker serverHandshaker = handshakers.getServer(); in performHandshake()89 for (TsiHandshaker handshaker : new TsiHandshaker[] {clientHandshaker, serverHandshaker}) { in performHandshake()
34 public class FakeTsiHandshaker implements TsiHandshaker {40 public TsiHandshaker newHandshaker(String authority) {48 public TsiHandshaker newHandshaker(String authority) {85 public static TsiHandshaker newFakeHandshakerClient() { in newFakeHandshakerClient()89 public static TsiHandshaker newFakeHandshakerServer() { in newFakeHandshakerServer()
60 TsiHandshaker clientHandshaker = FakeTsiHandshaker.newFakeHandshakerClient(); in newHandshakers()61 TsiHandshaker serverHandshaker = FakeTsiHandshaker.newFakeHandshakerServer(); in newHandshakers()84 TsiHandshaker clientHandshaker = handshakers.getClient(); in handshakeStateOrderTest()85 TsiHandshaker serverHandshaker = handshakers.getServer(); in handshakeStateOrderTest()
97 private final TsiHandshaker mockHandshaker =137 public TsiHandshaker newHandshaker(String authority) { in setup()429 public TsiHandshaker newHandshaker(String authority) { in newHandshaker()434 private class DelegatingTsiHandshaker implements TsiHandshaker {436 private final TsiHandshaker delegate;438 DelegatingTsiHandshaker(TsiHandshaker delegate) { in DelegatingTsiHandshaker()
82 TsiHandshaker clientHandshaker = new AltsTsiHandshaker(true, client); in newHandshakers()83 TsiHandshaker serverHandshaker = new AltsTsiHandshaker(false, server); in newHandshakers()
140 for (Method m : TsiHandshaker.class.getDeclaredMethods()) { in handshakerMethodsMatch()
33 public final class AltsTsiHandshaker implements TsiHandshaker {122 public static TsiHandshaker newClient(HandshakerServiceStub stub, AltsHandshakerOptions options) {127 public static TsiHandshaker newServer(HandshakerServiceStub stub, AltsHandshakerOptions options) {
33 private final TsiHandshaker internalHandshaker;35 public NettyTsiHandshaker(TsiHandshaker handshaker) { in NettyTsiHandshaker()
25 TsiHandshaker newHandshaker(@Nullable String authority); in newHandshaker()
53 public interface TsiHandshaker { interface
36 import io.grpc.alts.internal.TsiHandshaker;107 public TsiHandshaker newHandshaker(String authority) { in buildProtocolNegotiator()
36 import io.grpc.alts.internal.TsiHandshaker;150 public TsiHandshaker newHandshaker(String authority) { in buildProtocolNegotiator()
41 import io.grpc.alts.internal.TsiHandshaker;203 public TsiHandshaker newHandshaker(String authority) { in build()