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

Method _wrap_cek

authlib/jose/drafts/_jwe_algorithms.py:157–159  ·  view source on GitHub ↗
(self, cek, dk)

Source from the content-addressed store, hash-verified

155 )
156
157 def _wrap_cek(self, cek, dk):
158 kek = self.aeskw.prepare_key(dk)
159 return self.aeskw.wrap_cek(cek, kek)
160
161 def agree_upon_key_and_wrap_cek(
162 self, enc_alg, headers, key, sender_key, epk, cek, tag

Callers 1

Calls 2

wrap_cekMethod · 0.80
prepare_keyMethod · 0.45

Tested by

no test coverage detected