Definition at line 25 of file iSchedule.php.
◆ __construct()
| iSchedule::__construct |
( |
| ) |
|
◆ getCapabilities()
| iSchedule::getCapabilities |
( |
| $domain = null | ) |
|
get capabilities from remote server
Definition at line 269 of file iSchedule.php.
◆ getServer()
finds a remote calendar server via DNS SRV records
Definition at line 204 of file iSchedule.php.
◆ getTxt()
gets the domainkey TXT record from DNS
Definition at line 87 of file iSchedule.php.
◆ parseDKIM()
| iSchedule::parseDKIM |
( |
| $sig | ) |
|
parses and validates DK header
- Parameters
-
| string | $sig | the value of the DKIM-Signature header |
Definition at line 519 of file iSchedule.php.
◆ parseTxt()
parses DNS TXT record from domainkey lookup
Definition at line 132 of file iSchedule.php.
◆ parseURI()
| iSchedule::parseURI |
( |
| $uri | ) |
|
split up a mailto uri into domain and user components TODO handle other uri types (eg http)
Definition at line 612 of file iSchedule.php.
◆ queryCapabilities()
| iSchedule::queryCapabilities |
( |
| $capability, |
|
|
| $domain = null ) |
query capabilities retrieved from server
Definition at line 307 of file iSchedule.php.
◆ sendRequest()
| iSchedule::sendRequest |
( |
| $address, |
|
|
| $type, |
|
|
| $data ) |
send request to remote server $address should be an email address or an array of email addresses all with the same domain $type should be in the format COMPONENT/METHOD eg (VFREEBUSY, VEVENT/REQUEST, VEVENT/REPLY, etc. ) $data is the vcalendar data N.B. must already be rendered into text format
Definition at line 416 of file iSchedule.php.
◆ setTxt()
◆ signDKIM()
| iSchedule::signDKIM |
( |
| $headers, |
|
|
| $body ) |
signs a POST body and headers
- Parameters
-
| string | $body | the body of the POST |
| array | $headers | the headers to sign as passed to header (); |
Definition at line 374 of file iSchedule.php.
◆ validateKey()
| iSchedule::validateKey |
( |
| ) |
|
validates that domainkey is acceptable for the current request
Definition at line 154 of file iSchedule.php.
◆ validateRequest()
| iSchedule::validateRequest |
( |
| ) |
|
checks that current request has a valid DKIM signature signed by a currently valid key from DNS
Definition at line 673 of file iSchedule.php.
◆ verifySignature()
| iSchedule::verifySignature |
( |
| ) |
|
verifies parsed DKIM header is valid for current message with a signature from the public key in DNS TODO handle multiple headers of the same name
Definition at line 627 of file iSchedule.php.
◆ $body_cannon
◆ $disallowed_headers
| iSchedule::$disallowed_headers |
|
private |
Initial value:= Array ( 'connection',
'keep-alive',
'dkim-signature',
'proxy-authenticate',
'proxy-authorization',
'te',
'trailers',
'transfer-encoding',
'upgrade' )
Definition at line 50 of file iSchedule.php.
◆ $dk
◆ $DKSig
◆ $domain
◆ $failed
| iSchedule::$failed = false |
|
private |
◆ $failOnError
| iSchedule::$failOnError = true |
|
private |
◆ $header_cannon
| iSchedule::$header_cannon |
|
private |
◆ $parsed
◆ $remote_public_key
| iSchedule::$remote_public_key |
|
private |
◆ $remote_selector
| iSchedule::$remote_selector |
|
private |
◆ $remote_server
| iSchedule::$remote_server |
|
private |
◆ $remote_ssl
◆ $remote_user_rule
| iSchedule::$remote_user_rule |
|
private |
◆ $required_headers
| iSchedule::$required_headers |
|
private |
Initial value:= Array ( 'host',
'originator',
'recipient',
'content-type' )
Definition at line 46 of file iSchedule.php.
◆ $selector
◆ $signed_headers
| iSchedule::$signed_headers |
|
private |
◆ $signed_length
| iSchedule::$signed_length |
|
private |
◆ $subdomainsOK
| iSchedule::$subdomainsOK = true |
|
private |
◆ $try_anyway
| iSchedule::$try_anyway = false |
|
private |
The documentation for this class was generated from the following file: