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

Method __init__

authlib/jose/rfc7518/jwe_algs.py:128–131  ·  view source on GitHub ↗
(self, key_size)

Source from the content-addressed store, hash-verified

126 EXTRA_HEADERS = frozenset(["iv", "tag"])
127
128 def __init__(self, key_size):
129 self.name = f"A{key_size}GCMKW"
130 self.description = f"Key wrapping with AES GCM using {key_size}-bit key"
131 self.key_size = key_size
132
133 def prepare_key(self, raw_data):
134 return OctKey.import_key(raw_data)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected