File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ package cbnt
99// HashStructure describes a digest.
1010type HashStructure struct {
1111 HashAlg Algorithm `default:"0x10" json:"hsAlg"`
12- HashBuffer []byte `json:"hsBuffer "`
12+ HashBuffer []byte `json:"- "`
1313}
1414
1515// HashList describes multiple digests
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ type Key struct {
2424 KeyAlg Algorithm `json:"keyAlg"`
2525 Version uint8 `require:"0x10" json:"keyVersion"`
2626 KeySize BitSize `json:"keyBitsize"`
27- Data []byte `countValue:"keyDataSize()" json:"keyData "`
27+ Data []byte `countValue:"keyDataSize()" json:"- "`
2828}
2929
3030// BitSize is a size in bits.
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ type Signature struct {
2424 Version uint8 `require:"0x10" json:"sigVersion,omitempty"`
2525 KeySize BitSize `json:"sigKeysize,omitempty"`
2626 HashAlg Algorithm `json:"sigHashAlg"`
27- Data []byte `countValue:"KeySize.InBytes()" prettyValue:"dataPrettyValue()" json:"sigData "`
27+ Data []byte `countValue:"KeySize.InBytes()" prettyValue:"dataPrettyValue()" json:"- "`
2828}
2929
3030func (m Signature ) dataPrettyValue () interface {} {
You can’t perform that action at this time.
0 commit comments