/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/ |
D | AltsTsiHandshaker.java | 36 private final boolean isClient; field in AltsTsiHandshaker 43 boolean isClient, HandshakerServiceStub stub, AltsHandshakerOptions options) { in AltsTsiHandshaker() argument 44 this.isClient = isClient; in AltsTsiHandshaker() 49 AltsTsiHandshaker(boolean isClient, AltsHandshakerClient handshaker) { in AltsTsiHandshaker() argument 50 this.isClient = isClient; in AltsTsiHandshaker() 65 if (outputFrame == null && isClient) { in processBytesFromPeer() 75 checkState(!isClient, "Client handshaker should not process any frame at the beginning."); in processBytesFromPeer() 139 if (isClient) { 181 return new AltsTsiFrameProtector(maxFrameSize, new AltsChannelCrypter(key, isClient), alloc); in createFrameProtector()
|
D | AltsChannelCrypter.java | 42 AltsChannelCrypter(byte[] key, boolean isClient) { in AltsChannelCrypter() argument 44 byte[] counter = isClient ? inCounter : outCounter; in AltsChannelCrypter()
|
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/ |
D | WebSocketWriter.java | 47 private final boolean isClient; field in WebSocketWriter 63 public WebSocketWriter(boolean isClient, BufferedSink sink, Random random) { in WebSocketWriter() argument 66 this.isClient = isClient; in WebSocketWriter() 71 maskKey = isClient ? new byte[4] : null; in WebSocketWriter() 72 maskBuffer = isClient ? new byte[2048] : null; in WebSocketWriter() 134 if (isClient) { in writeControlFrameSynchronized() 186 if (isClient) { in writeMessageFrameSynchronized() 203 if (isClient) { in writeMessageFrameSynchronized()
|
D | WebSocketReader.java | 61 private final boolean isClient; field in WebSocketReader 81 public WebSocketReader(boolean isClient, BufferedSource source, FrameCallback frameCallback) { in WebSocketReader() argument 84 this.isClient = isClient; in WebSocketReader() 132 if (isMasked == isClient) { in readHeader() 165 if (isClient) { in readControlFrame()
|
D | RealWebSocket.java | 55 public RealWebSocket(boolean isClient, BufferedSource source, BufferedSink sink, Random random, in RealWebSocket() argument 59 writer = new WebSocketWriter(isClient, sink, random); in RealWebSocket() 60 reader = new WebSocketReader(isClient, source, new FrameCallback() { in RealWebSocket()
|
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/ |
D | FakeTsiHandshaker.java | 53 private boolean isClient; field in FakeTsiHandshaker 93 protected FakeTsiHandshaker(boolean isClient) { in FakeTsiHandshaker() argument 94 this.isClient = isClient; in FakeTsiHandshaker() 95 if (isClient) { in FakeTsiHandshaker() 221 return new AltsTsiFrameProtector(maxFrameSize, new AltsChannelCrypter(key, isClient), alloc); in createFrameProtector()
|
D | AltsTsiHandshakerTest.java | 80 private HandshakerResult getHandshakerResult(boolean isClient) { in getHandshakerResult() argument 87 if (isClient) { in getHandshakerResult()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | NativeSsl.java | 292 if (isClient()) { in initialize() 319 … NativeCrypto.setApplicationProtocols(ssl, this, isClient(), parameters.applicationProtocols); in initialize() 321 if (!isClient() && parameters.applicationProtocolSelector != null) { in initialize() 327 if (!isClient()) { in initialize() 444 if (isClient()) { in enablePSKKeyManagerIfRequested() 474 if (!isClient()) { in setCertificateValidation() 591 private boolean isClient() { in isClient() method in NativeSsl
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | NativeSsl.java | 293 if (isClient()) { in initialize() 320 … NativeCrypto.setApplicationProtocols(ssl, this, isClient(), parameters.applicationProtocols); in initialize() 322 if (!isClient() && parameters.applicationProtocolSelector != null) { in initialize() 328 if (!isClient()) { in initialize() 445 if (isClient()) { in enablePSKKeyManagerIfRequested() 475 if (!isClient()) { in setCertificateValidation() 592 private boolean isClient() { in isClient() method in NativeSsl
|
/external/boringssl/src/ssl/test/runner/ |
D | conn.go | 33 isClient bool member 761 if !c.isClient { 771 if c.isClient { 1614 if !c.isClient { 1629 if c.isClient { 1679 if !c.isClient { 1819 if c.isClient { 1876 if !c.isClient { 1956 if c.isClient || c.vers < VersionTLS13 {
|
D | tls.go | 39 c := &Conn{conn: conn, config: config, isClient: true}
|
D | dtls.go | 499 c := &Conn{config: config, isClient: true, isDTLS: true, conn: conn}
|
D | runner.go | 4181 for _, isClient := range []bool{false, true} { 4184 if isClient { 4214 for _, isClient := range []bool{false, true} { 4224 if isClient { 4249 if !isClient { 10393 for _, isClient := range []bool{false, true} { 10409 if isClient {
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | NettyServerBuilderTest.java | 49 when(sslContext.isClient()).thenReturn(true); in failIfSslContextIsNotServer()
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
D | NettyChannelBuilder.java | 185 checkArgument(sslContext.isClient(), in sslContext()
|