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

Class KeyResolver

samples/blob/encryption_usage.py:49–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

get_encrypted_blobMethod · 0.70
require_encryptionMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected