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); } } } }
for (byte[] ocsp : revocationData.getOCSPs()) { try { OCSPRefType ocspRef = ocspRefs.addNewOCSPRef();
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); } } } }
for (byte[] ocsp : revocationData.getOCSPs()) { try { OCSPRefType ocspRef = ocspRefs.addNewOCSPRef();