File: classXSECProvider.html

package info (click to toggle)
xml-security-c 1.2.1-3
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 24,464 kB
  • ctags: 6,673
  • sloc: cpp: 36,830; xml: 23,415; sh: 2,365; makefile: 340; perl: 221
file content (419 lines) | stat: -rw-r--r-- 23,242 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>XML-Security-C: XSECProvider Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.2 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<h1>XSECProvider Class Reference<br>
<small>
[<a class="el" href="group__pubsig.html">Main Signature API</a>]</small>
</h1><code>#include &lt;<a class="el" href="XSECProvider_8hpp-source.html">XSECProvider.hpp</a>&gt;</code>
<p>
Collaboration diagram for XSECProvider:<p><center><img src="classXSECProvider__coll__graph.png" border="0" usemap="#XSECProvider__coll__map" alt="Collaboration graph"></center>
<map name="XSECProvider__coll__map">
<area href="classXKMSMessageFactory.html" shape="rect" coords="8,9,168,33" alt="">
<area href="classXSECURIResolver.html" shape="rect" coords="208,9,344,33" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXSECProvider-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
The main provider class for XML Digital Signatures and Encryption objects. 
<p>
The XSECProvider class is used to create and destroy signature objects and encryption objects. It provides a number of methods to create signature and encryption objects for a variety of situations - in particular creating an empty signature or cipher with which to create the DOM structure or creating a security object based on an already existing DOM structure. 
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Constructors and Destructors</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXSECProvider.html#z203_0">XSECProvider</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor.  <a href="#z203_0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXSECProvider.html#z203_1">~XSECProvider</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader">Signature Creation Classes</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDSIGSignature.html">DSIGSignature</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXSECProvider.html#z204_0">newSignatureFromDOM</a> (XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *doc, XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *sigNode)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classDSIGSignature.html">DSIGSignature</a> creator for use with existing XML signatures or templates.  <a href="#z204_0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDSIGSignature.html">DSIGSignature</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXSECProvider.html#z204_1">newSignatureFromDOM</a> (XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *doc)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classDSIGSignature.html">DSIGSignature</a> creator for use with existing XML signatures or templates.  <a href="#z204_1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDSIGSignature.html">DSIGSignature</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXSECProvider.html#z204_2">newSignature</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classDSIGSignature.html">DSIGSignature</a> creator for creating new XML signatures.  <a href="#z204_2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXSECProvider.html#z204_3">releaseSignature</a> (<a class="el" href="classDSIGSignature.html">DSIGSignature</a> *toRelease)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Method for destroying <a class="el" href="classDSIGSignature.html">DSIGSignature</a> objects created via this provider.  <a href="#z204_3"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Encryption Creation Functions</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classXENCCipher.html">XENCCipher</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXSECProvider.html#z205_0">newCipher</a> (XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *doc)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create an <a class="el" href="classXENCCipher.html">XENCCipher</a> object based on a particular DOM Document.  <a href="#z205_0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXSECProvider.html#z205_1">releaseCipher</a> (<a class="el" href="classXENCCipher.html">XENCCipher</a> *toRelease)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Method to delete <a class="el" href="classXENCCipher.html">XENCCipher</a> objects created via this provider.  <a href="#z205_1"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">XKMS Functions</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classXKMSMessageFactory.html">XKMSMessageFactory</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXSECProvider.html#z206_0">getXKMSMessageFactory</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Obtain a pointer to the <a class="el" href="classXKMSMessageFactory.html">XKMSMessageFactory</a>.  <a href="#z206_0"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Environmental Options</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXSECProvider.html#z207_0">setDefaultURIResolver</a> (<a class="el" href="classXSECURIResolver.html">XSECURIResolver</a> *resolver)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the default URIResolver.  <a href="#z207_0"></a><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="z203_0" doxytag="XSECProvider::XSECProvider"></a><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">XSECProvider::XSECProvider           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Default constructor. 
<p>
The provider class requires no parameters for construction     </td>
  </tr>
