grpc-java/binder/src
markb74 746501dff6
binder: SecurityPolicy updates (take 2). (#8637)
The previous attempt at this CL relied on guava's Hashing class which
is still in beta. This update compares Signature objects directly instead
of SHA256 hashs, removing the need for the Hashing class.

Add additional comments to the security policy class, to mention that
implementing new policies requires significant care.

With that in mind, add security policies to check the peer app's
signature, so people can create cross-app communication without
having to implement their own policy.

Finally, add the UntrustedSecurityPolicies class, since that's
inevitably a policy which is sometimes needed.
2021-11-01 18:57:30 +01:00
..
androidTest Support BinderChannelBuilder.forTarget. (#8633) 2021-11-01 14:01:56 +01:00
main binder: SecurityPolicy updates (take 2). (#8637) 2021-11-01 18:57:30 +01:00
test/java/io/grpc/binder binder: SecurityPolicy updates (take 2). (#8637) 2021-11-01 18:57:30 +01:00