Jose\Algorithm\SignatureAlgorithmInterface::sign PHP Method

sign() public method

Sign the input.
public sign ( Jose\Object\JWKInterface $key, string $input ) : string
$key Jose\Object\JWKInterface The private key used to sign the data
$input string The input
return string
    public function sign(JWKInterface $key, $input);
SignatureAlgorithmInterface