How to get the link of an X509 certificate which the application is signed with?

I want to add the hyperlink of the application's certificate in a Messagebox.For that I need to retrieve the certificate's link.Using wintrust and wincrypt I can get the CERT_CONTEXT of that certificate. How can I achieve this task using wincrypt or wintrust.