Examples of SMIMESignerInfo


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

Examples of org.apache.james.security.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

Examples of org.apache.james.security.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
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.