#include <DSIGObject.hpp>
Collaboration diagram for DSIGObject:
The DSIG spec allows for enveloping signatures, in which the signature holds the information it is signing. For these types of signatures, the data being signed can be held in an <Object> container.
This class allows callers to and manipulate Object containers.
Public Member Functions | |
Constructors and Destructors | |
DSIGObject (const XSECEnv *env, XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *dom) | |
Construct from an owning signature. | |
DSIGObject (const XSECEnv *env) | |
Construct a new object. | |
~DSIGObject () | |
Destructor. | |
Library functions | |
void | load (void) |
Load the object from DOM. | |
XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * | createBlankObject (void) |
Create a new Object. | |
Get functions | |
const XMLCh * | getId (void) |
Get the Id for this object. | |
const XMLCh * | getMimeType (void) |
Returns the MimeType string of this object. | |
const XMLCh * | getEncoding (void) |
Returns the Encoding string of this object. | |
const XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * | getElement (void) |
Returns the Element node for this object. | |
Setter functions | |
void | setId (const XMLCh *id) |
Set the Id attribute for this Object. | |
void | setMimeType (const XMLCh *type) |
Set the Id attribute for this Object. | |
void | setEncoding (const XMLCh *encoding) |
Set the Encoding attribute for this Object. | |
void | appendChild (XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *child) |
Add a child node to the Object. |
|
Construct from an owning signature. Called by the library when an Object needs to be created from an Object in a DOM tree.
|
|
Construct a new object. Called by the library to create an Object from scratch
|
|
Destructor.
|
|
Add a child node to the Object. This is a "ease of use" function to allow users to add a DOM structure that has been built previously into the Object element |
|
Create a new Object. Create a new Object from scratch (will generate the DOM) |
|
Returns the Element node for this object.
|
|
Returns the Encoding string of this object.
|
|
Get the Id for this object.
|
|
Returns the MimeType string of this object.
|
|
Load the object from DOM. Called by the library to load a constructed object |
|
Set the Encoding attribute for this Object.
|
|
Set the Id attribute for this Object.
|
|
Set the Id attribute for this Object.
|