Overview

Packages

  • awl
    • caldav-client-v2
    • RRule
  • davical
    • authentication
      • drivers
    • caldav
    • DAViCalSession
    • DAVTicket
    • external-bind
    • feed
    • HTTPAuthSession
    • iSchedule
    • iSchedule-POST
    • logging
    • metrics
    • Principal
    • propfind
    • PublicSession
    • Request
    • Resource
    • tzservice
  • None

Classes

  • iSchedule

Functions

  • checkiSchedule
  • generateKeys
  • SRVFormat
  • SRVOk
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class iSchedule

A class for handling iScheduling requests.

Package: davical\iSchedule
Copyright: Rob Ostensen
License: GNU GPL v3 or later
Author: Rob Ostensen rob@boxacle.net
Located at iSchedule.php
Methods summary
public
# __construct( )
public
# getTxt( )

gets the domainkey TXT record from DNS

gets the domainkey TXT record from DNS

public
# setTxt( $dk )

strictly for testing purposes

strictly for testing purposes

public
# parseTxt( )

parses DNS TXT record from domainkey lookup

parses DNS TXT record from domainkey lookup

public
# validateKey( )

validates that domainkey is acceptable for the current request

validates that domainkey is acceptable for the current request

public
# getServer( )

finds a remote calendar server via DNS SRV records

finds a remote calendar server via DNS SRV records

public
# getCapabilities( $domain = null )

get capabilities from remote server

get capabilities from remote server

public
# queryCapabilities( $capability, $domain = null )

query capabilities retrieved from server

query capabilities retrieved from server

public
# signDKIM( string $headers, array $body )

signs a POST body and headers

signs a POST body and headers

Parameters

$headers
$body the body of the POST
$body
$headers the headers to sign as passed to header ();
public
# 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

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

public
# parseDKIM( string $sig )

parses and validates DK header

parses and validates DK header

Parameters

$sig
the value of the DKIM-Signature header
public
# parseURI( $uri )

split up a mailto uri into domain and user components TODO handle other uri types (eg http)

split up a mailto uri into domain and user components TODO handle other uri types (eg http)

public
# 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

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

public
# validateRequest( )

checks that current request has a valid DKIM signature signed by a currently valid key from DNS

checks that current request has a valid DKIM signature signed by a currently valid key from DNS

Properties summary
public $parsed
#
public $selector
#
public $domain
#
DAViCal API documentation generated by ApiGen