[xmlsec] (no subject)

Aleksey Sanin aleksey at aleksey.com
Wed Dec 11 09:30:30 PST 2002


Please look at apps/xmlsec.c and search for 
"xmlSecSimpleKeysMngrLoadPkcs12" string.

Aleksey


david.varas at usach.cl wrote:

>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
>xmlsec at aleksey.com
>http://www.aleksey.com/mailman/listinfo/xmlsec
>  
>





More information about the xmlsec mailing list