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

Method prepare_key

authlib/jose/rfc7518/jwe_algs.py:59–60  ·  view source on GitHub ↗
(self, raw_data)

Source from the content-addressed store, hash-verified

57 self.padding = pad_fn
58
59 def prepare_key(self, raw_data):
60 return RSAKey.import_key(raw_data)
61
62 def generate_preset(self, enc_alg, key):
63 cek = enc_alg.generate_cek()

Callers 2

wrapMethod · 0.45
unwrapMethod · 0.45

Calls 1

import_keyMethod · 0.45

Tested by

no test coverage detected