commit | ecf937dd80999d2b37c5b44cda1065bfd4da42fb | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Aug 11 17:29:28 2021 -0700 |
committer | Yifan Hong <elsk@google.com> | Mon Aug 23 13:58:26 2021 -0700 |
tree | 6526b821f061ed460b7013e54e515c31ff303cd6 | |
parent | 588d59c6ae1abcad5012d33b15bf4a064315f9ee [diff] |
binder: RpcServer / RpcSession add API for certs. These APIs call into RpcTransportCtx::getCertificate and RpcTransportClientCtx::addTrustedPeerCertificate, respectively. For RpcSession, peer (server) certificates are fixed when it is constructed. Test: binderRpcTest Bug: 195166979 Change-Id: I0d1bd93042895aeb3ab1de4fe6b9d90e73d0d116