#include <DSIGTransformC14n.hpp>
Inheritance diagram for DSIGTransformC14n:
Public Methods | |
Constructors and Destructors | |
DSIGTransformC14n (DSIGSignature *sig, DOMNode *node) | |
Contructor used for existing XML signatures. More... | |
DSIGTransformC14n (DSIGSignature *sig) | |
Contructor used for new signatures. More... | |
virtual | ~DSIGTransformC14n () |
Destructor. More... | |
Interface Methods | |
virtual transformType | getTransformType () |
Determine the transform type. More... | |
virtual TXFMBase * | createTransformer (TXFMBase *input) |
Create the Canonicalising transformer element. More... | |
virtual DOMElement * | createBlankTransform (DOMDocument *parentDoc) |
Construct blank Canonicalisation Transform element. More... | |
virtual void | load (void) |
Load a DOM structure. More... | |
C14n Specific Methods | |
void | setCanonicalizationMethod (canonicalizationMethod method) |
Change canonicalisation method. More... | |
canonicalizationMethod | getCanonicalizationMethod (void) |
Get canonicalisation type. More... | |
void | addInclusiveNamespace (const char *ns) |
Add a namespace prefix to the InclusiveNamespaces list. More... | |
const XMLCh * | getPrefixList (void) |
Get the string containing the inclusive namespaces. More... | |
void | clearInclusiveNamespaces (void) |
Delete all inclusive namespaces. More... |
The DSIGTransformC14n class is used to hold C14n <Transform> elements within a document. This includes Exclusive and Comment options
|
Contructor used for existing XML signatures.
The Node structure already exists, so read the nodes in.
|
|
Contructor used for new signatures.
The Node structure will have to be created.
|
|
Destructor.
Destroy the DSIGSignature elements. Does not destroy any associated DOM Nodes |
|
Add a namespace prefix to the InclusiveNamespaces list.
Exclusive canonicalisation includes the ability to define a PrefixList of namespace prefixes that will not be treated exclusively, rather they will be handled as per normal C14n. This function allows a caller to add a prefix to this list
|
|
Delete all inclusive namespaces.
Deletes the structures (including the DOM nodes) that hold the inclusive namespaces list. |
|
Construct blank Canonicalisation Transform element.
Instruct the implementation to create the required transform and return the newly constructed DOMNode structure
Implements DSIGTransform. |
|
Create the Canonicalising transformer element.
Implemented by each Transform class and used by the DSIGSignature when consructing a TXFM List that includes canonicalisation (nearly always) Implements DSIGTransform. |
|
Get canonicalisation type.
Return the type of canonicalisation to the caller.
|
|
Get the string containing the inclusive namespaces.
Get the string containing a list of (space separated) prefixes that will be handled non-exclusively in an exclusive C14n transform.
|
|
Determine the transform type.
Used to determine what the type of the transform is. Implements DSIGTransform. |
|
Load a DOM structure.
(Re)read the DOM structure into the Signature structures Implements DSIGTransform. |
|
Change canonicalisation method.
Set the canonicalisation method to the type indicated. If this changes the transform from Exclusive to Standard C14n, any associated InclusiveNamespaces children will be removed. If this is moving from one form of Exclusive to another, any InclusiveNamespace children will remain.
|