Skip to content
Snippets Groups Projects
xmlsec-notes-keys.html 3.06 KiB
Newer Older
  • Learn to ignore specific revisions
  • <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    
    <html>
    <head>
    
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <title>Keys.: XML Security Library Reference Manual</title>
    
    <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
    
    <link rel="home" href="index.html" title="XML Security Library Reference Manual">
    
    <link rel="up" href="xmlsec-notes.html" title="Part I. XML Security Library Tutorial">
    
    <link rel="prev" href="xmlsec-notes-decrypt.html" title="Decrypting an encrypted document">
    <link rel="next" href="xmlsec-notes-keysmngr.html" title="Keys manager.">
    
    <meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
    
    <link rel="stylesheet" href="style.css" type="text/css">
    
    </head>
    
    <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
    
    <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
    <td width="100%" align="left" class="shortcuts"></td>
    
    <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
    
    <td><a accesskey="u" href="xmlsec-notes.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
    <td><a accesskey="p" href="xmlsec-notes-decrypt.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
    
    <td><a accesskey="n" href="xmlsec-notes-keysmngr.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
    
    </tr></table>
    
    <div class="chapter">
    <div class="titlepage"><div><div><h2 class="title">
    <a name="xmlsec-notes-keys"></a>Keys.</h2></div></div></div>
    
    <p>A key in XML Security Library is a representation of the 
    
    	<a class="ulink" href="" target="_top">&lt;dsig:KeyInfo/&gt;</a>
    
    	element and consist of several key data objects. 
    	The "value" key data usually contains raw key material (or handlers to 
    	key material) required to execute particular crypto transform. Other 
    	key data objects may contain any additional information about the key. 
    	All the key data objects in the key are associated with the same key 
    	material. For example, if a DSA key material has both an X509 
    	certificate and a PGP data associated with it then such a key can 
    	have a DSA key "value" and two key data objects for X509 certificate 
    	and PGP key data.
        </p>
    
    <div class="figure">
    
    <a name="id-1.2.9.3"></a><p class="title"><b>Figure 6. The key structure.</b></p>
    
    <div class="figure-contents"><div align="center"><img src="images/key.png" align="middle" alt="The key structure."></div></div>
    
    <br class="figure-break"><p>XML Security Library has several "invisible" key data classes. 
    
    	These classes never show up in the keys data list of a key but are used for 
    
    	<a class="ulink" href="" target="_top">&lt;dsig:KeyInfo/&gt;</a>
    	children processing (<a class="ulink" href="" target="_top">&lt;dsig:KeyName/&gt;</a>, 
    
    	&lt;enc:EncryptedKey/&gt;, ...). As with transforms, application might 
    	add any new key data objects or replace the default ones.
        </p>
    </div>
    
    <div class="footer">
    
    <hr>Generated by GTK-Doc V1.33.1</div>
    
    </body>
    
    </html>