[xmlsec] [PATCH] Load keys from memory and question about keys
Joachim Bauch
bauch at struktur.de
Fri Aug 8 05:45:06 PDT 2003
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: bauch at struktur.de solutions for
Germany Web: http://www.struktur.de digital business
Download icoya OpenContent 1.3 for FREE! visit http://www.icoya.de/iOC4free <-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: load_key_from_memory.diff.gz
Type: application/x-gzip
Size: 1369 bytes
Desc: not available
Url : http://www.aleksey.com/pipermail/xmlsec/attachments/20030808/191e2117/load_key_from_memory.diff.bin
More information about the xmlsec
mailing list