XML Security Library

LibXML2
LibXSLT
OpenSSL

Creating dynamic templates.

TODO

Figure 4. XML Digital Signature Structure

        <Signature ID?> 
	    <SignedInfo>
	        <CanonicalizationMethod/>
	        <SignatureMethod/>
	        (<Reference URI? >
    	    (<Transforms>)?
    	    <DigestMethod>
    	    <DigestValue>
	        </Reference>)+
	    </SignedInfo>
	    <SignatureValue> 
	(<KeyInfo>)?
	(<Object ID?>)*
        </Signature>
    

Example 8. Creating dynamic signature template.

TODO
		

TODO

Figure 5. XML Encryption Structure

        <EncryptedData Id? Type? MimeType? Encoding?>
	<EncryptionMethod/>?
	<ds:KeyInfo>
	        <EncryptedKey>?
	        <AgreementMethod>?
	        <ds:KeyName>?
	        <ds:RetrievalMethod>?
	        <ds:*>?
	</ds:KeyInfo>?
	<CipherData>
	    <CipherValue>?
	        <CipherReference URI?>?
	</CipherData>
	<EncryptionProperties>?
        </EncryptedData>	
	

Example 9. Creating dynamic encrytion template.

TODO
		


Aleksey Sanin