LocalData/Sources/LocalData/Protocols/KeyMaterialProviding.swift
Matt Bruce 2a42e3dba0 Update Audit, Helpers, Migrations (+2 more)
Summary:
- Sources: update Audit, Helpers, Migrations (+2 more)

Stats:
- 29 files changed, 471 insertions(+), 25 deletions(-)
2026-01-18 13:43:12 -06:00

11 lines
419 B
Swift

/// Supplies encryption key material to support external key sources.
///
/// Conformers provide raw bytes used by ``SecurityPolicy.EncryptionPolicy.external``.
import Foundation
/// Supplies external key material for encryption policies.
public protocol KeyMaterialProviding: Sendable {
/// Returns key material associated with the given key name.
func keyMaterial(for keyName: String) async throws -> Data
}