mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 17:27:08 +08:00
1 parent
4cc24722c2
commit
5b0da8f06b
2 files changed
+5
-5
No files matched your search
@@ -43,7 +43,7 @@ type FontInfo = ofdgo.FontInfo
|
||||
type SignatureInfo struct {
|
||||
ID string `json:"id"`
|
||||
Type string `json:"type"`
|
||||
Valid bool `json:"valid"`
|
||||
IntegrityValid bool `json:"integrityValid"`
|
||||
Version string `json:"version,omitempty"`
|
||||
SealType string `json:"sealType,omitempty"`
|
||||
Signer string `json:"signer,omitempty"`
|
||||
@@ -346,7 +346,7 @@ func signatureInfo(report ofdgo.SignatureVerifyReport) SignatureInfo {
|
||||
return SignatureInfo{
|
||||
ID: report.ID,
|
||||
Type: string(report.Type),
|
||||
Valid: report.Valid,
|
||||
IntegrityValid: report.IntegrityValid(),
|
||||
Version: report.Provider.Version,
|
||||
SealType: report.SealType,
|
||||
Signer: signatureSigner(report),
|
||||
|
||||
Reference in new issue
Block a user