[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Signers/ -> HeaderSigner.php (source)

   1  <?php
   2  
   3  /*
   4   * This file is part of SwiftMailer.
   5   * (c) 2004-2009 Chris Corbyn
   6   *
   7   * For the full copyright and license information, please view the LICENSE
   8   * file that was distributed with this source code.
   9   */
  10  
  11  /**
  12   * Header Signer Interface used to apply Header-Based Signature to a message.
  13   *
  14   * @author Xavier De Cock <xdecock@gmail.com>
  15   */
  16  interface Swift_Signers_HeaderSigner extends Swift_Signer, Swift_InputByteStream
  17  {
  18      /**
  19       * Exclude an header from the signed headers.
  20       *
  21       * @param string $header_name
  22       *
  23       * @return self
  24       */
  25      public function ignoreHeader($header_name);
  26  
  27      /**
  28       * Prepare the Signer to get a new Body.
  29       *
  30       * @return self
  31       */
  32      public function startBody();
  33  
  34      /**
  35       * Give the signal that the body has finished streaming.
  36       *
  37       * @return self
  38       */
  39      public function endBody();
  40  
  41      /**
  42       * Give the headers already given.
  43       *
  44       * @return self
  45       */
  46      public function setHeaders(Swift_Mime_SimpleHeaderSet $headers);
  47  
  48      /**
  49       * Add the header(s) to the headerSet.
  50       *
  51       * @return self
  52       */
  53      public function addSignature(Swift_Mime_SimpleHeaderSet $headers);
  54  
  55      /**
  56       * Return the list of header a signer might tamper.
  57       *
  58       * @return array
  59       */
  60      public function getAlteredHeaders();
  61  }


Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1