Method __builtin.Nettle.Sign()->jose_decode()
- Method
jose_decode
 array(mapping(string(7bit):string(7bit)|int)|string(8bit))|zerojose_decode(string(7bit)jws)- Description
 Verify and decode a JOSE JWS signed value.
- Parameter 
jws A JSON Web Signature as returned by jose_sign().
- Returns
 Returns
0(zero) on failure, and an arrayArray mapping(string(7bit):string(7bit)|int)0The JOSE header.
string(8bit)1The signed message.
- Note
 The default implementation returns
0for all parameters, and can thus serve as a fallback for signature algorithms that don't support or aren't supported by JWS (eg Crypto.DSA).- See also