MCPcopy Create free account
hub / github.com/Azure/azure-storage-python / KeyResolver

Class KeyResolver

tests/encryption_test_helper.py:45–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43
44
45class KeyResolver:
46 def __init__(self):
47 self.keys = {}
48
49 def put_key(self, key):
50 self.keys[key.get_kid()] = key
51
52 def resolve_key(self, kid):
53 return self.keys[kid]
54
55
56class RSAKeyWrapper:

Calls

no outgoing calls