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 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617
|
<!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: DSIGSignedInfo 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 Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
<h1>DSIGSignedInfo Class Reference<br>
<small>
[<a class="el" href="group__pubsig.html">Main Signature API</a>]</small>
</h1><code>#include <<a class="el" href="DSIGSignedInfo_8hpp-source.html">DSIGSignedInfo.hpp</a>></code>
<p>
Collaboration diagram for DSIGSignedInfo:<p><center><img src="classDSIGSignedInfo__coll__graph.png" border="0" usemap="#DSIGSignedInfo__coll__map" alt="Collaboration graph"></center>
<map name="DSIGSignedInfo__coll__map">
<area href="classXSECSafeBufferFormatter.html" shape="rect" coords="193,190,374,214" alt="">
<area href="classXSECEnv.html" shape="rect" coords="167,281,250,305" alt="">
<area href="classsafeBuffer.html" shape="rect" coords="213,9,295,33" alt="">
<area href="classsbFormatTarget.html" shape="rect" coords="303,99,421,123" alt="">
<area href="classXSECURIResolver.html" shape="rect" coords="7,190,143,214" alt="">
<area href="classDSIGReferenceList.html" shape="rect" coords="413,281,549,305" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classDSIGSignedInfo-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Constructs and holds a SignedInfo.
<p>
The <SignedInfo> node is the container for all the information that is signed. It contains the ReferenceList and information on the signature and canonicalisation method for the signature.<p>
Generally this class should not be manipulated directly.
<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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGSignedInfo.html#z51_0">DSIGSignedInfo</a> (XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *doc, <a class="el" href="classXSECSafeBufferFormatter.html">XSECSafeBufferFormatter</a> *pFormatter, XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *signedInfoNode, const <a class="el" href="classXSECEnv.html">XSECEnv</a> *env)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor for existing nodes. <a href="#z51_0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGSignedInfo.html#z51_1">DSIGSignedInfo</a> (XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *doc, <a class="el" href="classXSECSafeBufferFormatter.html">XSECSafeBufferFormatter</a> *pFormatter, const <a class="el" href="classXSECEnv.html">XSECEnv</a> *env)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor for building from scratch. <a href="#z51_1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGSignedInfo.html#z51_2">~DSIGSignedInfo</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#z51_2"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Create and Set</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGSignedInfo.html#z52_0">load</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Load from DOM. <a href="#z52_0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGSignedInfo.html#z52_1">verify</a> (<a class="el" href="classsafeBuffer.html">safeBuffer</a> &errStr)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Verify the SignedInfo. <a href="#z52_1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGSignedInfo.html#z52_2">hash</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Hash the reference list. <a href="#z52_2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">XERCES_CPP_NAMESPACE_QUALIFIER <br>
DOMElement * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGSignedInfo.html#z52_3">createBlankSignedInfo</a> (<a class="el" href="DSIGConstants_8hpp.html#a102">canonicalizationMethod</a> cm, <a class="el" href="DSIGConstants_8hpp.html#a103">signatureMethod</a> sm, <a class="el" href="DSIGConstants_8hpp.html#a104">hashMethod</a> hm)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an empty SignedInfo. <a href="#z52_3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDSIGReference.html">DSIGReference</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGSignedInfo.html#z52_4">createReference</a> (const XMLCh *URI, <a class="el" href="DSIGConstants_8hpp.html#a104">hashMethod</a> hm, char *type)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a reference to add to the SignedInfo. <a href="#z52_4"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Getter functions</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">XERCES_CPP_NAMESPACE_QUALIFIER <br>
DOMNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGSignedInfo.html#z53_0">getDOMNode</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the node pointing to the top of the DOM fragment. <a href="#z53_0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="DSIGConstants_8hpp.html#a102">canonicalizationMethod</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGSignedInfo.html#z53_1">getCanonicalizationMethod</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the canonicalisation method. <a href="#z53_1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="DSIGConstants_8hpp.html#a104">hashMethod</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGSignedInfo.html#z53_2">getHashMethod</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the hash method. <a href="#z53_2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="DSIGConstants_8hpp.html#a103">signatureMethod</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGSignedInfo.html#z53_3">getSignatureMethod</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the signature method. <a href="#z53_3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGSignedInfo.html#z53_4">getHMACOutputLength</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get HMAC length. <a href="#z53_4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDSIGReferenceList.html">DSIGReferenceList</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGSignedInfo.html#z53_5">getReferenceList</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the list of references. <a href="#z53_5"></a><br></td></tr>
</table>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="z51_0" doxytag="DSIGSignedInfo::DSIGSignedInfo"></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">DSIGSignedInfo::DSIGSignedInfo </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument * </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><a class="el" href="classXSECSafeBufferFormatter.html">XSECSafeBufferFormatter</a> * </td>
<td class="mdname" nowrap> <em>pFormatter</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * </td>
<td class="mdname" nowrap> <em>signedInfoNode</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>const <a class="el" href="classXSECEnv.html">XSECEnv</a> * </td>
<td class="mdname" nowrap> <em>env</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Constructor for existing nodes.
<p>
Called by the library to construct a SignedInfo in cases where the DOM Nodes exist and need to be loaded<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> </td><td>The document containing the structure to be loaded </td></tr>
<tr><td valign="top"></td><td valign="top"><em>pFormatter</em> </td><td>A <a class="el" href="classsafeBuffer.html">safeBuffer</a> formatter that will translate to UTF-8 </td></tr>
<tr><td valign="top"></td><td valign="top"><em>signedInfoNode</em> </td><td>The node at the top of the SignedInfo tree fragment </td></tr>
<tr><td valign="top"></td><td valign="top"><em>env</em> </td><td>Operating environment </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="z51_1" doxytag="DSIGSignedInfo::DSIGSignedInfo"></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">DSIGSignedInfo::DSIGSignedInfo </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument * </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><a class="el" href="classXSECSafeBufferFormatter.html">XSECSafeBufferFormatter</a> * </td>
<td class="mdname" nowrap> <em>pFormatter</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>const <a class="el" href="classXSECEnv.html">XSECEnv</a> * </td>
<td class="mdname" nowrap> <em>env</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Constructor for building from scratch.
<p>
Will set up the class in preparation for building the 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>doc</em> </td><td>The document to use to construct </td></tr>
<tr><td valign="top"></td><td valign="top"><em>pFormatter</em> </td><td>Formatter to use to translate to UTF-8 </td></tr>
<tr><td valign="top"></td><td valign="top"><em>env</em> </td><td>Operating environment </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="z51_2" doxytag="DSIGSignedInfo::~DSIGSignedInfo"></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">DSIGSignedInfo::~DSIGSignedInfo </td>
<td class="md" valign="top">( </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Destructor.
<p>
Delete - but does not destroy the DOM Nodes </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="z52_3" doxytag="DSIGSignedInfo::createBlankSignedInfo"></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">XERCES_CPP_NAMESPACE_QUALIFIER DOMElement* DSIGSignedInfo::createBlankSignedInfo </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top"><a class="el" href="DSIGConstants_8hpp.html#a102">canonicalizationMethod</a> </td>
<td class="mdname" nowrap> <em>cm</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap><a class="el" href="DSIGConstants_8hpp.html#a103">signatureMethod</a> </td>
<td class="mdname" nowrap> <em>sm</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap><a class="el" href="DSIGConstants_8hpp.html#a104">hashMethod</a> </td>
<td class="mdname" nowrap> <em>hm</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Create an empty SignedInfo.
<p>
Creates the DOM structure for a SignedInfo<p>
Builds the DOM structures and sets the control structures of the SignedInfo<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>cm</em> </td><td>The canonicalisation method to set the SignedInfo as </td></tr>
<tr><td valign="top"></td><td valign="top"><em>sm</em> </td><td>Signature Method to use </td></tr>
<tr><td valign="top"></td><td valign="top"><em>hm</em> </td><td>Hash method to use (for the SignedInfo, not the references) </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="z52_4" doxytag="DSIGSignedInfo::createReference"></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="classDSIGReference.html">DSIGReference</a>* DSIGSignedInfo::createReference </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const XMLCh * </td>
<td class="mdname" nowrap> <em>URI</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap><a class="el" href="DSIGConstants_8hpp.html#a104">hashMethod</a> </td>
<td class="mdname" nowrap> <em>hm</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>char * </td>
<td class="mdname" nowrap> <em>type</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Create a reference to add to the SignedInfo.
<p>
Called by <a class="el" href="classDSIGSignature.html">DSIGSignature</a> to create and enter a new reference element<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>URI</em> </td><td>What the reference references </td></tr>
<tr><td valign="top"></td><td valign="top"><em>hm</em> </td><td>Digest method to use for the reference </td></tr>
<tr><td valign="top"></td><td valign="top"><em>type</em> </td><td>Reference type </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="z53_1" doxytag="DSIGSignedInfo::getCanonicalizationMethod"></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="DSIGConstants_8hpp.html#a102">canonicalizationMethod</a> DSIGSignedInfo::getCanonicalizationMethod </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">void </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Get the canonicalisation method.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>Canonicalisation method </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z53_0" doxytag="DSIGSignedInfo::getDOMNode"></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">XERCES_CPP_NAMESPACE_QUALIFIER DOMNode* DSIGSignedInfo::getDOMNode </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">void </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Get the node pointing to the top of the DOM fragment.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>the SignedInfo node </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z53_2" doxytag="DSIGSignedInfo::getHashMethod"></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="DSIGConstants_8hpp.html#a104">hashMethod</a> DSIGSignedInfo::getHashMethod </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">void </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Get the hash method.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>the Hash (digest) Method </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z53_4" doxytag="DSIGSignedInfo::getHMACOutputLength"></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">int DSIGSignedInfo::getHMACOutputLength </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">void </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Get HMAC length.
<p>
HMAC signatures can be truncated to a nominated length. This returns the length used. </td>
</tr>
</table>
<a class="anchor" name="z53_5" doxytag="DSIGSignedInfo::getReferenceList"></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="classDSIGReferenceList.html">DSIGReferenceList</a>* DSIGSignedInfo::getReferenceList </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">void </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Return the list of references.
<p>
Returns a pointer to the object holding the references contained in the SignedInfo </td>
</tr>
</table>
<a class="anchor" name="z53_3" doxytag="DSIGSignedInfo::getSignatureMethod"></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="DSIGConstants_8hpp.html#a103">signatureMethod</a> DSIGSignedInfo::getSignatureMethod </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">void </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Get the signature method.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>the Signature method </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z52_2" doxytag="DSIGSignedInfo::hash"></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 DSIGSignedInfo::hash </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">void </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Hash the reference list.
<p>
Goes through each reference in the SignedInfo (including referenced manifests), performs the digest operation and adds the digest to the reference element </td>
</tr>
</table>
<a class="anchor" name="z52_0" doxytag="DSIGSignedInfo::load"></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 DSIGSignedInfo::load </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">void </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Load from DOM.
<p>
Load the SignedInfo from the DOM Document<p>
Does not do any verification of signatures or references - simply loads the values </td>
</tr>
</table>
<a class="anchor" name="z52_1" doxytag="DSIGSignedInfo::verify"></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">bool DSIGSignedInfo::verify </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top"><a class="el" href="classsafeBuffer.html">safeBuffer</a> & </td>
<td class="mdname1" valign="top" nowrap> <em>errStr</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Verify the SignedInfo.
<p>
Validates each reference contained in the SignedInfo. Does not validate the signature itself - this is done by <a class="el" href="classDSIGSignature.html">DSIGSignature</a><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>errStr</em> </td><td>The <a class="el" href="classsafeBuffer.html">safeBuffer</a> that error messages should be written to. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DSIGSignedInfo_8hpp-source.html">DSIGSignedInfo.hpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sun Jul 3 17:41:21 2005 for XML-Security-C by
<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>
|