ctmapperpb

package
v1.2.1 Latest Latest
Warning

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

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

Documentation

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"`
	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) 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

func (*EntryList) XXX_DiscardUnknown added in v1.2.1

func (m *EntryList) XXX_DiscardUnknown()

func (*EntryList) XXX_Marshal added in v1.2.1

func (m *EntryList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EntryList) XXX_Merge added in v1.2.1

func (dst *EntryList) XXX_Merge(src proto.Message)

func (*EntryList) XXX_Size added in v1.2.1

func (m *EntryList) XXX_Size() int

func (*EntryList) XXX_Unmarshal added in v1.2.1

func (m *EntryList) XXX_Unmarshal(b []byte) error

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 */
	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 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

func (*MapperMetadata) XXX_DiscardUnknown added in v1.2.1

func (m *MapperMetadata) XXX_DiscardUnknown()

func (*MapperMetadata) XXX_Marshal added in v1.2.1

func (m *MapperMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MapperMetadata) XXX_Merge added in v1.2.1

func (dst *MapperMetadata) XXX_Merge(src proto.Message)

func (*MapperMetadata) XXX_Size added in v1.2.1

func (m *MapperMetadata) XXX_Size() int

func (*MapperMetadata) XXX_Unmarshal added in v1.2.1

func (m *MapperMetadata) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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