Class Swift_Signers_OpenDKIMSigner
Inheritance | Swift_Signers_OpenDKIMSigner » Swift_Signers_DKIMSigner |
---|---|
Implements | Swift_Signers_HeaderSigner |
DKIM Signer used to apply DKIM Signature to a message Takes advantage of pecl extension.
Protected Properties
Public Methods
Protected Methods
Method | Description | Defined By |
---|---|---|
_addHeader() | Swift_Signers_DKIMSigner | |
_canonicalizeBody() | Swift_Signers_OpenDKIMSigner | |
_endOfBody() | Swift_Signers_DKIMSigner | |
_endOfHeaders() | Swift_Signers_DKIMSigner |
Constants
Constant | Value | Description | Defined By |
---|---|---|---|
CANON_RELAXED | 1 | Swift_Signers_OpenDKIMSigner | |
CANON_SIMPLE | 2 | Swift_Signers_OpenDKIMSigner | |
SIG_RSA_SHA1 | 3 | Swift_Signers_OpenDKIMSigner | |
SIG_RSA_SHA256 | 4 | Swift_Signers_OpenDKIMSigner |
Method Details
public void __construct ( $privateKey, $domainName, $selector ) | ||
$privateKey | ||
$domainName | ||
$selector |
protected void _canonicalizeBody ( $string ) | ||
$string |
public void addSignature ( Swift_Mime_HeaderSet $headers ) | ||
$headers |
public void endBody ( ) |
public static void newInstance ( $privateKey, $domainName, $selector ) | ||
$privateKey | ||
$domainName | ||
$selector |
public void reset ( ) |
Enable / disable the DebugHeaders.
public Swift_Signers_DKIMSigner setDebugHeaders ( $debug ) | ||
$debug | bool |
public void setHeaders ( Swift_Mime_HeaderSet $headers ) | ||
$headers |
Set the signature expiration timestamp.
public Swift_Signers_DKIMSigner setSignatureExpiration ( $time ) | ||
$time | \timestamp |
Set the signature timestamp.
public Swift_Signers_DKIMSigner setSignatureTimestamp ( $time ) | ||
$time | \timestamp |
public void startBody ( ) |