Package org.jwall.security.cert.ui

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

Related Classes of org.jwall.security.cert.ui.CertificateValidationDialog

Copyright © 2018 www.massapicom. 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.