Bitzsoft.Integrations.ElectronicSignature.All 1.0.0-alpha.10

This is a prerelease version of Bitzsoft.Integrations.ElectronicSignature.All.
dotnet add package Bitzsoft.Integrations.ElectronicSignature.All --version 1.0.0-alpha.10
                    
NuGet\Install-Package Bitzsoft.Integrations.ElectronicSignature.All -Version 1.0.0-alpha.10
                    
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="Bitzsoft.Integrations.ElectronicSignature.All" Version="1.0.0-alpha.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bitzsoft.Integrations.ElectronicSignature.All" Version="1.0.0-alpha.10" />
                    
Directory.Packages.props
<PackageReference Include="Bitzsoft.Integrations.ElectronicSignature.All" />
                    
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 Bitzsoft.Integrations.ElectronicSignature.All --version 1.0.0-alpha.10
                    
#r "nuget: Bitzsoft.Integrations.ElectronicSignature.All, 1.0.0-alpha.10"
                    
#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 Bitzsoft.Integrations.ElectronicSignature.All@1.0.0-alpha.10
                    
#: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=Bitzsoft.Integrations.ElectronicSignature.All&version=1.0.0-alpha.10&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Bitzsoft.Integrations.ElectronicSignature.All&version=1.0.0-alpha.10&prerelease
                    
Install as a Cake Tool

Bitzsoft.Integrations.ElectronicSignature.All

电子签章聚合包 — 一站式引入全部电子签章供应商实现。

功能特性

  • 一站式聚合全部供应商:安证通 / e签宝 / 法大大 / 君子签 / 爱签 / 上上签 / 契约锁 / 腾讯电子签
  • 按配置注册AddBitzsoftElectronicSignatureAll 只注册配置中存在的供应商
  • 稳定路由:通过 IIntegrationProviderResolver<T> 按 Provider ID 解析签署与回调能力

安装

dotnet add package Bitzsoft.Integrations.ElectronicSignature.All
<PackageReference Include="Bitzsoft.Integrations.ElectronicSignature.All" Version="1.0.0" />

包含的供应商

供应商 实现包 注册方法
契约锁 Bitzsoft.Integrations.ElectronicSignature.Qiyuesuo AddBitzsoftQiyuesuoElectronicSignature
e签宝 Bitzsoft.Integrations.ElectronicSignature.ESign AddBitzsoftESignElectronicSignature
法大大 Bitzsoft.Integrations.ElectronicSignature.Fadada AddBitzsoftFadadaElectronicSignature
君子签 Bitzsoft.Integrations.ElectronicSignature.Junziqian AddBitzsoftJunziqianElectronicSignature
爱签 Bitzsoft.Integrations.ElectronicSignature.Asign AddBitzsoftAsignElectronicSignature
上上签 Bitzsoft.Integrations.ElectronicSignature.BestSign AddBitzsoftBestSignElectronicSignature
安证通 Bitzsoft.Integrations.ElectronicSignature.Anzhengtong AddBitzsoftAnzhengtongElectronicSignature
腾讯电子签 Bitzsoft.Integrations.ElectronicSignature.Tencent AddBitzsoftTencentElectronicSignature

注册服务

聚合注册会检查 ElectronicSignature:{Provider} 配置节:

services.AddBitzsoftElectronicSignatureAll(configuration);

也可以继续调用单个供应商的 AddBitzsoft*ElectronicSignature 重载。

使用示例

注册后通过 IElectronicSignatureProvider 按供应商标识解析目标实现:

public class SignService(
    IIntegrationProviderResolver<IElectronicSignatureProvider> providers)
{
    public IElectronicSignatureProvider Resolve(string vendor)
        => providers.GetRequired(vendor);

    public async Task<string> CreateAsync(string vendor, byte[] pdf)
    {
        var provider = Resolve(vendor);
        var result = await provider.CreateContractAsync(new SimpleContractRequest
        {
            Title = "采购合同",
            FileName = "contract.pdf",
            FileData = pdf,
            SignerName = "张三",
            SignerPhone = "13800000000"
        });

        return result.IsSuccess ? result.Data! : throw new Exception(result.ErrorMessage);
    }
}

回调解析使用 IIntegrationProviderResolver<IElectronicSignatureCallbackParser>,Provider ID 为 qiyuesuoesignfadadajunziqianasignbestsignanzhengtongtencent

说明

若只需单个供应商,仍建议按需引入对应实现包。直接注入单个能力接口仅用于单 Provider 兼容场景;多 Provider 必须使用 resolver。

依赖

相关包

供应商 包名
统一抽象 Bitzsoft.Integrations.ElectronicSignature
君子签 Bitzsoft.Integrations.ElectronicSignature.Junziqian
法大大 Bitzsoft.Integrations.ElectronicSignature.Fadada
爱签 Bitzsoft.Integrations.ElectronicSignature.Asign
上上签 Bitzsoft.Integrations.ElectronicSignature.BestSign
e签宝 Bitzsoft.Integrations.ElectronicSignature.ESign
契约锁 Bitzsoft.Integrations.ElectronicSignature.Qiyuesuo
安证通 Bitzsoft.Integrations.ElectronicSignature.Anzhengtong
腾讯电子签 Bitzsoft.Integrations.ElectronicSignature.Tencent
聚合包 Bitzsoft.Integrations.ElectronicSignature.All
基础工具库 Bitzsoft.Integrations.Compatibility
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-alpha.10 20 7/26/2026
1.0.0-alpha.9 64 7/12/2026
1.0.0-alpha.8 71 7/1/2026
1.0.0-alpha.7 102 6/16/2026
1.0.0-alpha.6 99 6/16/2026
1.0.0-alpha.5 104 6/14/2026
1.0.0-alpha.4 77 7/1/2026
1.0.0-alpha.3 112 6/7/2026