[dwa_service] Add observer pattern to subscribe to public key changes
This commit adds observer pattern to listen to changes in encryption
public key. The returned key is in its decoded form.
Bug: b:445106658
Change-Id: I3557070a7244bf65860bd105adf29bcb8498eed7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7084035
Reviewed-by: Alexei Svitkine <asvitkine@chromium.org>
Commit-Queue: Chirag Arora <heychirag@google.com>
Reviewed-by: Jay Zhou <zhouzj@google.com>
Cr-Commit-Position: refs/heads/main@{#1538001}
NOKEYCHECK=True
GitOrigin-RevId: b5ae063cecf88af781bb0887f492301f7d88c3ae
2 files changed