MCPcopy
hub / github.com/authlib/authlib / prepare_key

Method prepare_key

authlib/jose/rfc7515/models.py:12–14  ·  view source on GitHub ↗

Prepare key for signing and verifying signature.

(self, raw_data)

Source from the content-addressed store, hash-verified

10 algorithm_location = "alg"
11
12 def prepare_key(self, raw_data):
13 """Prepare key for signing and verifying signature."""
14 raise NotImplementedError()
15
16 def sign(self, msg, key):
17 """Sign the text msg with a private/sign key.

Calls

no outgoing calls