private void load(final InputStream inputStream){
  try {
    final OCSPResp ocspResp=new OCSPResp(inputStream);
    final BasicOCSPResp basicOCSPResp=(BasicOCSPResp)ocspResp.getResponseObject();
    ocspResponses.add(basicOCSPResp);
  }
 catch (  Exception e) {
    throw new DSSException(e);
  }
}

private void load ( final InputStream inputStream ) { try { final OCSPResp ocspResp = new OCSPResp ( inputStream ) ; final BasicOCSPResp basicOCSPResp = ( BasicOCSPResp ) ocspResp . getResponseObject ( ) ; ocspResponses . add ( basicOCSPResp ) ; } catch ( Exception e ) { throw new DSSException ( e ) ; } }
this method adds the ocsp basic ocspresponses to the general list .
