Bitzsoft.Integrations.ElectronicSignature 1.0.0-alpha.7

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

Bitzsoft.Integrations.ElectronicSignature

电子签章抽象层 — 统一接口定义与基础模型。

功能特性

  • 统一供应商接口 IElectronicSignatureProvider:屏蔽君子签、法大大、e签宝、上上签等供应商差异,提供一致的合同发起、签署、印章、模板、回调验签 API
  • 统一回调解析 IElectronicSignatureCallbackParser:将各供应商原始回调报文解析为标准 CallbackEvent
  • 不可变模型设计:所有接口返回 ElectronicSignatureResult<T> 包装,集合使用 IReadOnlyList<T> 保证只读
  • 可扩展架构:实现 IElectronicSignatureProvider 即可接入新的电子签章供应商

安装

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

接口

IElectronicSignatureProvider

统一的电子签章供应商接口,定义 11 个异步合同/签署/印章/模板方法 + 回调验签 + 供应商标识:

方法 说明
ProviderName 供应商名称标识
CreateContractAsync 创建并发起签署
GetContractDetailAsync 获取合同详情
DownloadContractAsync 下载合同文件
GetContractViewUrlAsync 获取在线查看地址
CancelContractAsync 撤销签署
GetSigningUrlAsync 获取签署页面 URL
GetSigningStatusAsync 获取签署状态
ListSealsAsync 获取印章列表
GetSealDetailAsync 获取印章详情
ListTemplatesAsync 获取模板列表
GetTemplateDetailAsync 获取模板详情
VerifyCallback 验证回调签名

IElectronicSignatureCallbackParser

统一的回调事件解析器接口,将各供应商原始回调报文解析为 CallbackEvent

模型

说明
SimpleContractRequest 极简签署请求(单文件、单签署方)
ContractDetail 合同详情
SigningStatus 签署状态
SealInfo 印章信息
TemplateInfo 模板摘要
TemplateDetail 模板详情
CallbackEvent 回调事件
ContractStatus 合同状态枚举
ElectronicSignatureResult<T> 统一结果包装

供应商实现

包名 供应商 NuGet
Bitzsoft.Integrations.ElectronicSignature.Junziqian 君子签
Bitzsoft.Integrations.ElectronicSignature.Fadada 法大大
Bitzsoft.Integrations.ElectronicSignature.Asign 爱签
Bitzsoft.Integrations.ElectronicSignature.BestSign 上上签
Bitzsoft.Integrations.ElectronicSignature.ESign e签宝
Bitzsoft.Integrations.ElectronicSignature.Qiyuesuo 契约锁
Bitzsoft.Integrations.ElectronicSignature.Anzhengtong 安证通
Bitzsoft.Integrations.ElectronicSignature.Tencent 腾讯电子签
Bitzsoft.Integrations.ElectronicSignature.All 全部聚合

依赖

  • Bitzsoft.Integrations.Compatibility:基础工具库

相关包

供应商 包名
统一抽象 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 (10)

Showing the top 5 NuGet packages that depend on Bitzsoft.Integrations.ElectronicSignature:

Package Downloads
Bitzsoft.Integrations.All

Bitzsoft 第三方集成聚合包 — 包含全部 Integration 模块

Bitzsoft.Integrations.ElectronicSignature.Fadada

法大大电子签章实现

Bitzsoft.Integrations.ElectronicSignature.Qiyuesuo

契约锁电子签章实现

Bitzsoft.Integrations.ElectronicSignature.BestSign

上上签电子签章实现

Bitzsoft.Integrations.ElectronicSignature.ESign

e签宝电子签章实现

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-alpha.7 93 6/16/2026
1.0.0-alpha.6 96 6/16/2026
1.0.0-alpha.5 103 6/14/2026
1.0.0-alpha.3 90 6/7/2026