TYPO3  7.6
Public Member Functions | List of all members
Swift_Signers_HeaderSigner Interface Reference
Inheritance diagram for Swift_Signers_HeaderSigner:
Swift_Signer Swift_InputByteStream Swift_Signers_DKIMSigner Swift_Signers_DomainKeySigner Swift_Signers_OpenDKIMSigner

Public Member Functions

 ignoreHeader ($header_name)
 
 startBody ()
 
 endBody ()
 
 setHeaders (Swift_Mime_HeaderSet $headers)
 
 addSignature (Swift_Mime_HeaderSet $headers)
 
 getAlteredHeaders ()
 
- Public Member Functions inherited from Swift_Signer
 reset ()
 
- Public Member Functions inherited from Swift_InputByteStream
 write ($bytes)
 
 commit ()
 
 bind (Swift_InputByteStream $is)
 
 unbind (Swift_InputByteStream $is)
 
 flushBuffers ()
 

Detailed Description

Header Signer Interface used to apply Header-Based Signature to a message.

Author
Xavier De Cock xdeco.nosp@m.ck@g.nosp@m.mail..nosp@m.com

Definition at line 16 of file HeaderSigner.php.

Member Function Documentation

addSignature ( Swift_Mime_HeaderSet  $headers)

Add the header(s) to the headerSet.

Parameters
Swift_Mime_HeaderSet$headers
Returns
Swift_Signers_HeaderSigner

Implemented in Swift_Signers_DKIMSigner, Swift_Signers_DomainKeySigner, and Swift_Signers_OpenDKIMSigner.

endBody ( )

Give the signal that the body has finished streaming.

Returns
Swift_Signers_HeaderSigner

Implemented in Swift_Signers_DKIMSigner, Swift_Signers_DomainKeySigner, and Swift_Signers_OpenDKIMSigner.

getAlteredHeaders ( )

Return the list of header a signer might tamper.

Returns
array

Implemented in Swift_Signers_DKIMSigner, and Swift_Signers_DomainKeySigner.

ignoreHeader (   $header_name)

Exclude an header from the signed headers.

Parameters
string$header_name
Returns
Swift_Signers_HeaderSigner

Implemented in Swift_Signers_DKIMSigner, and Swift_Signers_DomainKeySigner.

setHeaders ( Swift_Mime_HeaderSet  $headers)
startBody ( )

Prepare the Signer to get a new Body.

Returns
Swift_Signers_HeaderSigner

Implemented in Swift_Signers_DKIMSigner, Swift_Signers_DomainKeySigner, and Swift_Signers_OpenDKIMSigner.