[xmlsec] Encrypting more than 128 bytes with XMLSec

Aleksey Sanin aleksey at aleksey.com
Tue Nov 14 00:18:39 PST 2006


http://www.aleksey.com/xmlsec/api/xmlsec-encrypt-with-session-key.html

Plus trivial modifications to the algorithm ids.

Aleksey

Damjan Rems wrote:
> --- Aleksey Sanin <aleksey at aleksey.com> wrote:
> 
>> RSAES-PKCS1-v1_5 algorithm is a key transform
>> algorithm and
>> the size of the data (i.e. the key) is required to
>> be less
>> than RSA key modulus:
>>
>>
> http://www.w3.org/TR/xmlenc-core/#sec-Alg-KeyTransport
> 
> I am realy strugling to get to understand the
> standards. Can you please help me how to create
> template so data will be encrypted acording to:
> 
> XML Encryptin Syntax : XML-ENC :
> http://www.w3.org/2001/04/xmlenc#
> Encryprion Type : Element :
> http://www.w3.org/2001/04/xmlenc#Element
> Element Encryption : TRIPLE DES :
> http://www.w3.org/2001/04/xmlenc#tripledes-cbc
> Key Encryption : RSA1-5 :
> http://www.w3.org/2001/04/xmlenc#rsa-1_5
> 
> Thank you
> 
> TheR
> 
> 
> 
> 
> 
>  
> ____________________________________________________________________________________
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail beta.
> http://new.mail.yahoo.com



More information about the xmlsec mailing list