Bitzsoft.Integrations.ElectronicSignature.Anzhengtong
1.0.0-alpha.7
This is a prerelease version of Bitzsoft.Integrations.ElectronicSignature.Anzhengtong.
dotnet add package Bitzsoft.Integrations.ElectronicSignature.Anzhengtong --version 1.0.0-alpha.7
NuGet\Install-Package Bitzsoft.Integrations.ElectronicSignature.Anzhengtong -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.Anzhengtong" 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.Anzhengtong" Version="1.0.0-alpha.7" />
<PackageReference Include="Bitzsoft.Integrations.ElectronicSignature.Anzhengtong" />
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.Anzhengtong --version 1.0.0-alpha.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Bitzsoft.Integrations.ElectronicSignature.Anzhengtong, 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.Anzhengtong@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.Anzhengtong&version=1.0.0-alpha.7&prerelease
#tool nuget:?package=Bitzsoft.Integrations.ElectronicSignature.Anzhengtong&version=1.0.0-alpha.7&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Bitzsoft.Integrations.ElectronicSignature.Anzhengtong
安证通(一签通)电子签章集成。
功能特性
- 完整实现
IElectronicSignatureProvider接口:覆盖合同发起、详情、下载、查看、撤销、签署 URL、签署状态、印章、模板、回调验签全部统一方法 - partial class 扩展:通过部分类暴露安证通全部 API,按业务领域拆分多个文件
- AppId + AppSecret 鉴权:统一签名头注入
- 回调解析:实现
IElectronicSignatureCallbackParser,将原始回调报文解析为标准CallbackEvent
扩展方法(partial class)
- SignTasks — 签署申请、签署结果查询、预定义签署(form 回填)
- Documents — 文件上传、水印、下载、预览、签名验证
- Office — 在线文档编辑、编辑状态查询
- LicenseAndAI — 表单回填、表单字段映射、文件比对、关键字智能提取
安装
dotnet add package Bitzsoft.Integrations.ElectronicSignature.Anzhengtong
<PackageReference Include="Bitzsoft.Integrations.ElectronicSignature.Anzhengtong" Version="*" />
配置
{
"Anzhengtong": {
"AppId": "your-app-id",
"AppSecret": "your-app-secret",
"BaseUrl": "https://example.com"
}
}
| 配置项 | 说明 | 默认值 |
|---|---|---|
AppId |
应用标识 | - |
AppSecret |
应用密钥 | - |
BaseUrl |
API 基地址 | - |
Timeout |
请求超时 | 30s |
HttpClientName |
命名 HttpClient | AnzhengtongElectronicSignatureProvider |
注册
services.AddBitzsoftAnzhengtongElectronicSignature(options =>
{
options.AppId = "your-app-id";
options.AppSecret = "your-app-secret";
options.BaseUrl = "https://example.com";
});
第三方请求日志
内置 Bitzsoft.Integrations.RequestLogging 出站请求记录管道,默认 NullRequestLogStore 不持久化。
// ① 默认:启用记录管道但不持久化(日志丢弃)
services.AddBitzsoftAnzhengtongElectronicSignature(options => { /* ... */ });
// ② 持久化:宿主注册 IRequestLogStore 实现后,所有出站请求自动落库
services.AddRequestLogging<MyRequestLogStore>(opts =>
{
opts.MaxBodyLength = 8192;
opts.SensitiveFields.Add("mySecret");
});
services.AddBitzsoftAnzhengtongElectronicSignature(options => { /* ... */ });
依赖
Bitzsoft.Integrations.Compatibility:基础工具库
相关包
| Product | Versions 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.
-
net10.0
- Bitzsoft.Integrations.Compatibility (>= 1.0.0-alpha.7)
- Bitzsoft.Integrations.ElectronicSignature (>= 1.0.0-alpha.7)
- Bitzsoft.Integrations.RequestLogging (>= 1.0.0-alpha.7)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Http (>= 10.0.9)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.9)
-
net5.0
- Bitzsoft.Integrations.Compatibility (>= 1.0.0-alpha.7)
- Bitzsoft.Integrations.ElectronicSignature (>= 1.0.0-alpha.7)
- Bitzsoft.Integrations.RequestLogging (>= 1.0.0-alpha.7)
- Microsoft.Extensions.Configuration.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Http (>= 5.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 5.0.0)
-
net8.0
- Bitzsoft.Integrations.Compatibility (>= 1.0.0-alpha.7)
- Bitzsoft.Integrations.ElectronicSignature (>= 1.0.0-alpha.7)
- Bitzsoft.Integrations.RequestLogging (>= 1.0.0-alpha.7)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Http (>= 10.0.9)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.9)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Bitzsoft.Integrations.ElectronicSignature.Anzhengtong:
| Package | Downloads |
|---|---|
|
Bitzsoft.Integrations.ElectronicSignature.All
电子签章聚合包 — 包含君子签 / 法大大 / 爱签 / 上上签 / e签宝 / 契约锁 / 安证通 / 腾讯电子签全部实现 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-alpha.7 | 55 | 6/16/2026 |
| 1.0.0-alpha.6 | 53 | 6/16/2026 |
| 1.0.0-alpha.5 | 50 | 6/14/2026 |
| 1.0.0-alpha.3 | 48 | 6/7/2026 |