Suppose I visit a web page www.example.com
and is successfully loaded into my browser.
When this page is loaded, we can see the certificate information www.example.com
by clicking on padlock icon (on left side of address).
The certificate includes the information like owner/organisation, connection status, certificate verified by, cookies set by the page and so on.
Is there any way to get this information programmatically from the browser like by using javascript/Ajax
or any other language.