If you are writing a program in C then you have access to the signature certificates through xmlSecDsigCtx data structure. Check the documentation for more details. Aleksey