[xmlsec] question about xmlsec initialization

Moultrie, Ferrell (ISSAtlanta) FMoultrie@iss.net
Tue, 20 Aug 2002 11:52:47 -0400


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

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Ferrell Moultrie (ferrell@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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D