Sylin.Koan.Classification.Contracts
1.0.12
dotnet add package Sylin.Koan.Classification.Contracts --version 1.0.12
NuGet\Install-Package Sylin.Koan.Classification.Contracts -Version 1.0.12
<PackageReference Include="Sylin.Koan.Classification.Contracts" Version="1.0.12" />
<PackageVersion Include="Sylin.Koan.Classification.Contracts" Version="1.0.12" />
<PackageReference Include="Sylin.Koan.Classification.Contracts" />
paket add Sylin.Koan.Classification.Contracts --version 1.0.12
#r "nuget: Sylin.Koan.Classification.Contracts, 1.0.12"
#:package Sylin.Koan.Classification.Contracts@1.0.12
#addin nuget:?package=Sylin.Koan.Classification.Contracts&version=1.0.12
#tool nuget:?package=Sylin.Koan.Classification.Contracts&version=1.0.12
Sylin.Koan.Classification.Contracts
Inert extension contracts for application- or adapter-owned Classification key custody.
Install
dotnet add package Sylin.Koan.Classification.Contracts
Meaningful use
Implement a key provider without activating field-at-rest behavior in the provider assembly itself:
public sealed class ApplicationKeyProvider : IClassificationKeyProvider
{
public ClassificationDataKey GetActiveKey(string scope)
=> throw new NotImplementedException("Resolve the active durable key for this opaque scope.");
public ClassificationDataKey GetForDecrypt(string keyId)
=> throw new NotImplementedException("Resolve this retained key id from durable custody.");
}
The application that wants Classification behavior references Sylin.Koan.Classification, registers the provider
before AddKoan(), and keeps all scope/encryption mechanics inside Koan:
builder.Services.AddSingleton<IClassificationKeyProvider, ApplicationKeyProvider>();
builder.Services.AddKoan();
This package contains no Koan module and performs no registration or startup work. Referencing it alone is a deterministic no-op.
Boundaries
- This package defines custody interoperability; it does not supply encryption behavior or a key store.
- The provider owns durable material protection, rotation retention, concurrency, and disposal.
- Koan supplies opaque scopes and key ids. Provider code should not infer tenant or other business meaning from them.
- Erasure workflows, KMS-specific configuration, vault health, and compliance policy are outside this contract.
See TECHNICAL.md.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Sylin.Koan.Classification.Contracts:
| Package | Downloads |
|---|---|
|
Sylin.Koan.Classification
Local-first AES-GCM field-at-rest protection for writable string Entity properties declared with Koan classification attributes. |
GitHub repositories
This package is not used by any popular GitHub repositories.