MCPcopy Create free account
hub / github.com/authlib/authlib / sign

Method sign

authlib/jose/rfc8037/jws_eddsa.py:14–16  ·  view source on GitHub ↗
(self, msg, key)

Source from the content-addressed store, hash-verified

12 return OKPKey.import_key(raw_data)
13
14 def sign(self, msg, key):
15 op_key = key.get_op_key("sign")
16 return op_key.sign(msg)
17
18 def verify(self, msg, sig, key):
19 op_key = key.get_op_key("verify")

Callers

nothing calls this directly

Calls 1

get_op_keyMethod · 0.45

Tested by

no test coverage detected