Constants

VALIDATECERT_VALIDATECERT

VALIDATECERT_VALIDATECERT

VALIDATECERT_CERTIFICATES

VALIDATECERT_CERTIFICATES

VALIDATECERT_CERTIFICATE

VALIDATECERT_CERTIFICATE

VALIDATECERT_CERTIFICATECHAIN

VALIDATECERT_CERTIFICATECHAIN

VALIDATECERT_CHECKCRL

VALIDATECERT_CHECKCRL

VALIDATECERT_STATUS

VALIDATECERT_STATUS

STATUS_SUCCESS

STATUS_SUCCESS

STATUS_PROTERR

STATUS_PROTERR

STATUS_SIGERR

STATUS_SIGERR

STATUS_UNTRUSTED

STATUS_UNTRUSTED

STATUS_EXPIRED

STATUS_EXPIRED

STATUS_PURPOSE_INVALID

STATUS_PURPOSE_INVALID

STATUS_MISSING_INFO

STATUS_MISSING_INFO

STATUS_UNKNOWN

STATUS_UNKNOWN

Properties

$_request

$_request : \Horde_Controller_Request_Http

Request object

Type

\Horde_Controller_Request_Http

$_provisioning

$_provisioning : integer

Whether we require provisioned devices.

Valid values are:

  • Horde_ActiveSync::PROVISIONING_FORCE: Accept ONLY provisioned devices
  • Horde_ActiveSync::PROVISIONING_LOOSE: Force provisioning if device supports provisioning, allow non-provisionable devices as well.
  • Horde_ActiveSync::PROVISIONING_NONE: Allow any device.

Type

integer

$_statusCode

$_statusCode : integer

Used to track what error code to send back to client on failure

Type

integer

$_activeSync

$_activeSync : \Horde_ActiveSync

ActiveSync server

Type

\Horde_ActiveSync

$_logger

$_logger : \Horde_Log_Logger

Logger

Type

\Horde_Log_Logger

$_procid

$_procid : integer

The procid

Type

integer

Methods

checkPolicyKey()

checkPolicyKey(string  $sentKey, string  $requestType = null) : boolean

Ensure the client's policy key is current.

Parameters

string $sentKey

The policykey sent to us by the client

string $requestType

The type of request we are handling. A Horde_ActiveSync constant.

Returns

boolean

setLogger()

setLogger(\Horde_Log_Logger  $logger) 

Set the logger.

Parameters

\Horde_Log_Logger $logger

handle()

handle() : boolean

Handle the request.

Returns

boolean

_cleanUpAfterPairing()

_cleanUpAfterPairing() 

Clean up after initial pairing. Initial pairing can happen either as a result of either a FOLDERSYNC or PROVISION command, depending on the device capabilities.

_requireProvisionWbxml()

_requireProvisionWbxml(string  $requestType, integer  $status) 

Send WBXML to indicate provisioning is required.

Parameters

string $requestType

The type of request we are handling.

integer $status

The reason we need to provision.

_handle()

_handle() : boolean

Handle request

Throws

\Horde_ActiveSync_Exception

Returns

boolean