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

Method prepare_key

authlib/jose/rfc8037/jws_eddsa.py:11–12  ·  view source on GitHub ↗
(self, raw_data)

Source from the content-addressed store, hash-verified

9 description = "Edwards-curve Digital Signature Algorithm for JWS"
10
11 def prepare_key(self, raw_data):
12 return OKPKey.import_key(raw_data)
13
14 def sign(self, msg, key):
15 op_key = key.get_op_key("sign")

Callers

nothing calls this directly

Calls 1

import_keyMethod · 0.45

Tested by

no test coverage detected