Package net.sf.libpdfsign.exception

Examples of net.sf.libpdfsign.exception.NoCRLException


                    }

                    // Download CRL.
                    X509CRL crl = CRLDownloader.getCRL(certificate);
                    if (crl == null) {
                        throw new NoCRLException(String.format(messages.getString(
                            "Could_not_get_CRL_for_the_certificate__%s"),
                            CertificateValidator.getCertificateName(certificate)));
                    }
                    crls.add(crl);
                }
View Full Code Here


                // Enable offline revocation check using CRL.
                } else if (useCRL) {
                    // Check if CRLs were provided.
                    if (certificateRevocationLists == null) {
                        throw new NoCRLException(
                            String.format(messages.getString(
                            "No_certificate_revocation_list_was_provided_to_perform_offline_revocation_check_of_the_certificate__%s"),
                            CertificateValidator.getCertificateName(certificate)));
                    }
View Full Code Here

TOP

Related Classes of net.sf.libpdfsign.exception.NoCRLException

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.