xmltooling
3.0.3
|
Resolves credentials from KeyInfo information. More...
#include <xmltooling/security/KeyInfoResolver.h>
Public Member Functions | |
virtual Credential * | resolve (const xmlsignature::KeyInfo *keyInfo, int types=0) const =0 |
Returns a credential based on the supplied KeyInfo information. More... | |
virtual Credential * | resolve (DSIGKeyInfoList *keyInfo, int types=0) const =0 |
Returns a credential based on the supplied KeyInfo information. More... | |
virtual Credential * | resolve (KeyInfoCredentialContext *context, int types=0) const =0 |
Returns a credential based on the KeyInfo information in the supplied context. More... | |
Credential * | resolve (const xmlsignature::Signature *sig, int types=0) const |
Returns a credential based on the supplied KeyInfo information. More... | |
Credential * | resolve (const CredentialCriteria &criteria, int types=0) const |
Returns a credential based on the KeyInfo information in the supplied criteria. More... | |
Resolves credentials from KeyInfo information.
Credential-specific bitmasks can be provided to control what to resolve.
Implementations should only establish KeyNames on the basis of explicit names within the KeyInfo object, never by extracting names out of physical credentials found within it.
|
pure virtual |
Returns a credential based on the supplied KeyInfo information.
The caller must release the credential when done with it.
keyInfo | the key information |
types | types of credentials to resolve, or 0 for any/all |
|
pure virtual |
Returns a credential based on the supplied KeyInfo information.
The caller must release the credential when done with it.
keyInfo | the key information |
types | types of credentials to resolve, or 0 for any/all |
|
pure virtual |
Returns a credential based on the KeyInfo information in the supplied context.
The caller must release the credential when done with it.
The context object will be owned by the Credential and freed with it.
context | context containing the key information |
types | types of credentials to resolve, or 0 for any/all |
Credential* xmltooling::KeyInfoResolver::resolve | ( | const xmlsignature::Signature * | sig, |
int | types = 0 |
||
) | const |
Returns a credential based on the supplied KeyInfo information.
The caller must release the credential when done with it.
sig | signature containing the key information |
types | types of credentials to resolve, or 0 for any/all |
Credential* xmltooling::KeyInfoResolver::resolve | ( | const CredentialCriteria & | criteria, |
int | types = 0 |
||
) | const |
Returns a credential based on the KeyInfo information in the supplied criteria.
The caller must release the credential when done with it.
criteria | criteria containing the key information |
types | types of credentials to resolve, or 0 for any/all |