Documentation

Horde_Core_Secret extends Horde_Secret
in package

Wrap the base class in order to use a single secret key when authenticated to Horde, to reduce complexity and minimze cookie size.

Horde_Secret should only be used to encrypt data within the current session. To encrypt data generally, directly use an encryption library since how data is stored in a session may change without warning between versions.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2012-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL

Table of Contents

Constants

HORDE_KEYNAME  = 'horde_secret'

Methods

clearKey()  : mixed
getKey()  : mixed
setKey()  : mixed

Constants

HORDE_KEYNAME

public mixed HORDE_KEYNAME = 'horde_secret'

Methods

clearKey()

public clearKey([mixed $keyname = self::DEFAULT_KEY ]) : mixed
Parameters
$keyname : mixed = self::DEFAULT_KEY

getKey()

public getKey([mixed $keyname = self::DEFAULT_KEY ]) : mixed
Parameters
$keyname : mixed = self::DEFAULT_KEY

setKey()

public setKey([mixed $keyname = self::DEFAULT_KEY ]) : mixed
Parameters
$keyname : mixed = self::DEFAULT_KEY

        
On this page

Search results