Main Page | Modules | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

DSIGKeyInfoMgmtData Class Reference
[Main Signature API]

#include <DSIGKeyInfoMgmtData.hpp>

Inheritance diagram for DSIGKeyInfoMgmtData:

Inheritance graph
[legend]
Collaboration diagram for DSIGKeyInfoMgmtData:

Collaboration graph
[legend]
List of all members.

Detailed Description

The class for <MgmtData> nodes in a KeyInfo list.

Class for holding in band key information.

Note:
Use of this class is NOT RECOMMEDED within the DSIG standard.


Public Member Functions

Constructors and Destructors
 DSIGKeyInfoMgmtData (DSIGSignature *sig, DOMNode *nameNode)
 Constructor used when XML exists.

 DSIGKeyInfoMgmtData (DSIGSignature *sig)
 Constructor used when XML needs to be created.

virtual ~DSIGKeyInfoMgmtData ()
 Destructor.

Load and Get functions
virtual void load (void)
 Load an existing XML structure into this object.

virtual const XMLCh * getKeyName (void)
 Get key name - unimplemented for MgmtData.

virtual const XMLCh * getData (void)
 Get the MgmtData string.

Create and set functions
DOMElement * createBlankMgmtData (const XMLCh *data)
 Create a new MgmtData element in the current document.

void setData (const XMLCh *data)
 Set the value of the MgmtData to a new string.

Information Functions
virtual keyInfoType getKeyInfoType (void)
 Return type of this KeyInfo element.


Constructor & Destructor Documentation

DSIGKeyInfoMgmtData::DSIGKeyInfoMgmtData DSIGSignature sig,
DOMNode *  nameNode
 

Constructor used when XML exists.

This constructor is used by DSIGSignature objects to load an existing DOM structure into the Name element.

Parameters:
sig Calling signature object.
nameNode DOMNode to load information from

DSIGKeyInfoMgmtData::DSIGKeyInfoMgmtData DSIGSignature sig  ) 
 

Constructor used when XML needs to be created.

This constructor is used by DSIGSignature objects to create a DSIGKeyInfoName object that can then be used to create the required XML.

Parameters:
sig Calling signature object.

virtual DSIGKeyInfoMgmtData::~DSIGKeyInfoMgmtData  )  [virtual]
 

Destructor.


Member Function Documentation

DOMElement* DSIGKeyInfoMgmtData::createBlankMgmtData const XMLCh *  data  ) 
 

Create a new MgmtData element in the current document.

Creates a new MgmtData element and sets the data with the string passed in.

Parameters:
data Value to set the MgmtData to
Returns:
The newly created DOMElement with the structure underneath.

virtual const XMLCh* DSIGKeyInfoMgmtData::getData void   )  [inline, virtual]
 

Get the MgmtData string.

Returns a pointer to the buffer containing the data string.

Returns:
A pointer to the XMLCh buffer containing the data

virtual keyInfoType DSIGKeyInfoMgmtData::getKeyInfoType void   )  [inline, virtual]
 

Return type of this KeyInfo element.

Implements DSIGKeyInfo.

virtual const XMLCh* DSIGKeyInfoMgmtData::getKeyName void   )  [inline, virtual]
 

Get key name - unimplemented for MgmtData.

Implements DSIGKeyInfo.

virtual void DSIGKeyInfoMgmtData::load void   )  [virtual]
 

Load an existing XML structure into this object.

Implements DSIGKeyInfo.

void DSIGKeyInfoMgmtData::setData const XMLCh *  data  ) 
 

Set the value of the MgmtData to a new string.

Uses the passed in string to set a new value in the DOM structure.

Parameters:
data Value to set in MgmtData


The documentation for this class was generated from the following file:
Generated on Sun Aug 10 06:24:42 2003 for XML-Security-C by doxygen 1.3.2