[repost, because I subscribed with a slightly different email address]

Hello,

I'm writing a test app which allows me to sign and/or encrypt specific
documents. It is a command line app, and I wanted to manually (i.e. by
commandline options) specify keys and certificates to load. That works, I
can load keys and certificates, give them a name, and place them under the
control of a keys manager.

But is it possible to load a key and place it into a keys manager, and
later associate a certificate to that key, without having kept a pointer
to it? In other words, can I do a xmlSecKeyStoreFindKey() with the correct
name to find the key and add a certificate to it, and later find the
certificate in my XML signed document? The API reference tells me that I
need to provide keyInfoCtx, can it be NULL? The same API tells me that I'm
responsible for destroying the returned key, does that mean that the key I
get is a copy of the original one?

Thanks,

-- 
Erwann ABALEA <[EMAIL PROTECTED]> - RSA PGP Key ID: 0x2D0EABD5
-----
j'ai oubli� de dire que je n ai pas de confirmation sur la source de
cette information.
Cela peut se r�veler �tre une fausse rumeur !
-+- JPB in: GNU - Une fausse rumeur est-elle une vraie info ? -+-
_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to