[xmlsec] (no subject)

david.varas@usach.cl david.varas@usach.cl
Wed, 11 Dec 2002 13:08:33 -0400


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=3DxmlSecPKCS12ReadKey("certpk12.pfx","pwd");

***=BFthis key is the public key o private key?***

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

It=B4s posible resolve this problem with xmlsec.=BF?


Thanks, have a nice Day

David Varas