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

Method prepare_key

authlib/jose/rfc7518/jws_algs.py:91–92  ·  view source on GitHub ↗
(self, raw_data)

Source from the content-addressed store, hash-verified

89 self.padding = padding.PKCS1v15()
90
91 def prepare_key(self, raw_data):
92 return RSAKey.import_key(raw_data)
93
94 def sign(self, msg, key):
95 op_key = key.get_op_key("sign")

Callers

nothing calls this directly

Calls 1

import_keyMethod · 0.45

Tested by

no test coverage detected