(self, enc_alg, headers, key, preset=None)
| 33 | return {} |
| 34 | |
| 35 | def wrap(self, enc_alg, headers, key, preset=None): |
| 36 | cek = key.get_op_key("encrypt") |
| 37 | if len(cek) * 8 != enc_alg.CEK_SIZE: |
| 38 | raise ValueError('Invalid "cek" length') |
| 39 | return {"ek": b"", "cek": cek} |
| 40 | |
| 41 | def unwrap(self, enc_alg, ek, headers, key): |
| 42 | cek = key.get_op_key("decrypt") |
nothing calls this directly
no test coverage detected