/** * Adds a CRL to this revocation data set. * * @param crl */ public void addCRL(X509CRL crl) { byte[] encodedCrl; try { encodedCrl = crl.getEncoded(); } catch (CRLException e) { throw new IllegalArgumentException("CRL coding error: " + e.getMessage(), e); } addCRL(encodedCrl); }
for (EncapsulatedPKIDataType encapsulatedCRLValue : encapsulatedCRLValueList) { byte[] crl = encapsulatedCRLValue.getValue(); revocationData.addCRL(crl);
for (EncapsulatedPKIDataType encapsulatedCrl : encapsulatedCrls) { byte[] encodedCrl = encapsulatedCrl.getValue(); revocationData.addCRL(encodedCrl);