Home
last modified time | relevance | path

Searched refs:TsiHandshaker (Results 1 – 13 of 13) sorted by relevance

/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DTsiTest.java44 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()
DFakeTsiHandshaker.java34 public class FakeTsiHandshaker implements TsiHandshaker {
40 public TsiHandshaker newHandshaker() {
48 public TsiHandshaker newHandshaker() {
85 public static TsiHandshaker newFakeHandshakerClient() { in newFakeHandshakerClient()
89 public static TsiHandshaker newFakeHandshakerServer() { in newFakeHandshakerServer()
DFakeTsiTest.java60 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()
DAltsProtocolNegotiatorTest.java96 private final TsiHandshaker mockHandshaker =
136 public TsiHandshaker newHandshaker() { in setup()
424 public TsiHandshaker newHandshaker() { in newHandshaker()
429 private class DelegatingTsiHandshaker implements TsiHandshaker {
431 private final TsiHandshaker delegate;
433 DelegatingTsiHandshaker(TsiHandshaker delegate) { in DelegatingTsiHandshaker()
DAltsTsiTest.java82 TsiHandshaker clientHandshaker = new AltsTsiHandshaker(true, client); in newHandshakers()
83 TsiHandshaker serverHandshaker = new AltsTsiHandshaker(false, server); in newHandshakers()
DNettyTsiHandshakerTest.java140 for (Method m : TsiHandshaker.class.getDeclaredMethods()) { in handshakerMethodsMatch()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsTsiHandshaker.java33 public final class AltsTsiHandshaker implements TsiHandshaker {
122 public static TsiHandshaker newClient(HandshakerServiceStub stub, AltsHandshakerOptions options) {
127 public static TsiHandshaker newServer(HandshakerServiceStub stub, AltsHandshakerOptions options) {
DNettyTsiHandshaker.java33 private final TsiHandshaker internalHandshaker;
35 public NettyTsiHandshaker(TsiHandshaker handshaker) { in NettyTsiHandshaker()
DTsiHandshakerFactory.java23 TsiHandshaker newHandshaker(); in newHandshaker()
DTsiHandshaker.java53 public interface TsiHandshaker { interface
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/
DGoogleDefaultChannelBuilder.java38 import io.grpc.alts.internal.TsiHandshaker;
76 public TsiHandshaker newHandshaker() { in GoogleDefaultChannelBuilder()
DAltsChannelBuilder.java37 import io.grpc.alts.internal.TsiHandshaker;
147 public TsiHandshaker newHandshaker() { in build()
DAltsServerBuilder.java41 import io.grpc.alts.internal.TsiHandshaker;
203 public TsiHandshaker newHandshaker() { in build()