#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 } |
List of potential KeyInfo types. More... | |
Public Methods | |
Constructors and Destructors | |
DSIGKeyInfo (DSIGSignature *sig) | |
Construct from an owning signature. | |
virtual | ~DSIGKeyInfo () |
The Destructor. | |
Get functions | |
virtual keyInfoType | getKeyInfoType (void)=0 |
Return type. | |
virtual const 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 | |
DOMNode * | mp_keyInfoDOMNode |
DSIGSignature * | mp_parentSignature |
|
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 names the owning signature.
|
|
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 DSIGKeyInfoName, 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 DSIGKeyInfoName, DSIGKeyInfoValue, and DSIGKeyInfoX509. |
|
Load the DOM structures. Used by the library to instruct the object to load information from the DOM nodes Implemented in DSIGKeyInfoName, DSIGKeyInfoValue, and DSIGKeyInfoX509. |
|
|
|
|