refactor(性能优化): 提升代码质量
build.yaml / build (push) Successful in 35s

This commit is contained in:
2026-07-08 16:27:30 +08:00
parent 6be7f4b006
commit bb26adfe61
2 changed files with 7 additions and 9 deletions
+2
View File
@@ -79,6 +79,7 @@ type sesVerifyResult struct {
SealCert SignatureCertInfo
SignCertRaw []byte
SealCertRaw []byte
SealRaw []byte
Certs [][]byte
SealType string
}
@@ -193,6 +194,7 @@ func verifySESSignature(data, signedData []byte, options *signatureVerifyOptions
result.SealCert = signatureCertInfo(sig.Seal.Cert)
result.SignCertRaw = sig.Cert
result.SealCertRaw = sig.Seal.Cert
result.SealRaw = sig.Seal.Raw
result.Certs = append(result.Certs, sig.Seal.CertList.Certs...)
result.Certs = append(result.Certs, options.SignCerts...)
result.SealType = sig.Seal.PicType