Swift_Signers_DKIMSigner::startBody PHP Method

startBody() public method

Start Body.
public startBody ( )
    public function startBody()
    {
        // Init
        switch ($this->hashAlgorithm) {
            case 'rsa-sha256':
                $this->bodyHashHandler = hash_init('sha256');
                break;
            case 'rsa-sha1':
                $this->bodyHashHandler = hash_init('sha1');
                break;
        }
        $this->bodyCanonLine = '';
    }

Usage Example

Example #1
0
 public function startBody()
 {
     if (!$this->_peclLoaded) {
         return parent::startBody();
     }
     dkim_eoh($this->_dkimHandler);
     return $this;
 }
All Usage Examples Of Swift_Signers_DKIMSigner::startBody