Method Crypto.ECC.Curve25519.EdDSA()->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 EdDSA signature.- Parameter
message Message to sign.
- Parameter
h Hash algorithm to use; ignored for Ed25519.
- Returns
Returns the signature on success, and
0(zero) on failure.- See also
pkcs_verify(),
salt_size(), RFC 7515