ABOUT US

|

SUPPORT

|

BLOG

DOWNLOADS    

 

 

 

 


 

 

SSL Certificates

 

 

 

 

 

 

The WebRenderer Swing edition supports the java.security.cert.X509Certificate format.

Certificates can be imported into and removed from the browser and the level of trust can be set to trusted or untrusted.

Certificate listener

A network listener can be implemented to obtain certificate from any page that utilizes certificates.

browser.addNetworkListener(new NetworkAdapter() {
        public void onHTTPResponse(NetworkEvent e) {
                X509Certificate cert = e.getCertificate();
        }
});


BadCertificateListener

The BadCertificateListener is fired if a certificate is encountered with a questionable trust status. 

browser.addBadCertificateListener(new BadCertificateAdapter() {
        public void confirmUnknownIssuer(BadCertificateEvent e) {
                X509Certificate cert = e.getCertificate();
        }
});


See Java code examples distributed with the 30 day trial for a complete example.

 

 

 

 

 

 

 

 

Copyright JadeLiquid Software - www.jadeliquid.com