[xmlsec] X509 Retrieval method without a root certificate

Frank Gross fg at 4js.com
Wed May 14 08:55:54 PDT 2008


Hi,

I would like to encrypt or validate a document using the X509 retrieval 
method but without setting a root certificate in the trusted list of the 
key manager. Is this possible ?  Because I tried with flag 
XMLSEC_KEYINFO_FLAGS_X509DATA_DONT_VERIFY_CERTS in the xmlSecEncCtx 
structure and in the corresponding keyInfoWriteCtx and keyInfoReadCtx 
structure, but it doesn't work.


Thanks,

Frank



More information about the xmlsec mailing list