Method __builtin.Nettle.Sign()->jwk_thumbprint()
- Method
jwk_thumbprint
string(8bit)|zerojwk_thumbprint(.Hashh)- Description
Generate a JOSE JWK Thumbprint of the object.
- Parameter
h Hash algorithm to use.
- Returns
Returns the thumbprint (ie hash of the public fields) on success, and
0(zero) on failure (typically that the object isn't initialized properly, or that it isn't supported by JWK).A typical use for this function is to generate a kid (key ID) value (cf RFC 7638 section 1.
- See also