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

Method __init__

authlib/jose/rfc7518/jwe_algs.py:53–57  ·  view source on GitHub ↗
(self, name, description, pad_fn)

Source from the content-addressed store, hash-verified

51 key_size = 2048
52
53 def __init__(self, name, description, pad_fn):
54 self.name = name
55 self.deprecated = name == "RSA1_5"
56 self.description = description
57 self.padding = pad_fn
58
59 def prepare_key(self, raw_data):
60 return RSAKey.import_key(raw_data)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected