Method Crypto.ECC.Curve()->ECDSA()->jose_sign()
- Method
jose_sign
string(7bit)|zerojose_sign(string(8bit)message,.Hash|voidh,mapping(string(7bit):string(7bit)|int)|voidheaders)- Description
Signs the
messagewith a JOSE JWS ECDSA signature using hash algorithmh.- Parameter
message Message to sign.
- Parameter
h Hash algorithm to use.
- Returns
Returns the signature on success, and
0(zero) on failure.- See also
pkcs_verify(),
salt_size(), RFC 7515