Examples of CertificateValidationDialog


Examples of org.jwall.security.cert.ui.CertificateValidationDialog

     * @param authType The authType requested for this chain.
     * @return <code>true</code>, if the user approved the certificate chain.
     */
    public boolean requestUserApproval( X509Certificate[] chain, String authType ){

        CertificateValidationDialog validator = new CertificateValidationDialog( chain );
        validator.setVisible( true );

        boolean approved = validator.isChainApproved();

        if( approved && validator.isApprovedPermanently() ){
           
            X509Certificate cert = chain[ chain.length - 1 ];
           
            try {
                StringBuffer alias = new StringBuffer();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.