package ctmapperpb
import "github.com/google/trillian/examples/ct/ctmapper/ctmapperpb"
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
- func (m *EntryList) XXX_DiscardUnknown()
- func (m *EntryList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EntryList) XXX_Merge(src proto.Message)
- func (m *EntryList) XXX_Size() int
- func (m *EntryList) XXX_Unmarshal(b []byte) error
- type MapperMetadata
- func (*MapperMetadata) Descriptor() ([]byte, []int)
- func (m *MapperMetadata) GetHighestFullyCompletedSeq() int64
- func (m *MapperMetadata) GetSourceLogId() []byte
- func (*MapperMetadata) ProtoMessage()
- func (m *MapperMetadata) Reset()
- func (m *MapperMetadata) String() string
- func (m *MapperMetadata) XXX_DiscardUnknown()
- func (m *MapperMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MapperMetadata) XXX_Merge(src proto.Message)
- func (m *MapperMetadata) XXX_Size() int
- func (m *MapperMetadata) XXX_Unmarshal(b []byte) error
Types ¶
type EntryList ¶
type EntryList struct { // The domain referenced by entries in the mapped CT Log. Domain string `protobuf:"bytes,1,opt,name=domain,proto3" 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,proto3" 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,proto3" json:"precert_index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 ¶
func (*EntryList) XXX_DiscardUnknown ¶
func (m *EntryList) XXX_DiscardUnknown()
func (*EntryList) XXX_Marshal ¶
func (*EntryList) XXX_Merge ¶
func (*EntryList) XXX_Size ¶
func (*EntryList) XXX_Unmarshal ¶
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,proto3" json:"highest_fully_completed_seq,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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
func (*MapperMetadata) XXX_DiscardUnknown ¶
func (m *MapperMetadata) XXX_DiscardUnknown()
func (*MapperMetadata) XXX_Marshal ¶
func (m *MapperMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MapperMetadata) XXX_Merge ¶
func (m *MapperMetadata) XXX_Merge(src proto.Message)
func (*MapperMetadata) XXX_Size ¶
func (m *MapperMetadata) XXX_Size() int
func (*MapperMetadata) XXX_Unmarshal ¶
func (m *MapperMetadata) XXX_Unmarshal(b []byte) error
Source Files ¶
- Version
- v1.3.6
- Published
- Jan 9, 2020
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 4 hours ago –
Tools for package owners.