#include <XSECKeyInfoResolver.hpp>
Inheritance diagram for XSECKeyInfoResolver:
Public Methods | |
Constructors and Destructors | |
XSECKeyInfoResolver () | |
virtual | ~XSECKeyInfoResolver () |
Interface Functions | |
virtual XSECCryptoKey * | resolveKey (DSIGKeyInfoList *lst)=0 |
Provide a key to the library. More... | |
virtual XSECKeyInfoResolver * | clone (void)=0 |
Clone the resolver to be installed in a new object. More... |
The XSEC library does not perform actual mapping of KeyInfo elements to encryption keys. (In some cases a KeyInfo might not even be provided).
This interface class allows the application to perform this key mapping and provision function. Applications can perform whatever steps are necessary to determine the appropriate key and what trust level it might have.
|
|
|
|
|
Clone the resolver to be installed in a new object.
When KeyInfoResolvers are passed into signatures and other objects, they are cloned and control of the original object is left with the caller. Implemented in XSECKeyInfoResolverDefault. |
|
Provide a key to the library.
The library will pass the KeyInfoList to the resolver which then needs to provide a key back to the library. The key may have absolutely no relationship to the KeyInfoList (which is only supposed to provide a hint). If no KeyInfo elements were provided in the Signature, NULL will be passed in.
Implemented in XSECKeyInfoResolverDefault. |