MCPcopy Create free account
hub / github.com/apache/arrow / wrap_key

Method wrap_key

python/pyarrow/tests/test_dataset_encryption.py:368–370  ·  view source on GitHub ↗
(self, key_bytes: bytes, _: str)

Source from the content-addressed store, hash-verified

366
367 class NoOpKmsClient(pe.KmsClient):
368 def wrap_key(self, key_bytes: bytes, _: str) -> bytes:
369 b = base64.b64encode(key_bytes)
370 return b
371
372 def unwrap_key(self, wrapped_key: bytes, _: str) -> bytes:
373 b = base64.b64decode(wrapped_key)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected