package ctmapperpb
import "github.com/google/trillian/examples/ct/ctmapper/ctmapperpb"
Package ctmapperpb is a generated protocol buffer package.
It is generated from these files:
ct_mapper.proto
It has these top-level messages:
MapperMetadata EntryList
Index ¶
- type EntryList
- func (*EntryList) Descriptor() ([]byte, []int)
- func (m *EntryList) GetCertIndex() []int64
- func (m *EntryList) GetDomain() string
- func (m *EntryList) GetPrecertIndex() []int64
- func (*EntryList) ProtoMessage()
- func (m *EntryList) Reset()
- func (m *EntryList) String() string
- type MapperMetadata
Types ¶
type EntryList ¶
type EntryList struct { // The domain referenced by entries in the mapped CT Log. Domain string `protobuf:"bytes,1,opt,name=domain" json:"domain,omitempty"` // All log indexes of mapped Log entries referencing domain in // X.509 certs. CertIndex []int64 `protobuf:"varint,2,rep,packed,name=cert_index,json=certIndex" json:"cert_index,omitempty"` // All log indexes of mapped Log entries referencing domain in // pre-certs. PrecertIndex []int64 `protobuf:"varint,3,rep,packed,name=precert_index,json=precertIndex" json:"precert_index,omitempty"` }
EntryList represents a mapping stored in the Map after a source CT Log has been fetched and mapped. It holds the entry indices from the Log for all certificates and all pre-certificates that reference a particular domain.
func (*EntryList) Descriptor ¶
func (*EntryList) GetCertIndex ¶
func (*EntryList) GetDomain ¶
func (*EntryList) GetPrecertIndex ¶
func (*EntryList) ProtoMessage ¶
func (*EntryList) ProtoMessage()
func (*EntryList) Reset ¶
func (m *EntryList) Reset()
func (*EntryList) String ¶
type MapperMetadata ¶
type MapperMetadata struct { // LogID of the CT log source. SourceLogId []byte `protobuf:"bytes,1,opt,name=source_log_id,json=sourceLogId,proto3" json:"source_log_id,omitempty"` // Log Index in the source log of the highest entry mapped // in an earlier run. HighestFullyCompletedSeq int64 `protobuf:"varint,2,opt,name=highest_fully_completed_seq,json=highestFullyCompletedSeq" json:"highest_fully_completed_seq,omitempty"` }
MapperMetadata represents the state of the CT Mapper after it completes a run of loading the Map from the CT Log being watched. It is effectively a cursor over the source CT Log.
func (*MapperMetadata) Descriptor ¶
func (*MapperMetadata) Descriptor() ([]byte, []int)
func (*MapperMetadata) GetHighestFullyCompletedSeq ¶
func (m *MapperMetadata) GetHighestFullyCompletedSeq() int64
func (*MapperMetadata) GetSourceLogId ¶
func (m *MapperMetadata) GetSourceLogId() []byte
func (*MapperMetadata) ProtoMessage ¶
func (*MapperMetadata) ProtoMessage()
func (*MapperMetadata) Reset ¶
func (m *MapperMetadata) Reset()
func (*MapperMetadata) String ¶
func (m *MapperMetadata) String() string
Source Files ¶
- Version
- v1.0.2
- Published
- Oct 10, 2017
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 2 hours ago –
Tools for package owners.