#include <DSIGKeyInfo.hpp>
Inheritance diagram for DSIGKeyInfo:
Digital signatures can have a number of KeyInfo elements that are used to communicate information about what key to use between the signer and the validator.
In the XML-Security-C libary, KeyInfo elements are only used for holding information about keys. They do not in themselves perform any cryptographic function.
Public Types | |
enum | keyInfoType { KEYINFO_NOTSET = 1, KEYINFO_X509 = 2, KEYINFO_VALUE_DSA = 3, KEYINFO_VALUE_RSA = 4, KEYINFO_NAME = 5, KEYINFO_PGPDATA = 6, KEYINFO_SPKIDATA = 7, KEYINFO_MGMTDATA = 8, KEYINFO_ENCRYPTEDKEY = 9 } |
List of potential KeyInfo types. More... | |
Public Member Functions | |
Constructors and Destructors | |
DSIGKeyInfo (const XSECEnv *env) | |
Construct from an owning signature. | |
virtual | ~DSIGKeyInfo () |
The Destructor. | |
Get functions | |
virtual keyInfoType | getKeyInfoType (void)=0 |
Return type. | |
virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * | getKeyInfoDOMNode () |
Return the DOMNode that heads up this DOMNode. | |
virtual const XMLCh * | getKeyName (void)=0 |
Return the name of this key. | |
Load and Set | |
virtual void | load ()=0 |
Load the DOM structures. | |
Protected Attributes | |
XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * | mp_keyInfoDOMNode |
const XSECEnv * | mp_env |
|
List of potential KeyInfo types. The keyIntoType enumerated type defines the KeyInfo types known by the XML-Security-C library. |
|
Construct from an owning signature. All KeyInfo types take a constructor that provides the controlling environment.
|
|
The Destructor.
|
|
Return the DOMNode that heads up this DOMNode.
|
|
Return type. Can be used to find what type of KeyInfo this is Implemented in DSIGKeyInfoMgmtData, DSIGKeyInfoName, DSIGKeyInfoPGPData, DSIGKeyInfoSPKIData, DSIGKeyInfoValue, and DSIGKeyInfoX509. |
|
Return the name of this key. For those KeyInfo types that have a keyname, this function should return it. For certificates, this may be the DN.
Implemented in DSIGKeyInfoMgmtData, DSIGKeyInfoName, DSIGKeyInfoPGPData, DSIGKeyInfoSPKIData, DSIGKeyInfoValue, and DSIGKeyInfoX509. |
|
Load the DOM structures. Used by the library to instruct the object to load information from the DOM nodes Implemented in DSIGKeyInfoMgmtData, DSIGKeyInfoName, DSIGKeyInfoPGPData, DSIGKeyInfoSPKIData, DSIGKeyInfoValue, and DSIGKeyInfoX509. |
|
|
|
|