[xmlsec] Translation <keyKlass>-<keySize> to algorithm method

Aleksey Sanin aleksey at aleksey.com
Wed Jul 6 12:36:56 PDT 2011


You can list all transforms (algorithms) with the following command

xmlsec1 list-transforms

If you have source code, then you can modify 
xmlSecTransformIdListDebugDump()
function in src/transform.c file to dump both name and href

Aleksey


On 7/5/11 11:43 PM, Roland Hedberg wrote:
> Hi!
>
> If you want to encrypt a XML document using xmlsec1 you can define the type of session key you want to use using:
>
> --session-key<keyKlass>-<keySize>
>
> Now this has to map against what is defined in the template XML document where you have something like this:
>
> <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
>
> Is there somewhere a table where you can find the translation from keyKlass>-<keySize>  to Algorithm ?
>
> Like:
>
> keyKlass>-<keySize>	Algorith
> -------------------------------------
> des-192			tripledes-cbc
>
> and so on.
>
> -- Roland
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec


More information about the xmlsec mailing list