#include <xmltooling/security/Credential.h>
Inheritance diagram for xmltooling::Credential:

Public Types | |
| enum | ResolveTypes { RESOLVE_KEYS = 1, RESOLVE_NAMES = 2 } |
| Bitmask constants for limiting resolution process inside a CredentialResolver. | |
| enum | UsageTypes { UNSPECIFIED_CREDENTIAL = 0, SIGNING_CREDENTIAL = 1, TLS_CREDENTIAL = 2, ENCRYPTION_CREDENTIAL = 4 } |
| Bitmask of use cases for credentials. | |
| enum | KeyInfoTypes { KEYINFO_KEY_VALUE = 1, KEYINFO_KEY_NAME = 2 } |
| Bitmask of supported KeyInfo content to generate. | |
Public Member Functions | |
| virtual unsigned int | getUsage () const =0 |
| Get credential usage types. | |
| virtual const char * | getAlgorithm () const =0 |
| Returns an algorithm identifier for the Credential. | |
| virtual unsigned int | getKeySize () const =0 |
| Returns the size of the key in bits. | |
| virtual XSECCryptoKey * | getPrivateKey () const =0 |
| Returns a secret or private key to use for signing or decryption operations. | |
| virtual XSECCryptoKey * | getPublicKey () const =0 |
| Returns a secret or public key to use for verification or encryption operations. | |
| virtual const std::set< std::string > & | getKeyNames () const =0 |
| Returns names representing the Credential. | |
| virtual xmlsignature::KeyInfo * | getKeyInfo (bool compact=false) const =0 |
| Returns a ds:KeyInfo object representing the Credential for use in communicating with other entities. | |
| virtual const CredentialContext * | getCredentalContext () const |
| Get the credential context information, which provides additional information specific to the context in which the credential was resolved. | |
Shared credential implementations should implement reference counting and honor any locking parameters to ensure appropriate synchronization.
|
|
Returns an algorithm identifier for the Credential.
Implemented in xmltooling::BasicX509Credential. |
|
|
Get the credential context information, which provides additional information specific to the context in which the credential was resolved.
|
|
|
Returns a ds:KeyInfo object representing the Credential for use in communicating with other entities.
Implemented in xmltooling::BasicX509Credential. |
|
|
Returns names representing the Credential. Names should be unique in the context of the comparisons against CredentialCriteria that deployments expect to see.
Implemented in xmltooling::BasicX509Credential. |
|
|
Returns the size of the key in bits.
Implemented in xmltooling::BasicX509Credential. |
|
|
Returns a secret or private key to use for signing or decryption operations.
Implemented in xmltooling::BasicX509Credential. |
|
|
Returns a secret or public key to use for verification or encryption operations.
Implemented in xmltooling::BasicX509Credential. |
|
|
Get credential usage types.
Implemented in xmltooling::BasicX509Credential. |
1.4.6