[xmlsec] (no subject)

david.varas at usach.cl david.varas at usach.cl
Wed Dec 11 09:08:33 PST 2002


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









More information about the xmlsec mailing list