Aleksey:

I have a next problem:

-I have a certificate, with includes the private and the public key, and
more.
-In format PCS12,
-I want to extract the private key and sign a document with this key.
-Also extract the public key, from the certificate,  for  verification.

I use the function to load the key:

key=xmlSecPKCS12ReadKey("certpk12.pfx","pwd");

***�this key is the public key o private key?***

And I don�t know how modify the key manager (KeysMngr),with this only key,
I need this mngr for create the context (xmlSecDSigCtxCreate), for sign.

It�s posible resolve this problem with xmlsec.�?


Thanks, have a nice Day

David Varas






_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to