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

Method prepare_key

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

Source from the content-addressed store, hash-verified

27 description = "Direct use of a shared symmetric key"
28
29 def prepare_key(self, raw_data):
30 return OctKey.import_key(raw_data)
31
32 def generate_preset(self, enc_alg, key):
33 return {}

Callers

nothing calls this directly

Calls 1

import_keyMethod · 0.45

Tested by

no test coverage detected