PHP Class Swift_Signers_OpenDKIMSigner, Halite

Author: Xavier De Cock ([email protected])
Inheritance: extends Swift_Signers_DKIMSigner
显示文件 Open project: HaliteChallenge/Halite Class Usage Examples

Public Methods

Method Description
__construct ( $privateKey, $domainName, $selector )
addSignature ( Swift_Mime_HeaderSet $headers )
endBody ( )
newInstance ( $privateKey, $domainName, $selector )
reset ( )
setDebugHeaders ( boolean $debug ) : Swift_Signers_DKIMSigner Enable / disable the DebugHeaders.
setHeaders ( Swift_Mime_HeaderSet $headers )
setSignatureExpiration ( integer $time ) : Swift_Signers_DKIMSigner Set the signature expiration timestamp.
setSignatureTimestamp ( integer $time ) : Swift_Signers_DKIMSigner Set the signature timestamp.
startBody ( )

Protected Methods

Method Description
_canonicalizeBody ( $string ) Protected

Method Details

__construct() public method

public __construct ( $privateKey, $domainName, $selector )

_canonicalizeBody() protected method

Protected
protected _canonicalizeBody ( $string )

addSignature() public method

public addSignature ( Swift_Mime_HeaderSet $headers )
$headers Swift_Mime_HeaderSet

endBody() public method

public endBody ( )

newInstance() public static method

public static newInstance ( $privateKey, $domainName, $selector )

reset() public method

public reset ( )

setDebugHeaders() public method

Enable / disable the DebugHeaders.
public setDebugHeaders ( boolean $debug ) : Swift_Signers_DKIMSigner
$debug boolean
return Swift_Signers_DKIMSigner

setHeaders() public method

public setHeaders ( Swift_Mime_HeaderSet $headers )
$headers Swift_Mime_HeaderSet

setSignatureExpiration() public method

Set the signature expiration timestamp.
public setSignatureExpiration ( integer $time ) : Swift_Signers_DKIMSigner
$time integer
return Swift_Signers_DKIMSigner

setSignatureTimestamp() public method

Set the signature timestamp.
public setSignatureTimestamp ( integer $time ) : Swift_Signers_DKIMSigner
$time integer
return Swift_Signers_DKIMSigner

startBody() public method

public startBody ( )