</table>
<a class="anchor" name="z203_1" doxytag="XSECProvider::~XSECProvider"></a><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">XSECProvider::~XSECProvider           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="z206_0" doxytag="XSECProvider::getXKMSMessageFactory"></a><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classXKMSMessageFactory.html">XKMSMessageFactory</a>* XSECProvider::getXKMSMessageFactory           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Obtain a pointer to the <a class="el" href="classXKMSMessageFactory.html">XKMSMessageFactory</a>. 
<p>
The <a class="el" href="classXKMSMessageFactory.html">XKMSMessageFactory</a> is used to create and manipulate XKMS messages.<p>
<dl compact><dt><b>Note:</b></dt><dd>Unlike other objects created by the provider, only one <a class="el" href="classXKMSMessageFactory.html">XKMSMessageFactory</a> is ever instantiated for a particular provider. Applications should <b>never</b> delete the Factory, as it is taken care of by the provider. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z205_0" doxytag="XSECProvider::newCipher"></a><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classXENCCipher.html">XENCCipher</a>* XSECProvider::newCipher           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>doc</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Create an <a class="el" href="classXENCCipher.html">XENCCipher</a> object based on a particular DOM Document. 
<p>
<a class="el" href="classXENCCipher.html">XENCCipher</a> is an engine class that is used to wrap encryption/decryption functions. Unlike the Signature functions, only a <a class="el" href="classXENCCipher.html">XENCCipher</a> object attached to a particular document is required. Arbitrary objects within this document can then be encrypted/decrypted using this class.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>doc</em>&nbsp;</td><td>Document to attach the <a class="el" href="classXENCCipher.html">XENCCipher</a> to. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>An implementation object for <a class="el" href="classXENCCipher.html">XENCCipher</a> </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z204_2" doxytag="XSECProvider::newSignature"></a><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDSIGSignature.html">DSIGSignature</a>* XSECProvider::newSignature           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<a class="el" href="classDSIGSignature.html">DSIGSignature</a> creator for creating new XML signatures. 
<p>
Create an empty <a class="el" href="classDSIGSignature.html">DSIGSignature</a> object that can be used to create new signature values. The returned signature object needs to be initialised with a document so a blank signature DOM structure can be created<p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classDSIGSignature.html#z45_5">DSIGSignature::createBlankSignature</a> </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z204_1" doxytag="XSECProvider::newSignatureFromDOM"></a><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDSIGSignature.html">DSIGSignature</a>* XSECProvider::newSignatureFromDOM           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>doc</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<a class="el" href="classDSIGSignature.html">DSIGSignature</a> creator for use with existing XML signatures or templates. 
<p>
Create a <a class="el" href="classDSIGSignature.html">DSIGSignature</a> object based on an already existing DSIG Signature XML node. It is assumed that the underlying DOM structure is in place and works correctly.<p>
In this case, the XML-Security libraries will find the signature node.<p>
<dl compact><dt><b>Note:</b></dt><dd>The library will <em>only</em> find and use the first signature node in the document. If there are more, they will not be validated </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>doc</em>&nbsp;</td><td>The DOM document node in which the signature is embedded. </td></tr>
  </table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classDSIGSignature.html#z43_0">DSIGSignature::load</a> </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z204_0" doxytag="XSECProvider::newSignatureFromDOM"></a><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDSIGSignature.html">DSIGSignature</a>* XSECProvider::newSignatureFromDOM           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *&nbsp;</td>
          <td class="mdname" nowrap> <em>doc</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *&nbsp;</td>
          <td class="mdname" nowrap> <em>sigNode</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<a class="el" href="classDSIGSignature.html">DSIGSignature</a> creator for use with existing XML signatures or templates. 
<p>
Create a <a class="el" href="classDSIGSignature.html">DSIGSignature</a> object based on an already existing DSIG Signature XML node. It is assumed that the underlying DOM structure is in place and works correctly.<p>
In this case, the caller can pass in the signature DOM Node for cases where there may be more than one signature in a document. The caller needs to specify which signature tree is to be used.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>doc</em>&nbsp;</td><td>The DOM document node in which the signature is embedded. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>sigNode</em>&nbsp;</td><td>The DOM node (within doc) that is to be used as the base of the signature. </td></tr>
  </table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classDSIGSignature.html#z43_0">DSIGSignature::load</a> </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z205_1" doxytag="XSECProvider::releaseCipher"></a><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void XSECProvider::releaseCipher           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classXENCCipher.html">XENCCipher</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>toRelease</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Method to delete <a class="el" href="classXENCCipher.html">XENCCipher</a> objects created via this provider. 
<p>
The provider keeps track of all objects by it. This method can be used to delete any previously created <a class="el" href="classXENCCipher.html">XENCCipher</a> objects prior to the provider being deleted. Any <a class="el" href="classXENCCipher.html">XENCCipher</a> objects not released using this function will automatically be deleted when the provider goes out of scope (or is itself deleted).<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>toRelease</em>&nbsp;</td><td>The <a class="el" href="classXENCCipher.html">XENCCipher</a> object to be deleted </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z204_3" doxytag="XSECProvider::releaseSignature"></a><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void XSECProvider::releaseSignature           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classDSIGSignature.html">DSIGSignature</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>toRelease</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Method for destroying <a class="el" href="classDSIGSignature.html">DSIGSignature</a> objects created via this provider. 
<p>
The provider keeps track of all signature objects created during the lifetime of the provider. This method can be called to delete a signature whilst the provider is still in scope. Otherwise the objects will be automatically deleted when the provider object goes out of scope.<p>
In cases where the <a class="el" href="classDSIGSignature.html">DSIGSignature</a> has been used to create a new DOM structure, it can be safely deleted once the signature operations have been completed without impacting the underlying DOM structure.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>toRelease</em>&nbsp;</td><td>The <a class="el" href="classDSIGSignature.html">DSIGSignature</a> object to be deleted. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000008">Todo:</a></b></dt><dd>The <a class="el" href="classDSIGSignature.html">DSIGSignature</a> objects are fairly bulky in terms of creation and deletion. There should be a capability to store "released" objects in a re-use stack. At the moment the Provider class simply deletes the objects. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classDSIGSignature.html#z45_5">DSIGSignature::createBlankSignature</a> </dd></dl>
</dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z207_0" doxytag="XSECProvider::setDefaultURIResolver"></a><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">void XSECProvider::setDefaultURIResolver           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classXSECURIResolver.html">XSECURIResolver</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>resolver</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the default URIResolver. 
<p>
<a class="el" href="classDSIGSignature.html">DSIGSignature</a> objects require a URIResolver to allow them to de-reference URIs in reference elements.<p>
This function sets the resolver that will be used for all signatures created after this is set. The resolver is cloned, so the object passed in can be safely deleted once the function has been completed.     </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XSECProvider_8hpp-source.html">XSECProvider.hpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sun Jul 3 17:45:51 2005 for XML-Security-C by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address>
</body>
</html>