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

Method __init__

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

Source from the content-addressed store, hash-verified

85
86class AESAlgorithm(JWEAlgorithm):
87 def __init__(self, key_size):
88 self.name = f"A{key_size}KW"
89 self.description = f"AES Key Wrap using {key_size}-bit key"
90 self.key_size = key_size
91
92 def prepare_key(self, raw_data):
93 return OctKey.import_key(raw_data)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected