OKF4net.Attestation 0.5.0

dotnet add package OKF4net.Attestation --version 0.5.0
                    
NuGet\Install-Package OKF4net.Attestation -Version 0.5.0
                    
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="OKF4net.Attestation" Version="0.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OKF4net.Attestation" Version="0.5.0" />
                    
Directory.Packages.props
<PackageReference Include="OKF4net.Attestation" />
                    
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 OKF4net.Attestation --version 0.5.0
                    
#r "nuget: OKF4net.Attestation, 0.5.0"
                    
#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 OKF4net.Attestation@0.5.0
                    
#: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=OKF4net.Attestation&version=0.5.0
                    
Install as a Cake Addin
#tool nuget:?package=OKF4net.Attestation&version=0.5.0
                    
Install as a Cake Tool

OKF4net.Attestation

Host-plugged orchestration of Open Knowledge Format (OKF) v0.2 §10 Attested Computations, over the OKF4net format core. This project defines the host contracts a runtime plugs in (IParameterBinder, IComputationExecutor, IAttester, resolved per contract.Runtime through an IAttestationRuntimeRegistry), the value types that flow between them (BoundComputation, Receipt, AttestationVerdict, AttestationContext, AttestationOutcome), and an AttestationOrchestrator that drives one RunAsync call end to end: resolve the sanctioned computation, bind parameters, execute, validate the receipt shape, attest, and gate on staleness — always returning an AttestationOutcome (errors-as-data), never throwing for an expected failure. This package references only OKF4net — no third-party runtime dependencies.

using OKF4net;
using OKF4net.Attestation;

IAttestationRuntimeRegistry runtimes = new AttestationRuntimeRegistry(
    new Dictionary<string, IAttestationRuntime> { ["bigquery"] = myBigQueryRuntime });

var orchestrator = new AttestationOrchestrator(runtimes);

AttestationOutcome outcome = await orchestrator.RunAsync(
    bundle, conceptId, new Dictionary<string, object?> { ["region"] = "eu" });

if (outcome.Displayable)
{
    Console.WriteLine(outcome.Receipt);
}
else
{
    Console.WriteLine(string.Join("; ", outcome.Reasons));
}

Licensed LGPL-3.0-or-later.

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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on OKF4net.Attestation:

Package Downloads
OKF4net.Agents

Microsoft Agent Framework function tools for OKF knowledge bundles: expose OKF4net operations (read, browse, search, write, validate) as AIFunctions for AI agents.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.5.0 0 7/31/2026
0.4.0 29 7/30/2026
0.3.1-preview.1 33 7/30/2026