Class taggedhash
Implements multiple hash encodings with hash method tagging, cf. RFC 2307. The encoded hash is prefixed by the hash method used in curly brackets; all encoding drivers are supported. The hash itself is stored in binary format, encoded in Base-64.
- Core\Object implements Core\Chainable
-
Core\Set
implements
Core\Accessor
-
Core\Set\Mutable
implements
Core\Mutator
-
Core\Field
implements
Core\Inquiry
-
Core\Encoder
-
Core\Encoder\Driver\taggedhash
Package: Core\Encoder
Link: RFC 2307: An Approach for Using LDAP as a Network Information Service
Since: 3.1
Requires: PHP 5.3
Version: 1.0
Located at Encoder/Driver/taggedhash.inc.php
Methods summary
public
|
|
public
|
#
decoderURI( )
Generally, as this encoding depends on other encoders, encoded values cannot be decoded. |
public
boolean
|
|
public
boolean
|
#
verify( string $input, string $output )
Verifies that this encoder applied to given input data yields the given output data. Verification silently fails, if no matching driver for the embedded encoding scheme is found. |
protected
string
|
Methods inherited from Core\Encoder
__invoke(),
autocreate(),
chain(),
decoderChainURI(),
encode(),
encoderChainURI(),
getDataForUndefinedKey(),
resolveDecoder(),
resolveDecoderChain()
Methods inherited from Core\Field
getDataForKey(),
getDataForKeys(),
issetDataForKey(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset()
Methods inherited from Core\Set\Mutable
Methods inherited from Core\Object
__autocreateFactory(),
__call(),
__processParameters(),
__toString(),
attachMethod(),
getValueForKey(),
getValueForKeyPath(),
getValueForUndefinedKey(),
hash(),
issetValueForKey(),
setValueForKey(),
setValueForKeyPath(),
setValueForUndefinedKey(),
uuid()
Constants summary
Constants inherited from Core\Encoder
Constants inherited from Core\Object
AnyParameterType,
AutochainParameterType,
AutocreateParameterType,
BooleanParameterType,
CharParameterType,
EnumParameterType,
IntegerParameterType,
RealParameterType,
StringParameterType,
UserParameterType
Properties summary
protected
|
$_v_defaultEncoder
KVC property. |
|
protected
string
|
$_v_defaultScheme
KVC property |
Properties inherited from Core\Encoder
Properties inherited from Core\Field
Magic properties
public read-only
|
$defaultEncoder
Reference to encoder instance used by default to encode data. |
public read-only
string
|
$defaultScheme
Scheme of default encoder used to encode data. |