commit | 1af485881bce567ed9412b889f22b92c9b1a7e1c | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Aug 16 17:13:30 2021 -0700 |
committer | Yifan Hong <elsk@google.com> | Mon Aug 23 13:58:26 2021 -0700 |
tree | 3859b020be11db4ebe9e0680e22c5caad5de5849 | |
parent | 87a379cea3277944cda07c1923abe0df9ab8ce1a [diff] |
binder: combine TLS context objects. This change creates RpcTransportCtxTls as the base class of the server and client context classes. RpcTransportCtxTls implements both addTrustedCertificate and getCertificate. This is so that server and client can verify each other. Test: binderRpcTest Bug: 195166979 Bug: 196422181 Change-Id: I9b3b1ffd346bf8a93c2a5b38871295a8bc4c68ce