perf(优化提升): 提升双端性能并优化内存占用
build.yaml / build (push) Successful in 46s

This commit is contained in:
xiaoqidun committed 2026-10-19 23:17:39 +08:00
1 parent eb20f66ffb
commit 075797402d
41 files changed
+633 -125

No files matched your search

+2 -1
View File
@@ -59,7 +59,7 @@ type CryptoProvider interface {
EncryptKey(certificate, key []byte) ([]byte, error)
}
// ReaderOption 阅读器的凭据与密码提供者选项
// ReaderOption 阅读器的凭据、密码提供者与资源选项
type ReaderOption func(*readerOptions)
// EncryptionRecipient 证书加密接收者,Certificate为SM2公钥证书的DER编码
@@ -92,6 +92,7 @@ type EncryptionInfo struct {
// readerOptions 保存打开文档时的会话参数
type readerOptions struct {
resources *Resources
credentials []Credentials
provider CryptoProvider
}