original_string: public function verifyStream($stream, $signature, $publicKey)
      {
          try {
              $virgilSourceStream = new VirgilStreamDataSource($stream);
  
              return (new CryptoVirgilStreamSigner($this->hashAlgorithm))->verify(
                  $virgilSourceStream,
                  $signature,
                  $publicKey
              );
          } catch (Exception $exception) {
              throw new ContentVerificationException($exception->getMessage(), $exception->getCode());
          }
      }
code: public function verifyStream($stream, $signature, $publicKey)
      {
          try {
              $virgilSourceStream = new VirgilStreamDataSource($stream);
  
              return (new CryptoVirgilStreamSigner($this->hashAlgorithm))->verify(
                  $virgilSourceStream,
                  $signature,
                  $publicKey
              );
          } catch (Exception $exception) {
              throw new ContentVerificationException($exception->getMessage(), $exception->getCode());
          }
      }
code_tokens: public function verifyStream ( $ stream , $ signature , $ publicKey ) { try { $ virgilSourceStream = new VirgilStreamDataSource ( $ stream ) ; return ( new CryptoVirgilStreamSigner ( $ this -> hashAlgorithm ) ) -> verify ( $ virgilSourceStream , $ signature , $ publicKey ) ; } catch ( Exception $ exception ) { throw new ContentVerificationException ( $ exception -> getMessage ( ) , $ exception -> getCode ( ) ) ; } }
docstring: Verify stream with a public key and signature.
  
  @param resource $stream
  @param string   $signature
  @param string   $publicKey
  
  @return bool
  
  @throws ContentVerificationException
docstring_tokens: Verify stream with a public key and signature .