Hi Aleksey,

here is a patch that allows loading of keys from memory.

Now my question:
Is there a way to determine the xmlSecKeyDataId from the "Algorithm" attribute
in an encrypted XML file?

Assuming I have a node that looks like this:
<EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
how can I get the xmlSecKeyDataId for DES3 from it?

I already tried using the "xmlSecKeyDataIdListFindByHref" function but that
always returnes NULL.

On the other hand, I can call "xmlSecTransformIdListFindByHref" on it and receive
the "xmlSecTransformDes3CbcId" constant.

Any hints?
Joachim

--
Joachim Bauch

struktur AG             Fon.:  +49 (0)711 896656 69
Junghansstr. 5          Fax.:  +49 (0)711 896656 10
D-70469 Stuttgart       eMail: [EMAIL PROTECTED]                    solutions for
Germany                 Web:   http://www.struktur.de            digital business

Download icoya OpenContent 1.3 for FREE! visit http://www.icoya.de/iOC4free <-

Attachment: load_key_from_memory.diff.gz
Description: GNU Zip compressed data



Reply via email to