Creating a Credential from X509 string in C++
Cantor, Scott
cantor.2 at osu.edu
Tue Mar 19 10:45:27 EDT 2019
On 3/19/19, 1:13 AM, "dev on behalf of Gareth C" <dev-bounces at shibboleth.net on behalf of garethenator at gmail.com> wrote:
> Can someone provide guidance here?
The InlineKeyResolver would consume a correctly formatted KeyInfo element, and that works fine when properly indirected through the KeyResolver factory interface. Nothing in impl/ is visible, those aren't APIs. The other obvious choice is to stream it out to a tempfile and load it from there using the FilesystemCredentialResolver (again through the relevant factory interface).
The general model is for interfaces that are public, and factories that are accessible from the XMLToolingConfig class that can create instances of the interfaces using short string constants that signify the type of plugin to build. There is no CredentialResolver that just builds from strings, but simply creating a key or cert is also something Santuario has ways of doing directly.
-- Scott
More information about the dev
mailing list