/** * DKIM header canonicalization tests. * @link https://tools.ietf.org/html/rfc6376#section-3.4.2 */ public function testDKIMHeaderCanonicalization() { //Example from https://tools.ietf.org/html/rfc6376#section-3.4.5 $preheaders = "A: X\r\nB : Y\t\r\n\tZ \r\n"; $postheaders = "a:X\r\nb:Y Z\r\n"; $this->assertEquals($this->Mail->DKIM_HeaderC($preheaders), $postheaders, 'DKIM header canonicalization incorrect'); }