KS.Fiks.ASiC-E 1.0.3

Install-Package KS.Fiks.ASiC-E -Version 1.0.3
dotnet add package KS.Fiks.ASiC-E --version 1.0.3
<PackageReference Include="KS.Fiks.ASiC-E" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KS.Fiks.ASiC-E --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: KS.Fiks.ASiC-E, 1.0.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install KS.Fiks.ASiC-E as a Cake Addin
#addin nuget:?package=KS.Fiks.ASiC-E&version=1.0.3

// Install KS.Fiks.ASiC-E as a Cake Tool
#tool nuget:?package=KS.Fiks.ASiC-E&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


MIT license Nuget GitHub issues GitHub Release Date

Library for working with ASiC-E packages in .Net Core based projects. This project is created by KS and released under a MIT license.

For more information on how to use this library, check the unit test module. The long term goal of this project is to be functionally compliant with the DIFI ASiC library for Java.

Currently implements:

  • building ASiC-E packages containing binaries containing CAdES descriptor
  • signing packages using private/public keys in PEM files
  • reading ASiC-E packages including exposing CAdES signatures (only CAdES manifest descriptor supported for now)


  • support for specifying OASIS manifest
  • support XAdES signatures


Create ASiC-E package containing single file

using (var outStream = // create outstream)
using (var fileStream = // open FileStream )
    using (var asiceBuilder =
        AsiceBuilder.Create(outStream, MessageDigestAlgorithm.SHA256, signingCertificates))

        var asiceArchive = asiceBuilder.Build();
        // archive is created, at this point the data will have been flushed to the outStream

Read data from ASiC-E

IAsicReader reader = new AsiceReader();
using (var inputStream = // ASiC-E package to read)
using (var asice = reader.Read(inputStream))
    foreach (var asiceReadEntry in asice.Entries)
        using (var entryStream = asiceReadEntry.OpenStream())
        using (var outStream = // stream to output the data to)

    // Check that all digests declared in the manifest are valid
        // Do something
        // Handle error

NuGet packages (1)

Showing the top 1 NuGet packages that depend on KS.Fiks.ASiC-E:

Package Downloads

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 999 5/11/2021
1.0.2 3,461 5/5/2020
1.0.1 872 5/6/2019
1.0.0 264 4/30/2019
0.9.9 268 4/30/2019