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

Class KeyResolver

samples/queue/encryption_usage.py:48–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

require_encryptionMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected