Summary: - Sources: update Audit, Helpers, Migrations (+2 more) Stats: - 29 files changed, 471 insertions(+), 25 deletions(-)
11 lines
419 B
Swift
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
|
|
}
|