roundcubemail/plugins/enigma/lib/enigma_mime_message.php
public function addPGPSignature($body, $algorithm = null)
    {
        $this->signature = $body;
        $this->micalg    = $algorithm;

        // Reset Content-Type to be overwritten with valid boundary
        unset($this->headers['Content-Type']);
        unset($this->headers['Content-Transfer-Encoding']);
    }
public function addPGPSignature($body, $algorithm = null)
    {
        $this->signature = $body;
        $this->micalg    = $algorithm;

        // Reset Content-Type to be overwritten with valid boundary
        unset($this->headers['Content-Type']);
        unset($this->headers['Content-Transfer-Encoding']);
    }
public function addPGPSignature ( $ body , $ algorithm = null ) { $ this -> signature = $ body ; $ this -> micalg = $ algorithm ; // Reset Content-Type to be overwritten with valid boundary unset ( $ this -> headers [ 'Content-Type' ] ) ; unset ( $ this -> headers [ 'Content-Transfer-Encoding' ] ) ; }
Register signature attachment

@param string Signature body
@param string Hash algorithm name
Register signature attachment