Documentation
¶
Overview ¶
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 ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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) GetPrecertIndex ¶
func (*EntryList) ProtoMessage ¶
func (*EntryList) ProtoMessage()
type MapperMetadata ¶ added in v1.0.2
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 `` /* 131-byte string literal not displayed */
}
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 ¶ added in v1.0.2
func (*MapperMetadata) Descriptor() ([]byte, []int)
func (*MapperMetadata) GetHighestFullyCompletedSeq ¶ added in v1.0.2
func (m *MapperMetadata) GetHighestFullyCompletedSeq() int64
func (*MapperMetadata) GetSourceLogId ¶ added in v1.0.2
func (m *MapperMetadata) GetSourceLogId() []byte
func (*MapperMetadata) ProtoMessage ¶ added in v1.0.2
func (*MapperMetadata) ProtoMessage()
func (*MapperMetadata) Reset ¶ added in v1.0.2
func (m *MapperMetadata) Reset()
func (*MapperMetadata) String ¶ added in v1.0.2
func (m *MapperMetadata) String() string
Click to show internal directories.
Click to hide internal directories.