private void createRevocationValues( RevocationValuesType revocationValues, RevocationData revocationData) { if (revocationData.hasCRLs()) { CRLValuesType crlValues = revocationValues.addNewCRLValues(); for (byte[] crl : revocationData.getCRLs()) { EncapsulatedPKIDataType encapsulatedCrlValue = crlValues.addNewEncapsulatedCRLValue(); encapsulatedCrlValue.setByteArrayValue(crl); } } if (revocationData.hasOCSPs()) { OCSPValuesType ocspValues = revocationValues.addNewOCSPValues(); for (byte[] ocsp : revocationData.getOCSPs()) { EncapsulatedPKIDataType encapsulatedOcspValue = ocspValues.addNewEncapsulatedOCSPValue(); encapsulatedOcspValue.setByteArrayValue(ocsp); } } } }
completeRevocationRefs.setCRLRefs(crlRefs); for (byte[] encodedCrl : revocationData.getCRLs()) { CRLRefType crlRef = crlRefs.addNewCRLRef(); X509CRL crl;
private void createRevocationValues( RevocationValuesType revocationValues, RevocationData revocationData) { if (revocationData.hasCRLs()) { CRLValuesType crlValues = revocationValues.addNewCRLValues(); for (byte[] crl : revocationData.getCRLs()) { EncapsulatedPKIDataType encapsulatedCrlValue = crlValues.addNewEncapsulatedCRLValue(); encapsulatedCrlValue.setByteArrayValue(crl); } } if (revocationData.hasOCSPs()) { OCSPValuesType ocspValues = revocationValues.addNewOCSPValues(); for (byte[] ocsp : revocationData.getOCSPs()) { EncapsulatedPKIDataType encapsulatedOcspValue = ocspValues.addNewEncapsulatedOCSPValue(); encapsulatedOcspValue.setByteArrayValue(ocsp); } } } }
completeRevocationRefs.setCRLRefs(crlRefs); for (byte[] encodedCrl : revocationData.getCRLs()) { CRLRefType crlRef = crlRefs.addNewCRLRef(); X509CRL crl;