Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
AcmePhp
Ssl
Signer
DataSigner
PHP Class AcmePhp\Ssl\Signer\DataSigner
Author:
Titouan Galopin (
[email protected]
)
Show file
Open project: acmephp/acmephp
Class Usage Examples
Public Methods
Method
Description
signData
(
string
$data
,
PrivateKey
$privateKey
,
integer
$algorithm
= OPENSSL_ALGO_SHA256 ) :
string
Generate a signature of the given data using a private key and an algorithm.
Method Details
signData()
public
method
Generate a signature of the given data using a private key and an algorithm.
public
signData
(
string
$data
,
PrivateKey
$privateKey
,
integer
$algorithm
= OPENSSL_ALGO_SHA256 ) :
string
$data
string
$privateKey
AcmePhp\Ssl\PrivateKey
$algorithm
integer
return
string