ctmapperpb

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

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) Descriptor() ([]byte, []int)

func (*EntryList) GetCertIndex

func (m *EntryList) GetCertIndex() []int64

func (*EntryList) GetDomain

func (m *EntryList) GetDomain() string

func (*EntryList) GetPrecertIndex

func (m *EntryList) GetPrecertIndex() []int64

func (*EntryList) ProtoMessage

func (*EntryList) ProtoMessage()

func (*EntryList) Reset

func (m *EntryList) Reset()

func (*EntryList) String

func (m *EntryList) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL