equal
deleted
inserted
replaced
383 throws CertPathValidatorException |
383 throws CertPathValidatorException |
384 { |
384 { |
385 switch (responseStatus) { |
385 switch (responseStatus) { |
386 case SUCCESSFUL: |
386 case SUCCESSFUL: |
387 break; |
387 break; |
388 case UNAUTHORIZED: |
|
389 case TRY_LATER: |
388 case TRY_LATER: |
390 case INTERNAL_ERROR: |
389 case INTERNAL_ERROR: |
391 throw new CertPathValidatorException( |
390 throw new CertPathValidatorException( |
392 "OCSP response error: " + responseStatus, null, null, -1, |
391 "OCSP response error: " + responseStatus, null, null, -1, |
393 BasicReason.UNDETERMINED_REVOCATION_STATUS); |
392 BasicReason.UNDETERMINED_REVOCATION_STATUS); |
|
393 case UNAUTHORIZED: |
394 default: |
394 default: |
395 throw new CertPathValidatorException("OCSP response error: " + |
395 throw new CertPathValidatorException("OCSP response error: " + |
396 responseStatus); |
396 responseStatus); |
397 } |
397 } |
398 |
398 |