private signatureIsValid ( string $httpMethod, string $url, string $publicKey, array $privateKey, string $timestamp, string $signature ) : boolean | ||
$httpMethod | string | The current HTTP method |
$url | string | The accessed URL |
$publicKey | string | The current public key |
$privateKey | array | The private key to sign the hash with |
$timestamp | string | A valid timestamp |
$signature | string | The signature to compare with |
return | boolean |