Documentation

HmacSigner extends Signer
in package

Table of Contents

$hmacAlg  : string
$secret  : mixed
algorithm()  : string
getSecret()  : mixed
setSecret()  : void
sign()  : false|mixed|string

Properties

Methods

algorithm()

public abstract algorithm() : string
Return values
string

getSecret()

public getSecret() : mixed
Return values
mixed

setSecret()

public setSecret(mixed $secret) : void
Parameters
$secret : mixed
Return values
void

sign()

public sign(string $header, string $payload) : false|mixed|string
Parameters
$header : string
$payload : string
Return values
false|mixed|string

Search results