[ Index ]

MailPress 544

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/Swiftmailer/classes/Swift/Signers/ -> DomainKeySigner.php (summary)

(no description)

File Size: 525 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Swift_Signers_DomainKeySigner:: (25 methods):
  __construct()
  newInstance()
  reset()
  write()
  commit()
  bind()
  unbind()
  flushBuffers()
  setHashAlgorithm()
  setCanon()
  setSignerIdentity()
  setDebugHeaders()
  startBody()
  endBody()
  getAlteredHeaders()
  ignoreHeader()
  setHeaders()
  addSignature()
  _addHeader()
  _endOfHeaders()
  _canonicalizeBody()
  _endOfBody()
  _addToHash()
  _startHash()
  _getEncryptedHash()


Class: Swift_Signers_DomainKeySigner  - X-Ref

DomainKey Signer used to apply DomainKeys Signature to a message.

__construct($privateKey, $domainName, $selector)   X-Ref
Constructor.

param: string $privateKey
param: string $domainName
param: string $selector

newInstance($privateKey, $domainName, $selector)   X-Ref
Instanciate DomainKeySigner.

param: string $privateKey
param: string $domainName
param: string $selector
return: Swift_Signers_DomainKeySigner

reset()   X-Ref
Resets internal states.

return: Swift_Signers_DomainKeysSigner

write($bytes)   X-Ref
Writes $bytes to the end of the stream.

Writing may not happen immediately if the stream chooses to buffer.  If
you want to write these bytes with immediate effect, call {@link commit()}
after calling write().

This method returns the sequence ID of the write (i.e. 1 for first, 2 for
second, etc etc).

param: string $bytes
return: int
return: Swift_Signers_DomainKeysSigner

commit()   X-Ref
For any bytes that are currently buffered inside the stream, force them
off the buffer.

return: Swift_Signers_DomainKeysSigner

bind(Swift_InputByteStream $is)   X-Ref
Attach $is to this stream.
The stream acts as an observer, receiving all data that is written.
All {@link write()} and {@link flushBuffers()} operations will be mirrored.

param: Swift_InputByteStream $is
return: Swift_Signers_DomainKeysSigner

unbind(Swift_InputByteStream $is)   X-Ref
Remove an already bound stream.
If $is is not bound, no errors will be raised.
If the stream currently has any buffered data it will be written to $is
before unbinding occurs.

param: Swift_InputByteStream $is
return: Swift_Signers_DomainKeysSigner

flushBuffers()   X-Ref
Flush the contents of the stream (empty it) and set the internal pointer
to the beginning.

return: Swift_Signers_DomainKeysSigner

setHashAlgorithm($hash)   X-Ref
Set hash_algorithm, must be one of rsa-sha256 | rsa-sha1 defaults to rsa-sha256.

param: string $hash
return: Swift_Signers_DomainKeysSigner

setCanon($canon)   X-Ref
Set the canonicalization algorithm.

param: string $canon simple | nofws defaults to simple
return: Swift_Signers_DomainKeysSigner

setSignerIdentity($identity)   X-Ref
Set the signer identity.

param: string $identity
return: Swift_Signers_DomainKeySigner

setDebugHeaders($debug)   X-Ref
Enable / disable the DebugHeaders.

param: bool $debug
return: Swift_Signers_DomainKeySigner

startBody()   X-Ref
Start Body.


endBody()   X-Ref
End Body.


getAlteredHeaders()   X-Ref
Returns the list of Headers Tampered by this plugin.

return: array

ignoreHeader($header_name)   X-Ref
Adds an ignored Header.

param: string $header_name
return: Swift_Signers_DomainKeySigner

setHeaders(Swift_Mime_HeaderSet $headers)   X-Ref
Set the headers to sign.

param: Swift_Mime_HeaderSet $headers
return: Swift_Signers_DomainKeySigner

addSignature(Swift_Mime_HeaderSet $headers)   X-Ref
Add the signature to the given Headers.

param: Swift_Mime_HeaderSet $headers
return: Swift_Signers_DomainKeySigner

_addHeader($header)   X-Ref
No description

_endOfHeaders()   X-Ref
No description

_canonicalizeBody($string)   X-Ref
No description

_endOfBody()   X-Ref
No description

_addToHash($string)   X-Ref
No description

_startHash()   X-Ref
No description

_getEncryptedHash()   X-Ref

return: string



Generated: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1