Use NetconfKeystoreService in tls auth provider 24/110124/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 2 Feb 2024 15:28:12 +0000 (16:28 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 2 Feb 2024 15:28:23 +0000 (16:28 +0100)
commitb41c451825b40605e026b72b2f59f5a479629240
treebe36942a8cc25cf77bf175a979634074f54f86cf
parent5a9708a6db33652fde445a22aa593df3715f51a1
Use NetconfKeystoreService in tls auth provider

Rather than listening to datastore, use the associated service to
acquire readily-decoded certificates.

While we are at it, we index them to a multimap, so we do not need to
iterate through them all the time.

JIRA: NETCONF-1243
Change-Id: I93e546684e6f31e309da45d0cf07cc30de31565a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/tls/CallHomeMountTlsAuthProvider.java