[xmlsec] question about xmlsec initialization

Moultrie, Ferrell (ISSAtlanta) FMoultrie at iss.net
Tue Aug 20 08:52:47 PDT 2002


In the example init code, you allocate two structures: a xmlSecKeysMngr
and a xmlSecDSigCtx. After the verification you free those objects. If
I'm going to verify multiple signatures in multiple seperate documents,
are those objects "reusable" or should they be allocated/used/free'd for
each cycle? Since the allocation of those two structures doesn't
reference a specific document or other structures, I'm guessing they are
reusable -- but do I need to make any kind of Initialize()-type call
before reuse? Any hints would be greatly appreciated!
Thanks!
  Ferrell

=====================================
Ferrell Moultrie (ferrell at iss.net)
Software Engineer

Internet Security Systems, Inc.
6303 Barfield Road
Atlanta, Georgia 30328
Phone:  404-236-2600
Direct: 404-236-2849
Fax:    404-236-2632
http://www.iss.net

Internet Security Systems -- The Power to Protect
=====================================



More information about the xmlsec mailing list