question: public Collection engineGenerateCertificates ( InputStream inStream ) throws CertificateException { java . security . cert . Certificate cert ; List certs = new ArrayList ( ) ; while ( ( cert = engineGenerateCertificate ( inStream ) ) != null ) { certs . add ( cert ) ; } return certs ; }
target:  Returns a (possibly empty) collection view of the certificates read from the given input stream inStream.