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 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925
|
<!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: DSIGKeyInfoX509 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>DSIGKeyInfoX509 Class Reference<br>
<small>
[<a class="el" href="group__pubsig.html">Main Signature API</a>]</small>
</h1><code>#include <<a class="el" href="DSIGKeyInfoX509_8hpp-source.html">DSIGKeyInfoX509.hpp</a>></code>
<p>
Inheritance diagram for DSIGKeyInfoX509:<p><center><img src="classDSIGKeyInfoX509__inherit__graph.png" border="0" usemap="#DSIGKeyInfoX509__inherit__map" alt="Inheritance graph"></center>
<map name="DSIGKeyInfoX509__inherit__map">
<area href="classDSIGKeyInfo.html" shape="rect" coords="24,9,122,33" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for DSIGKeyInfoX509:<p><center><img src="classDSIGKeyInfoX509__coll__graph.png" border="0" usemap="#DSIGKeyInfoX509__coll__map" alt="Collaboration graph"></center>
<map name="DSIGKeyInfoX509__coll__map">
<area href="classDSIGKeyInfo.html" shape="rect" coords="176,372,274,396" alt="">
<area href="classXSECEnv.html" shape="rect" coords="184,281,266,305" alt="">
<area href="classXSECSafeBufferFormatter.html" shape="rect" coords="8,190,189,214" alt="">
<area href="classsafeBuffer.html" shape="rect" coords="85,9,168,33" alt="">
<area href="classsbFormatTarget.html" shape="rect" coords="176,100,293,124" alt="">
<area href="classXSECURIResolver.html" shape="rect" coords="213,190,349,214" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classDSIGKeyInfoX509-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
The class for <X509Data> nodes in a KeyInfo list.
<p>
Class for holding information on a X509Data node as well as setting such a node in a signature.
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::vector< <a class="el" href="structDSIGKeyInfoX509_1_1X509Holder.html">X509Holder</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#w0">X509ListType</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#w1">size_type</a></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="classDSIGKeyInfoX509.html#z28_0">DSIGKeyInfoX509</a> (const <a class="el" href="classXSECEnv.html">XSECEnv</a> *env, XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *X509Data)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor used when XML structures exist. <a href="#z28_0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z28_1">DSIGKeyInfoX509</a> (const <a class="el" href="classXSECEnv.html">XSECEnv</a> *env)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor called when building XML structures. <a href="#z28_1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z28_2">~DSIGKeyInfoX509</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#z28_2"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Load function and get methods</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z29_0">load</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Function called to load an XML structure. <a href="#z29_0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z29_1">getX509SubjectName</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the name of the certificate. <a href="#z29_1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z29_2">getKeyName</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the name of the certificate (interface function). <a href="#z29_2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z29_3">getX509IssuerName</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the IssuerSerialName. <a href="#z29_3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z29_4">getX509IssuerSerialNumber</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the IsserSerialNumber. <a href="#z29_4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z29_5">getX509CRL</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get any associated CRL. <a href="#z29_5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z29_6">getX509SKI</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the SKI value (if set). <a href="#z29_6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z29_7">getRawRetrievalURI</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the raw Retrieval method to find this certificate. <a href="#z29_7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z29_8">getCertificateListSize</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find the number of certificates held. <a href="#z29_8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z29_9">getCertificateItem</a> (int item)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the DER encoded certificate pointed to in the list. <a href="#z29_9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classXSECCryptoX509.html">XSECCryptoX509</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z29_10">getCertificateCryptoItem</a> (int item)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the Crypto Interface X509 structure version of the certificate. <a href="#z29_10"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classDSIGKeyInfo.html#w9">keyInfoType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z29_11">getKeyInfoType</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Interface function to find the type of this KeyInfo. <a href="#z29_11"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Create and Set functions</div></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="classDSIGKeyInfoX509.html#z30_0">createBlankX509Data</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new X509 data element. <a href="#z30_0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z30_1">setX509SubjectName</a> (const XMLCh *name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the X509SubjectName element in the KeyInfo element. <a href="#z30_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="classDSIGKeyInfoX509.html#z30_2">setX509IssuerSerial</a> (const XMLCh *name, const XMLCh *serial)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the IssuerSerial element. <a href="#z30_2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z30_3">setX509CRL</a> (const XMLCh *crl)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the CRL element. <a href="#z30_3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z30_4">setX509SKI</a> (const XMLCh *ski)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the SKI element. <a href="#z30_4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z30_5">setRawRetrievalURI</a> (const XMLCh *uri)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">set the retrieval URI <a href="#z30_5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDSIGKeyInfoX509.html#z30_6">appendX509Certificate</a> (const XMLCh *base64Certificate)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a certificate. <a href="#z30_6"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structDSIGKeyInfoX509_1_1X509Holder.html">X509Holder</a></td></tr>
</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="w1" doxytag="DSIGKeyInfoX509::size_type"></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">typedef size_t <a class="el" href="classDSIGKeyInfoX509.html#w1">DSIGKeyInfoX509::size_type</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="w0" doxytag="DSIGKeyInfoX509::X509ListType"></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">typedef std::vector<<a class="el" href="structDSIGKeyInfoX509_1_1X509Holder.html">X509Holder</a> *> <a class="el" href="classDSIGKeyInfoX509.html#w0">DSIGKeyInfoX509::X509ListType</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="z28_0" doxytag="DSIGKeyInfoX509::DSIGKeyInfoX509"></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">DSIGKeyInfoX509::DSIGKeyInfoX509 </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const <a class="el" href="classXSECEnv.html">XSECEnv</a> * </td>
<td class="mdname" nowrap> <em>env</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>X509Data</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 used when XML structures exist.
<p>
Constructor called by interface class when loading an X509Data element from DOM nodes.<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>env</em> </td><td>Operating environment </td></tr>
<tr><td valign="top"></td><td valign="top"><em>X509Data</em> </td><td>DOMNode at start of data </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="z28_1" doxytag="DSIGKeyInfoX509::DSIGKeyInfoX509"></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">DSIGKeyInfoX509::DSIGKeyInfoX509 </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const <a class="el" href="classXSECEnv.html">XSECEnv</a> * </td>
<td class="mdname1" valign="top" nowrap> <em>env</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>
Constructor called when building XML structures.
<p>
Constructor called by interface class when an XML structure is being built by a user calling the API<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>env</em> </td><td>Operating environment </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="z28_2" doxytag="DSIGKeyInfoX509::~DSIGKeyInfoX509"></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">virtual DSIGKeyInfoX509::~DSIGKeyInfoX509 </td>
<td class="md" valign="top">( </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Destructor.
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="z30_6" doxytag="DSIGKeyInfoX509::appendX509Certificate"></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 DSIGKeyInfoX509::appendX509Certificate </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const XMLCh * </td>
<td class="mdname1" valign="top" nowrap> <em>base64Certificate</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>
Add a certificate.
<p>
Append an X509Certificate element to the list of certificates stored at the end of this KeyInfo 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>base64Certificate</em> </td><td>A pointer to the base64 encoded certificate, exactly as it will appear in the XML structure. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="z30_0" doxytag="DSIGKeyInfoX509::createBlankX509Data"></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* DSIGKeyInfoX509::createBlankX509Data </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>
Create a new X509 data element.
<p>
Create a blank (empty) X509Data element that can then be used by the application to add X509Data elements.<p>
<dl compact><dt><b>Returns:</b></dt><dd>A pointer to the new X509Data element. </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z29_10" doxytag="DSIGKeyInfoX509::getCertificateCryptoItem"></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="classXSECCryptoX509.html">XSECCryptoX509</a>* DSIGKeyInfoX509::getCertificateCryptoItem </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">int </td>
<td class="mdname1" valign="top" nowrap> <em>item</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>
Get the Crypto Interface X509 structure version of the certificate.
<p>
Use the index to find the required certificate and return a pointer to the <a class="el" href="classXSECCryptoX509.html">XSECCryptoX509</a> cert<p>
<dl compact><dt><b>Returns:</b></dt><dd>A pointer to the <a class="el" href="classXSECCryptoX509.html">XSECCryptoX509</a> cert structure </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z29_9" doxytag="DSIGKeyInfoX509::getCertificateItem"></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">const XMLCh* DSIGKeyInfoX509::getCertificateItem </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">int </td>
<td class="mdname1" valign="top" nowrap> <em>item</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>
Get the DER encoded certificate pointed to in the list.
<p>
Use the index to find the required certificate and return a pointer to the buffer containing the encoded certificate.<p>
<dl compact><dt><b>Returns:</b></dt><dd>A pointer to the buffer containing the certificate or 0 if no certificate exists at that point in the list. </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z29_8" doxytag="DSIGKeyInfoX509::getCertificateListSize"></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 DSIGKeyInfoX509::getCertificateListSize </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>
Find the number of certificates held.
<p>
Find the number of certificates held in the X509Data structures.<p>
<dl compact><dt><b>Returns:</b></dt><dd>The number of certificates </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z29_11" doxytag="DSIGKeyInfoX509::getKeyInfoType"></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">virtual <a class="el" href="classDSIGKeyInfo.html#w9">keyInfoType</a> DSIGKeyInfoX509::getKeyInfoType </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, virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Interface function to find the type of this KeyInfo.
<p>
<p>
Implements <a class="el" href="classDSIGKeyInfo.html#z1_0">DSIGKeyInfo</a>. </td>
</tr>
</table>
<a class="anchor" name="z29_2" doxytag="DSIGKeyInfoX509::getKeyName"></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">const XMLCh* DSIGKeyInfoX509::getKeyName </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> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Get the name of the certificate (interface function).
<p>
Get the name stored in the X509SubjectName element (if it exists).<p>
<dl compact><dt><b>Returns:</b></dt><dd>A pointer to the buffer containing the name (or NULL if not set). The decoded string is returned. </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd>setX509SubjectName(void) </dd></dl>
<p>
Implements <a class="el" href="classDSIGKeyInfo.html#z1_2">DSIGKeyInfo</a>. </td>
</tr>
</table>
<a class="anchor" name="z29_7" doxytag="DSIGKeyInfoX509::getRawRetrievalURI"></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">const XMLCh* DSIGKeyInfoX509::getRawRetrievalURI </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>
Return the raw Retrieval method to find this certificate.
<p>
In some cases, the KeyInfo RetrievalMethod references a raw certificate In such cases, the library simply creates a KeyInfoX509 object and sets this string to allow others to find the certificate </td>
</tr>
</table>
<a class="anchor" name="z29_5" doxytag="DSIGKeyInfoX509::getX509CRL"></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">const XMLCh* DSIGKeyInfoX509::getX509CRL </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 any associated CRL.
<p>
Return the string containing the base64 encoded CRL that was held in the X509CRL node<p>
<dl compact><dt><b>Returns:</b></dt><dd>A pointer to the string containing the CRL (0 if not set) </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z29_3" doxytag="DSIGKeyInfoX509::getX509IssuerName"></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">const XMLCh* DSIGKeyInfoX509::getX509IssuerName </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 IssuerSerialName.
<p>
Get the name of the Issuer (stored in the X509IssuerSerial element).<p>
<dl compact><dt><b>Returns:</b></dt><dd>A pointer to the buffer containing the issuer name. (0 if not set.) </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z29_4" doxytag="DSIGKeyInfoX509::getX509IssuerSerialNumber"></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">const XMLCh* DSIGKeyInfoX509::getX509IssuerSerialNumber </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 IsserSerialNumber.
<p>
Get the serial number of the certificate of the issuer of the signing certificate.<p>
<dl compact><dt><b>Returns:</b></dt><dd>A pointer to the string containing the IssuerSerialNumber. (0 if not set.) This is the decoded string. </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classDSIGKeyInfoX509.html#z30_2">setX509IssuerSerial</a> </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z29_6" doxytag="DSIGKeyInfoX509::getX509SKI"></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">const XMLCh* DSIGKeyInfoX509::getX509SKI </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 SKI value (if set).
<p>
The SKI (Subject Key Identifier) can be used to reference a required certificate. If this was set in the KeyInfo element, this function will return the value<p>
<dl compact><dt><b>Returns:</b></dt><dd>the base64 encoded (plan - not DER) encoded SKI value </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z29_1" doxytag="DSIGKeyInfoX509::getX509SubjectName"></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">const XMLCh* DSIGKeyInfoX509::getX509SubjectName </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 name of the certificate.
<p>
Get the name stored in the X509SubjectName element (if it exists).<p>
<dl compact><dt><b>Returns:</b></dt><dd>A pointer to a buffer containing the name (NULL if not set.) </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="z29_0" doxytag="DSIGKeyInfoX509::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">virtual void DSIGKeyInfoX509::load </td>
<td class="md" valign="top">( </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Function called to load an XML structure.
<p>
Function called by intercace class to load an X509Data structure from DOMNodes.
<p>
Implements <a class="el" href="classDSIGKeyInfo.html#z2_0">DSIGKeyInfo</a>. </td>
</tr>
</table>
<a class="anchor" name="z30_5" doxytag="DSIGKeyInfoX509::setRawRetrievalURI"></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 DSIGKeyInfoX509::setRawRetrievalURI </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const XMLCh * </td>
<td class="mdname1" valign="top" nowrap> <em>uri</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>
set the retrieval URI
<p>
Generally to be used by internal library processes only. This sets the retrieval URI - but does _not_ manipulate the DOM in any way.<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>The URI string to use </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="z30_3" doxytag="DSIGKeyInfoX509::setX509CRL"></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 DSIGKeyInfoX509::setX509CRL </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const XMLCh * </td>
<td class="mdname1" valign="top" nowrap> <em>crl</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>
Set the CRL element.
<p>
If an X509CRL exists, replace the value with that provided, otherwise create a new element and set the value appropriately.<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>crl</em> </td><td>The base64 encoded string containing the CRL </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="z30_2" doxytag="DSIGKeyInfoX509::setX509IssuerSerial"></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 DSIGKeyInfoX509::setX509IssuerSerial </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const XMLCh * </td>
<td class="mdname" nowrap> <em>name</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>const XMLCh * </td>
<td class="mdname" nowrap> <em>serial</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>
Set the IssuerSerial element.
<p>
If an X509IssuerSerial exists, replace the values with those provided, otherwise create a new element and set the values appropriately.<p>
<dl compact><dt><b>Note:</b></dt><dd>XMLDSIG requires Distinguished Names be encoded in a defined manner (escaping '<' characters etc.). This method will perform this encoding prior to creating the DOM nodes.</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>name</em> </td><td>The name of the issuer. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>serial</em> </td><td>The serial number of the issuer's certificate </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="z30_4" doxytag="DSIGKeyInfoX509::setX509SKI"></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 DSIGKeyInfoX509::setX509SKI </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const XMLCh * </td>
<td class="mdname1" valign="top" nowrap> <em>ski</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>
Set the SKI element.
<p>
The SKI node provides a reference to the Subject Key Identifier of a certificate.<p>
This function takes a base64 encoded ski and sets it into the appropriate node<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>ski</em> </td><td>The base64 plain (non-DER) encoded SKI value </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="z30_1" doxytag="DSIGKeyInfoX509::setX509SubjectName"></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 DSIGKeyInfoX509::setX509SubjectName </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const XMLCh * </td>
<td class="mdname1" valign="top" nowrap> <em>name</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>
Set the X509SubjectName element in the KeyInfo element.
<p>
If a X509SubjectName element exists, replace the text with the provided text. Otherwise create the element and set the text.<p>
<dl compact><dt><b>Note:</b></dt><dd>XMLDSIG requires Distinguished Names be encoded in a defined manner (escaping '<' characters etc.). This method will perform this encoding prior to creating the DOM nodes.</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>name</em> </td><td>The name to set. </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="DSIGKeyInfoX509_8hpp-source.html">DSIGKeyInfoX509.hpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sun Jul 3 17:41:11 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>
|