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(String authority) {
48 public TsiHandshaker newHandshaker(String authority) {
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.java97 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()
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.java25 TsiHandshaker newHandshaker(@Nullable String authority); in newHandshaker()
DTsiHandshaker.java53 public interface TsiHandshaker { interface
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/
DGoogleDefaultChannelBuilder.java36 import io.grpc.alts.internal.TsiHandshaker;
107 public TsiHandshaker newHandshaker(String authority) { in buildProtocolNegotiator()
DAltsChannelBuilder.java36 import io.grpc.alts.internal.TsiHandshaker;
150 public TsiHandshaker newHandshaker(String authority) { in buildProtocolNegotiator()
DAltsServerBuilder.java41 import io.grpc.alts.internal.TsiHandshaker;
203 public TsiHandshaker newHandshaker(String authority) { in build()