diff options
Diffstat (limited to 'types/item.go')
-rw-r--r-- | types/item.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/types/item.go b/types/item.go index 5e8836e..8596ce4 100644 --- a/types/item.go +++ b/types/item.go @@ -28,7 +28,10 @@ type StItem struct { SignedChecksumV1 *SignedChecksumV1 `tls:"selector:Format,val:5"` } -// TODO: StItemList +// StItemList is an StItem List that is at most 2^32-1 bytes when serialized. +type StItemList struct { + Items []StItem `tls:"minlen:0,maxlen:4294967295"` +} type SignedTreeHeadV1 struct { TreeHead TreeHeadV1 |