Signature
in package
implements
SignatureInterface
Plain Old PHP Object that stores the signature r,s for ECDSA
Table of Contents
Interfaces
- SignatureInterface
- This is the contract for describing a signature used in ECDSA.
Properties
Methods
- __construct() : mixed
- Initialize a new instance with values
- getR() : GMP
- Returns the r parameter of the signature.
- getS() : GMP
- Returns the s parameter of the signature.
Properties
$r
private
GMP
$r
$s
private
GMP
$s
Methods
__construct()
Initialize a new instance with values
public
__construct(GMP $r, GMP $s) : mixed
Parameters
- $r : GMP
- $s : GMP
getR()
Returns the r parameter of the signature.
public
getR() : GMP
Tags
Return values
GMPgetS()
Returns the s parameter of the signature.
public
getS() : GMP