Package org.apache.james.mailet.crypto

Examples of org.apache.james.mailet.crypto.SMIMESignerInfo


        // the mail attributes are set.
        if (signers != null) {
            ArrayList signerinfolist = new ArrayList();

            for (Iterator iter = signers.iterator(); iter.hasNext();) {
                SMIMESignerInfo info = (SMIMESignerInfo) iter.next();

                if (info.isSignValid()
                        && (!onlyTrusted || info.getCertPath() != null)) {
                    signerinfolist.add((X509Certificate) info.getSignerCertificate());
                }
            }

            if (signerinfolist.size() > 0) {
                mail.setAttribute(mailAttribute, signerinfolist);
View Full Code Here

TOP

Related Classes of org.apache.james.mailet.crypto.SMIMESignerInfo

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.