A class for handling iScheduling requests.
Located in /inc/iSchedule.php (line 25)
get capabilities from remote server
finds a remote calendar server via DNS SRV records
gets the domainkey TXT record from DNS
parses and validates DK header
parses DNS TXT record from domainkey lookup
split up a mailto uri into domain and user components
TODO handle other uri types (eg http)
query capabilities retrieved from server
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
strictly for testing purposes
signs a POST body and headers
validates that domainkey is acceptable for the current request
checks that current request has a valid DKIM signature signed by a currently valid key from DNS
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
Documentation generated on Wed, 04 Jul 2012 10:13:09 +0000 by phpDocumentor 1.4.3