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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sylin.Koan.Classification.Contracts" Version="1.0.12" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sylin.Koan.Classification.Contracts" Version="1.0.12" />
                    
Directory.Packages.props
<PackageReference Include="Sylin.Koan.Classification.Contracts" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Sylin.Koan.Classification.Contracts --version 1.0.12
                    
#r "nuget: Sylin.Koan.Classification.Contracts, 1.0.12"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Sylin.Koan.Classification.Contracts@1.0.12
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Sylin.Koan.Classification.Contracts&version=1.0.12
                    
Install as a Cake Addin
#tool nuget:?package=Sylin.Koan.Classification.Contracts&version=1.0.12
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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.

Version Downloads Last Updated
1.0.12 237 9/9/2026
1.0.11 128 9/9/2026
1.0.10 154 8/30/2026
1.0.9 172 8/28/2026
1.0.8 120 8/27/2026
1.0.7 135 8/25/2026
1.0.6 123 8/24/2026
1.0.4 136 8/22/2026
1.0.2 162 8/20/2026
1.0.0 148 8/14/2026
0.20.3 128 7/22/2026
0.20.2 187 7/21/2026