pb

package
v0.0.0-...-dd22d64 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MsgType_name = map[int32]string{
		0: "DATA",
		1: "OPEN",
		2: "CLOSE",
	}
	MsgType_value = map[string]int32{
		"DATA":  0,
		"OPEN":  1,
		"CLOSE": 2,
	}
)

Enum value maps for MsgType.

View Source
var File_github_com_luids_io_api_schemas_tlsutil_analyze_proto protoreflect.FileDescriptor
View Source
var File_github_com_luids_io_api_schemas_tlsutil_archive_proto protoreflect.FileDescriptor
View Source
var File_github_com_luids_io_api_schemas_tlsutil_classify_proto protoreflect.FileDescriptor
View Source
var File_github_com_luids_io_api_schemas_tlsutil_common_proto protoreflect.FileDescriptor
View Source
var File_github_com_luids_io_api_schemas_tlsutil_notary_proto protoreflect.FileDescriptor

Functions

func RegisterAnalyzeServer

func RegisterAnalyzeServer(s *grpc.Server, srv AnalyzeServer)

func RegisterArchiveServer

func RegisterArchiveServer(s *grpc.Server, srv ArchiveServer)

func RegisterClassifyServer

func RegisterClassifyServer(s *grpc.Server, srv ClassifyServer)

func RegisterNotaryServer

func RegisterNotaryServer(s *grpc.Server, srv NotaryServer)

Types

type AnalyzeClient

type AnalyzeClient interface {
	SendMessages(ctx context.Context, opts ...grpc.CallOption) (Analyze_SendMessagesClient, error)
}

AnalyzeClient is the client API for Analyze service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAnalyzeClient

func NewAnalyzeClient(cc grpc.ClientConnInterface) AnalyzeClient

type AnalyzeServer

type AnalyzeServer interface {
	SendMessages(Analyze_SendMessagesServer) error
}

AnalyzeServer is the server API for Analyze service.

type Analyze_SendMessagesClient

type Analyze_SendMessagesClient interface {
	Send(*SendMessageRequest) error
	CloseAndRecv() (*empty.Empty, error)
	grpc.ClientStream
}

type Analyze_SendMessagesServer

type Analyze_SendMessagesServer interface {
	SendAndClose(*empty.Empty) error
	Recv() (*SendMessageRequest, error)
	grpc.ServerStream
}

type ArchiveClient

type ArchiveClient interface {
	SaveConnection(ctx context.Context, in *SaveConnectionRequest, opts ...grpc.CallOption) (*SaveConnectionResponse, error)
	SaveCertificate(ctx context.Context, in *SaveCertificateRequest, opts ...grpc.CallOption) (*SaveCertificateResponse, error)
	StreamRecords(ctx context.Context, opts ...grpc.CallOption) (Archive_StreamRecordsClient, error)
}

ArchiveClient is the client API for Archive service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewArchiveClient

func NewArchiveClient(cc grpc.ClientConnInterface) ArchiveClient

type ArchiveServer

type ArchiveServer interface {
	SaveConnection(context.Context, *SaveConnectionRequest) (*SaveConnectionResponse, error)
	SaveCertificate(context.Context, *SaveCertificateRequest) (*SaveCertificateResponse, error)
	StreamRecords(Archive_StreamRecordsServer) error
}

ArchiveServer is the server API for Archive service.

type Archive_StreamRecordsClient

type Archive_StreamRecordsClient interface {
	Send(*SaveRecordRequest) error
	CloseAndRecv() (*empty.Empty, error)
	grpc.ClientStream
}

type Archive_StreamRecordsServer

type Archive_StreamRecordsServer interface {
	SendAndClose(*empty.Empty) error
	Recv() (*SaveRecordRequest, error)
	grpc.ServerStream
}

type CertificateData

type CertificateData struct {
	Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	Raw    []byte `protobuf:"bytes,2,opt,name=raw,proto3" json:"raw,omitempty"`
	// contains filtered or unexported fields
}

func (*CertificateData) Descriptor deprecated

func (*CertificateData) Descriptor() ([]byte, []int)

Deprecated: Use CertificateData.ProtoReflect.Descriptor instead.

func (*CertificateData) GetDigest

func (x *CertificateData) GetDigest() string

func (*CertificateData) GetRaw

func (x *CertificateData) GetRaw() []byte

func (*CertificateData) ProtoMessage

func (*CertificateData) ProtoMessage()

func (*CertificateData) ProtoReflect

func (x *CertificateData) ProtoReflect() protoreflect.Message

func (*CertificateData) Reset

func (x *CertificateData) Reset()

func (*CertificateData) String

func (x *CertificateData) String() string

type ClassifyClient

type ClassifyClient interface {
	Connections(ctx context.Context, in *ClassifyConnectionsRequest, opts ...grpc.CallOption) (*ClassifyConnectionsResponse, error)
}

ClassifyClient is the client API for Classify service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewClassifyClient

func NewClassifyClient(cc grpc.ClientConnInterface) ClassifyClient

type ClassifyConnectionsRequest

type ClassifyConnectionsRequest struct {
	Connections []*ConnectionData `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty"`
	// contains filtered or unexported fields
}

func (*ClassifyConnectionsRequest) Descriptor deprecated

func (*ClassifyConnectionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ClassifyConnectionsRequest.ProtoReflect.Descriptor instead.

func (*ClassifyConnectionsRequest) GetConnections

func (x *ClassifyConnectionsRequest) GetConnections() []*ConnectionData

func (*ClassifyConnectionsRequest) ProtoMessage

func (*ClassifyConnectionsRequest) ProtoMessage()

func (*ClassifyConnectionsRequest) ProtoReflect

func (*ClassifyConnectionsRequest) Reset

func (x *ClassifyConnectionsRequest) Reset()

func (*ClassifyConnectionsRequest) String

func (x *ClassifyConnectionsRequest) String() string

type ClassifyConnectionsResponse

type ClassifyConnectionsResponse struct {
	Responses []*ClassifyConnectionsResponse_Response `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
	// contains filtered or unexported fields
}

func (*ClassifyConnectionsResponse) Descriptor deprecated

func (*ClassifyConnectionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ClassifyConnectionsResponse.ProtoReflect.Descriptor instead.

func (*ClassifyConnectionsResponse) GetResponses

func (*ClassifyConnectionsResponse) ProtoMessage

func (*ClassifyConnectionsResponse) ProtoMessage()

func (*ClassifyConnectionsResponse) ProtoReflect

func (*ClassifyConnectionsResponse) Reset

func (x *ClassifyConnectionsResponse) Reset()

func (*ClassifyConnectionsResponse) String

func (x *ClassifyConnectionsResponse) String() string

type ClassifyConnectionsResponse_Response

type ClassifyConnectionsResponse_Response struct {
	Results []*ClassifyConnectionsResponse_Response_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	Err     string                                         `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*ClassifyConnectionsResponse_Response) Descriptor deprecated

func (*ClassifyConnectionsResponse_Response) Descriptor() ([]byte, []int)

Deprecated: Use ClassifyConnectionsResponse_Response.ProtoReflect.Descriptor instead.

func (*ClassifyConnectionsResponse_Response) GetErr

func (*ClassifyConnectionsResponse_Response) GetResults

func (*ClassifyConnectionsResponse_Response) ProtoMessage

func (*ClassifyConnectionsResponse_Response) ProtoMessage()

func (*ClassifyConnectionsResponse_Response) ProtoReflect

func (*ClassifyConnectionsResponse_Response) Reset

func (*ClassifyConnectionsResponse_Response) String

type ClassifyConnectionsResponse_Response_Result

type ClassifyConnectionsResponse_Response_Result struct {
	Label string  `protobuf:"bytes,1,opt,name=Label,proto3" json:"Label,omitempty"`
	Prob  float32 `protobuf:"fixed32,2,opt,name=prob,proto3" json:"prob,omitempty"`
	// contains filtered or unexported fields
}

func (*ClassifyConnectionsResponse_Response_Result) Descriptor deprecated

Deprecated: Use ClassifyConnectionsResponse_Response_Result.ProtoReflect.Descriptor instead.

func (*ClassifyConnectionsResponse_Response_Result) GetLabel

func (*ClassifyConnectionsResponse_Response_Result) GetProb

func (*ClassifyConnectionsResponse_Response_Result) ProtoMessage

func (*ClassifyConnectionsResponse_Response_Result) ProtoReflect

func (*ClassifyConnectionsResponse_Response_Result) Reset

func (*ClassifyConnectionsResponse_Response_Result) String

type ClassifyServer

type ClassifyServer interface {
	Connections(context.Context, *ClassifyConnectionsRequest) (*ClassifyConnectionsResponse, error)
}

ClassifyServer is the server API for Classify service.

type ConnectionData

type ConnectionData struct {
	Id          string                          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Info        *ConnectionData_ConnectionInfo  `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	SendStream  *ConnectionData_StreamData      `protobuf:"bytes,3,opt,name=send_stream,json=sendStream,proto3" json:"send_stream,omitempty"`
	RcvdStream  *ConnectionData_StreamData      `protobuf:"bytes,4,opt,name=rcvd_stream,json=rcvdStream,proto3" json:"rcvd_stream,omitempty"`
	ClientHello *ConnectionData_ClientHelloData `protobuf:"bytes,5,opt,name=client_hello,json=clientHello,proto3" json:"client_hello,omitempty"`
	ServerHello *ConnectionData_ServerHelloData `protobuf:"bytes,6,opt,name=server_hello,json=serverHello,proto3" json:"server_hello,omitempty"`
	ClientCerts []*ConnectionData_CertSummary   `protobuf:"bytes,7,rep,name=client_certs,json=clientCerts,proto3" json:"client_certs,omitempty"`
	ServerCerts []*ConnectionData_CertSummary   `protobuf:"bytes,8,rep,name=server_certs,json=serverCerts,proto3" json:"server_certs,omitempty"`
	Tags        []string                        `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionData) Descriptor deprecated

func (*ConnectionData) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionData.ProtoReflect.Descriptor instead.

func (*ConnectionData) GetClientCerts

func (x *ConnectionData) GetClientCerts() []*ConnectionData_CertSummary

func (*ConnectionData) GetClientHello

func (x *ConnectionData) GetClientHello() *ConnectionData_ClientHelloData

func (*ConnectionData) GetId

func (x *ConnectionData) GetId() string

func (*ConnectionData) GetInfo

func (*ConnectionData) GetRcvdStream

func (x *ConnectionData) GetRcvdStream() *ConnectionData_StreamData

func (*ConnectionData) GetSendStream

func (x *ConnectionData) GetSendStream() *ConnectionData_StreamData

func (*ConnectionData) GetServerCerts

func (x *ConnectionData) GetServerCerts() []*ConnectionData_CertSummary

func (*ConnectionData) GetServerHello

func (x *ConnectionData) GetServerHello() *ConnectionData_ServerHelloData

func (*ConnectionData) GetTags

func (x *ConnectionData) GetTags() []string

func (*ConnectionData) ProtoMessage

func (*ConnectionData) ProtoMessage()

func (*ConnectionData) ProtoReflect

func (x *ConnectionData) ProtoReflect() protoreflect.Message

func (*ConnectionData) Reset

func (x *ConnectionData) Reset()

func (*ConnectionData) String

func (x *ConnectionData) String() string

type ConnectionData_CertSummary

type ConnectionData_CertSummary struct {
	Digest  string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	Issuer  string `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"`
	Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	IsCa    bool   `protobuf:"varint,4,opt,name=is_ca,json=isCa,proto3" json:"is_ca,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionData_CertSummary) Descriptor deprecated

func (*ConnectionData_CertSummary) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionData_CertSummary.ProtoReflect.Descriptor instead.

func (*ConnectionData_CertSummary) GetDigest

func (x *ConnectionData_CertSummary) GetDigest() string

func (*ConnectionData_CertSummary) GetIsCa

func (x *ConnectionData_CertSummary) GetIsCa() bool

func (*ConnectionData_CertSummary) GetIssuer

func (x *ConnectionData_CertSummary) GetIssuer() string

func (*ConnectionData_CertSummary) GetSubject

func (x *ConnectionData_CertSummary) GetSubject() string

func (*ConnectionData_CertSummary) ProtoMessage

func (*ConnectionData_CertSummary) ProtoMessage()

func (*ConnectionData_CertSummary) ProtoReflect

func (*ConnectionData_CertSummary) Reset

func (x *ConnectionData_CertSummary) Reset()

func (*ConnectionData_CertSummary) String

func (x *ConnectionData_CertSummary) String() string

type ConnectionData_ClientHelloData

type ConnectionData_ClientHelloData struct {
	ClientVersion   uint32                          `protobuf:"varint,1,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
	RandomLen       uint32                          `protobuf:"varint,2,opt,name=random_len,json=randomLen,proto3" json:"random_len,omitempty"`
	SessionIdLen    uint32                          `protobuf:"varint,3,opt,name=session_id_len,json=sessionIdLen,proto3" json:"session_id_len,omitempty"`
	SessionId       []byte                          `protobuf:"bytes,4,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	CipherSuitesLen uint32                          `protobuf:"varint,5,opt,name=cipher_suites_len,json=cipherSuitesLen,proto3" json:"cipher_suites_len,omitempty"`
	CipherSuites    []uint32                        `protobuf:"varint,6,rep,packed,name=cipher_suites,json=cipherSuites,proto3" json:"cipher_suites,omitempty"`
	CompressMethods []uint32                        `protobuf:"varint,7,rep,packed,name=compress_methods,json=compressMethods,proto3" json:"compress_methods,omitempty"`
	ExtensionLen    int32                           `protobuf:"varint,8,opt,name=extension_len,json=extensionLen,proto3" json:"extension_len,omitempty"`
	Extensions      []*ConnectionData_ExtensionItem `protobuf:"bytes,9,rep,name=extensions,proto3" json:"extensions,omitempty"`
	ExtensionInfo   *ConnectionData_DecodedInfo     `protobuf:"bytes,10,opt,name=extension_info,json=extensionInfo,proto3" json:"extension_info,omitempty"`
	UseGrease       bool                            `protobuf:"varint,11,opt,name=use_grease,json=useGrease,proto3" json:"use_grease,omitempty"`
	Ja3             string                          `protobuf:"bytes,12,opt,name=ja3,proto3" json:"ja3,omitempty"`
	Ja3Digest       string                          `protobuf:"bytes,13,opt,name=ja3_digest,json=ja3Digest,proto3" json:"ja3_digest,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionData_ClientHelloData) Descriptor deprecated

func (*ConnectionData_ClientHelloData) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionData_ClientHelloData.ProtoReflect.Descriptor instead.

func (*ConnectionData_ClientHelloData) GetCipherSuites

func (x *ConnectionData_ClientHelloData) GetCipherSuites() []uint32

func (*ConnectionData_ClientHelloData) GetCipherSuitesLen

func (x *ConnectionData_ClientHelloData) GetCipherSuitesLen() uint32

func (*ConnectionData_ClientHelloData) GetClientVersion

func (x *ConnectionData_ClientHelloData) GetClientVersion() uint32

func (*ConnectionData_ClientHelloData) GetCompressMethods

func (x *ConnectionData_ClientHelloData) GetCompressMethods() []uint32

func (*ConnectionData_ClientHelloData) GetExtensionInfo

func (*ConnectionData_ClientHelloData) GetExtensionLen

func (x *ConnectionData_ClientHelloData) GetExtensionLen() int32

func (*ConnectionData_ClientHelloData) GetExtensions

func (*ConnectionData_ClientHelloData) GetJa3

func (*ConnectionData_ClientHelloData) GetJa3Digest

func (x *ConnectionData_ClientHelloData) GetJa3Digest() string

func (*ConnectionData_ClientHelloData) GetRandomLen

func (x *ConnectionData_ClientHelloData) GetRandomLen() uint32

func (*ConnectionData_ClientHelloData) GetSessionId

func (x *ConnectionData_ClientHelloData) GetSessionId() []byte

func (*ConnectionData_ClientHelloData) GetSessionIdLen

func (x *ConnectionData_ClientHelloData) GetSessionIdLen() uint32

func (*ConnectionData_ClientHelloData) GetUseGrease

func (x *ConnectionData_ClientHelloData) GetUseGrease() bool

func (*ConnectionData_ClientHelloData) ProtoMessage

func (*ConnectionData_ClientHelloData) ProtoMessage()

func (*ConnectionData_ClientHelloData) ProtoReflect

func (*ConnectionData_ClientHelloData) Reset

func (x *ConnectionData_ClientHelloData) Reset()

func (*ConnectionData_ClientHelloData) String

type ConnectionData_ConnectionInfo

type ConnectionData_ConnectionInfo struct {
	Start              *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	End                *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	DurationNsecs      int64                `protobuf:"varint,3,opt,name=duration_nsecs,json=durationNsecs,proto3" json:"duration_nsecs,omitempty"`
	ClientIp           string               `protobuf:"bytes,4,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"`
	ServerIp           string               `protobuf:"bytes,5,opt,name=server_ip,json=serverIp,proto3" json:"server_ip,omitempty"`
	ClientPort         uint32               `protobuf:"varint,6,opt,name=client_port,json=clientPort,proto3" json:"client_port,omitempty"`
	ServerPort         uint32               `protobuf:"varint,7,opt,name=server_port,json=serverPort,proto3" json:"server_port,omitempty"`
	Uncompleted        bool                 `protobuf:"varint,8,opt,name=uncompleted,proto3" json:"uncompleted,omitempty"`
	DetectedError      bool                 `protobuf:"varint,9,opt,name=detected_error,json=detectedError,proto3" json:"detected_error,omitempty"`
	CompletedHandshake bool                 `protobuf:"varint,10,opt,name=completed_handshake,json=completedHandshake,proto3" json:"completed_handshake,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionData_ConnectionInfo) Descriptor deprecated

func (*ConnectionData_ConnectionInfo) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionData_ConnectionInfo.ProtoReflect.Descriptor instead.

func (*ConnectionData_ConnectionInfo) GetClientIp

func (x *ConnectionData_ConnectionInfo) GetClientIp() string

func (*ConnectionData_ConnectionInfo) GetClientPort

func (x *ConnectionData_ConnectionInfo) GetClientPort() uint32

func (*ConnectionData_ConnectionInfo) GetCompletedHandshake

func (x *ConnectionData_ConnectionInfo) GetCompletedHandshake() bool

func (*ConnectionData_ConnectionInfo) GetDetectedError

func (x *ConnectionData_ConnectionInfo) GetDetectedError() bool

func (*ConnectionData_ConnectionInfo) GetDurationNsecs

func (x *ConnectionData_ConnectionInfo) GetDurationNsecs() int64

func (*ConnectionData_ConnectionInfo) GetEnd

func (*ConnectionData_ConnectionInfo) GetServerIp

func (x *ConnectionData_ConnectionInfo) GetServerIp() string

func (*ConnectionData_ConnectionInfo) GetServerPort

func (x *ConnectionData_ConnectionInfo) GetServerPort() uint32

func (*ConnectionData_ConnectionInfo) GetStart

func (*ConnectionData_ConnectionInfo) GetUncompleted

func (x *ConnectionData_ConnectionInfo) GetUncompleted() bool

func (*ConnectionData_ConnectionInfo) ProtoMessage

func (*ConnectionData_ConnectionInfo) ProtoMessage()

func (*ConnectionData_ConnectionInfo) ProtoReflect

func (*ConnectionData_ConnectionInfo) Reset

func (x *ConnectionData_ConnectionInfo) Reset()

func (*ConnectionData_ConnectionInfo) String

type ConnectionData_DecodedInfo

type ConnectionData_DecodedInfo struct {
	Sni                 string   `protobuf:"bytes,1,opt,name=sni,proto3" json:"sni,omitempty"`
	SignatureSchemes    []uint32 `protobuf:"varint,2,rep,packed,name=signature_schemes,json=signatureSchemes,proto3" json:"signature_schemes,omitempty"`
	SupportedVersions   []uint32 `protobuf:"varint,3,rep,packed,name=supported_versions,json=supportedVersions,proto3" json:"supported_versions,omitempty"`
	SupportedGroups     []uint32 `protobuf:"varint,4,rep,packed,name=supported_groups,json=supportedGroups,proto3" json:"supported_groups,omitempty"`
	EcPointFormats      []uint32 `protobuf:"varint,5,rep,packed,name=ec_point_formats,json=ecPointFormats,proto3" json:"ec_point_formats,omitempty"`
	Oscp                bool     `protobuf:"varint,6,opt,name=oscp,proto3" json:"oscp,omitempty"`
	Alpns               []string `protobuf:"bytes,7,rep,name=alpns,proto3" json:"alpns,omitempty"`
	KeyShareEntries     []uint32 `protobuf:"varint,8,rep,packed,name=key_share_entries,json=keyShareEntries,proto3" json:"key_share_entries,omitempty"`
	PskKeyExchangeModes []uint32 `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConnectionData_DecodedInfo) Descriptor deprecated

func (*ConnectionData_DecodedInfo) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionData_DecodedInfo.ProtoReflect.Descriptor instead.

func (*ConnectionData_DecodedInfo) GetAlpns

func (x *ConnectionData_DecodedInfo) GetAlpns() []string

func (*ConnectionData_DecodedInfo) GetEcPointFormats

func (x *ConnectionData_DecodedInfo) GetEcPointFormats() []uint32

func (*ConnectionData_DecodedInfo) GetKeyShareEntries

func (x *ConnectionData_DecodedInfo) GetKeyShareEntries() []uint32

func (*ConnectionData_DecodedInfo) GetOscp

func (x *ConnectionData_DecodedInfo) GetOscp() bool

func (*ConnectionData_DecodedInfo) GetPskKeyExchangeModes

func (x *ConnectionData_DecodedInfo) GetPskKeyExchangeModes() []uint32

func (*ConnectionData_DecodedInfo) GetSignatureSchemes

func (x *ConnectionData_DecodedInfo) GetSignatureSchemes() []uint32

func (*ConnectionData_DecodedInfo) GetSni

func (x *ConnectionData_DecodedInfo) GetSni() string

func (*ConnectionData_DecodedInfo) GetSupportedGroups

func (x *ConnectionData_DecodedInfo) GetSupportedGroups() []uint32

func (*ConnectionData_DecodedInfo) GetSupportedVersions

func (x *ConnectionData_DecodedInfo) GetSupportedVersions() []uint32

func (*ConnectionData_DecodedInfo) ProtoMessage

func (*ConnectionData_DecodedInfo) ProtoMessage()

func (*ConnectionData_DecodedInfo) ProtoReflect

func (*ConnectionData_DecodedInfo) Reset

func (x *ConnectionData_DecodedInfo) Reset()

func (*ConnectionData_DecodedInfo) String

func (x *ConnectionData_DecodedInfo) String() string

type ConnectionData_ExtensionItem

type ConnectionData_ExtensionItem struct {
	Etype uint32 `protobuf:"varint,1,opt,name=etype,proto3" json:"etype,omitempty"`
	Len   uint32 `protobuf:"varint,2,opt,name=len,proto3" json:"len,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionData_ExtensionItem) Descriptor deprecated

func (*ConnectionData_ExtensionItem) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionData_ExtensionItem.ProtoReflect.Descriptor instead.

func (*ConnectionData_ExtensionItem) GetEtype

func (x *ConnectionData_ExtensionItem) GetEtype() uint32

func (*ConnectionData_ExtensionItem) GetLen

func (*ConnectionData_ExtensionItem) ProtoMessage

func (*ConnectionData_ExtensionItem) ProtoMessage()

func (*ConnectionData_ExtensionItem) ProtoReflect

func (*ConnectionData_ExtensionItem) Reset

func (x *ConnectionData_ExtensionItem) Reset()

func (*ConnectionData_ExtensionItem) String

type ConnectionData_ServerHelloData

type ConnectionData_ServerHelloData struct {
	ServerVersion     uint32                          `protobuf:"varint,1,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
	RandomLen         uint32                          `protobuf:"varint,2,opt,name=random_len,json=randomLen,proto3" json:"random_len,omitempty"`
	SessionIdLen      uint32                          `protobuf:"varint,3,opt,name=session_id_len,json=sessionIdLen,proto3" json:"session_id_len,omitempty"`
	SessionId         []byte                          `protobuf:"bytes,4,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	CipherSuiteSel    uint32                          `protobuf:"varint,5,opt,name=cipher_suite_sel,json=cipherSuiteSel,proto3" json:"cipher_suite_sel,omitempty"`
	CompressMethodSel uint32                          `protobuf:"varint,6,opt,name=compress_method_sel,json=compressMethodSel,proto3" json:"compress_method_sel,omitempty"`
	ExtensionLen      int32                           `protobuf:"varint,7,opt,name=extension_len,json=extensionLen,proto3" json:"extension_len,omitempty"`
	Extensions        []*ConnectionData_ExtensionItem `protobuf:"bytes,8,rep,name=extensions,proto3" json:"extensions,omitempty"`
	ExtensionInfo     *ConnectionData_DecodedInfo     `protobuf:"bytes,9,opt,name=extension_info,json=extensionInfo,proto3" json:"extension_info,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionData_ServerHelloData) Descriptor deprecated

func (*ConnectionData_ServerHelloData) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionData_ServerHelloData.ProtoReflect.Descriptor instead.

func (*ConnectionData_ServerHelloData) GetCipherSuiteSel

func (x *ConnectionData_ServerHelloData) GetCipherSuiteSel() uint32

func (*ConnectionData_ServerHelloData) GetCompressMethodSel

func (x *ConnectionData_ServerHelloData) GetCompressMethodSel() uint32

func (*ConnectionData_ServerHelloData) GetExtensionInfo

func (*ConnectionData_ServerHelloData) GetExtensionLen

func (x *ConnectionData_ServerHelloData) GetExtensionLen() int32

func (*ConnectionData_ServerHelloData) GetExtensions

func (*ConnectionData_ServerHelloData) GetRandomLen

func (x *ConnectionData_ServerHelloData) GetRandomLen() uint32

func (*ConnectionData_ServerHelloData) GetServerVersion

func (x *ConnectionData_ServerHelloData) GetServerVersion() uint32

func (*ConnectionData_ServerHelloData) GetSessionId

func (x *ConnectionData_ServerHelloData) GetSessionId() []byte

func (*ConnectionData_ServerHelloData) GetSessionIdLen

func (x *ConnectionData_ServerHelloData) GetSessionIdLen() uint32

func (*ConnectionData_ServerHelloData) ProtoMessage

func (*ConnectionData_ServerHelloData) ProtoMessage()

func (*ConnectionData_ServerHelloData) ProtoReflect

func (*ConnectionData_ServerHelloData) Reset

func (x *ConnectionData_ServerHelloData) Reset()

func (*ConnectionData_ServerHelloData) String

type ConnectionData_StreamData

type ConnectionData_StreamData struct {
	Id            string                                       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Info          *ConnectionData_StreamData_StreamInfo        `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	PlaintextAcc  *ConnectionData_StreamData_PlaintextSummary  `protobuf:"bytes,3,opt,name=plaintext_acc,json=plaintextAcc,proto3" json:"plaintext_acc,omitempty"`
	CiphertextAcc *ConnectionData_StreamData_CiphertextSummary `protobuf:"bytes,4,opt,name=ciphertext_acc,json=ciphertextAcc,proto3" json:"ciphertext_acc,omitempty"`
	Handshakes    []*ConnectionData_StreamData_HandshakeItem   `protobuf:"bytes,5,rep,name=handshakes,proto3" json:"handshakes,omitempty"`
	HandshakeSum  int32                                        `protobuf:"varint,6,opt,name=handshake_sum,json=handshakeSum,proto3" json:"handshake_sum,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionData_StreamData) Descriptor deprecated

func (*ConnectionData_StreamData) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionData_StreamData.ProtoReflect.Descriptor instead.

func (*ConnectionData_StreamData) GetCiphertextAcc

func (*ConnectionData_StreamData) GetHandshakeSum

func (x *ConnectionData_StreamData) GetHandshakeSum() int32

func (*ConnectionData_StreamData) GetHandshakes

func (*ConnectionData_StreamData) GetId

func (x *ConnectionData_StreamData) GetId() string

func (*ConnectionData_StreamData) GetInfo

func (*ConnectionData_StreamData) GetPlaintextAcc

func (*ConnectionData_StreamData) ProtoMessage

func (*ConnectionData_StreamData) ProtoMessage()

func (*ConnectionData_StreamData) ProtoReflect

func (*ConnectionData_StreamData) Reset

func (x *ConnectionData_StreamData) Reset()

func (*ConnectionData_StreamData) String

func (x *ConnectionData_StreamData) String() string

type ConnectionData_StreamData_CiphertextSummary

type ConnectionData_StreamData_CiphertextSummary struct {
	HskRecords     int64 `protobuf:"varint,1,opt,name=hsk_records,json=hskRecords,proto3" json:"hsk_records,omitempty"`
	HskBytes       int64 `protobuf:"varint,2,opt,name=hsk_bytes,json=hskBytes,proto3" json:"hsk_bytes,omitempty"`
	AlertRecords   int64 `protobuf:"varint,3,opt,name=alert_records,json=alertRecords,proto3" json:"alert_records,omitempty"`
	AlertBytes     int64 `protobuf:"varint,4,opt,name=alert_bytes,json=alertBytes,proto3" json:"alert_bytes,omitempty"`
	CctRecords     int64 `protobuf:"varint,5,opt,name=cct_records,json=cctRecords,proto3" json:"cct_records,omitempty"`
	CctBytes       int64 `protobuf:"varint,6,opt,name=cct_bytes,json=cctBytes,proto3" json:"cct_bytes,omitempty"`
	AppdataRecords int64 `protobuf:"varint,7,opt,name=appdata_records,json=appdataRecords,proto3" json:"appdata_records,omitempty"`
	AppdataBytes   int64 `protobuf:"varint,8,opt,name=appdata_bytes,json=appdataBytes,proto3" json:"appdata_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionData_StreamData_CiphertextSummary) Descriptor deprecated

Deprecated: Use ConnectionData_StreamData_CiphertextSummary.ProtoReflect.Descriptor instead.

func (*ConnectionData_StreamData_CiphertextSummary) GetAlertBytes

func (*ConnectionData_StreamData_CiphertextSummary) GetAlertRecords

func (*ConnectionData_StreamData_CiphertextSummary) GetAppdataBytes

func (*ConnectionData_StreamData_CiphertextSummary) GetAppdataRecords

func (x *ConnectionData_StreamData_CiphertextSummary) GetAppdataRecords() int64

func (*ConnectionData_StreamData_CiphertextSummary) GetCctBytes

func (*ConnectionData_StreamData_CiphertextSummary) GetCctRecords

func (*ConnectionData_StreamData_CiphertextSummary) GetHskBytes

func (*ConnectionData_StreamData_CiphertextSummary) GetHskRecords

func (*ConnectionData_StreamData_CiphertextSummary) ProtoMessage

func (*ConnectionData_StreamData_CiphertextSummary) ProtoReflect

func (*ConnectionData_StreamData_CiphertextSummary) Reset

func (*ConnectionData_StreamData_CiphertextSummary) String

type ConnectionData_StreamData_HandshakeItem

type ConnectionData_StreamData_HandshakeItem struct {
	Htype uint32 `protobuf:"varint,1,opt,name=htype,proto3" json:"htype,omitempty"`
	Len   uint32 `protobuf:"varint,2,opt,name=len,proto3" json:"len,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionData_StreamData_HandshakeItem) Descriptor deprecated

func (*ConnectionData_StreamData_HandshakeItem) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionData_StreamData_HandshakeItem.ProtoReflect.Descriptor instead.

func (*ConnectionData_StreamData_HandshakeItem) GetHtype

func (*ConnectionData_StreamData_HandshakeItem) GetLen

func (*ConnectionData_StreamData_HandshakeItem) ProtoMessage

func (*ConnectionData_StreamData_HandshakeItem) ProtoReflect

func (*ConnectionData_StreamData_HandshakeItem) Reset

func (*ConnectionData_StreamData_HandshakeItem) String

type ConnectionData_StreamData_PlaintextSummary

type ConnectionData_StreamData_PlaintextSummary struct {
	HskRecords        int64 `protobuf:"varint,1,opt,name=hsk_records,json=hskRecords,proto3" json:"hsk_records,omitempty"`
	HskBytes          int64 `protobuf:"varint,2,opt,name=hsk_bytes,json=hskBytes,proto3" json:"hsk_bytes,omitempty"`
	AlertRecords      int64 `protobuf:"varint,3,opt,name=alert_records,json=alertRecords,proto3" json:"alert_records,omitempty"`
	AlertBytes        int64 `protobuf:"varint,4,opt,name=alert_bytes,json=alertBytes,proto3" json:"alert_bytes,omitempty"`
	CctRecords        int64 `protobuf:"varint,5,opt,name=cct_records,json=cctRecords,proto3" json:"cct_records,omitempty"`
	CctBytes          int64 `protobuf:"varint,6,opt,name=cct_bytes,json=cctBytes,proto3" json:"cct_bytes,omitempty"`
	AppdataRecords    int64 `protobuf:"varint,7,opt,name=appdata_records,json=appdataRecords,proto3" json:"appdata_records,omitempty"`
	AppdataBytes      int64 `protobuf:"varint,8,opt,name=appdata_bytes,json=appdataBytes,proto3" json:"appdata_bytes,omitempty"`
	FragmentedRecords int32 `protobuf:"varint,9,opt,name=fragmented_records,json=fragmentedRecords,proto3" json:"fragmented_records,omitempty"`
	MaxMessages       int32 `protobuf:"varint,10,opt,name=max_messages,json=maxMessages,proto3" json:"max_messages,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionData_StreamData_PlaintextSummary) Descriptor deprecated

Deprecated: Use ConnectionData_StreamData_PlaintextSummary.ProtoReflect.Descriptor instead.

func (*ConnectionData_StreamData_PlaintextSummary) GetAlertBytes

func (*ConnectionData_StreamData_PlaintextSummary) GetAlertRecords

func (*ConnectionData_StreamData_PlaintextSummary) GetAppdataBytes

func (*ConnectionData_StreamData_PlaintextSummary) GetAppdataRecords

func (x *ConnectionData_StreamData_PlaintextSummary) GetAppdataRecords() int64

func (*ConnectionData_StreamData_PlaintextSummary) GetCctBytes

func (*ConnectionData_StreamData_PlaintextSummary) GetCctRecords

func (*ConnectionData_StreamData_PlaintextSummary) GetFragmentedRecords

func (x *ConnectionData_StreamData_PlaintextSummary) GetFragmentedRecords() int32

func (*ConnectionData_StreamData_PlaintextSummary) GetHskBytes

func (*ConnectionData_StreamData_PlaintextSummary) GetHskRecords

func (*ConnectionData_StreamData_PlaintextSummary) GetMaxMessages

func (*ConnectionData_StreamData_PlaintextSummary) ProtoMessage

func (*ConnectionData_StreamData_PlaintextSummary) ProtoReflect

func (*ConnectionData_StreamData_PlaintextSummary) Reset

func (*ConnectionData_StreamData_PlaintextSummary) String

type ConnectionData_StreamData_StreamInfo

type ConnectionData_StreamData_StreamInfo struct {
	Start         *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	End           *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	DurationNsecs int64                `protobuf:"varint,3,opt,name=duration_nsecs,json=durationNsecs,proto3" json:"duration_nsecs,omitempty"`
	SawStart      bool                 `protobuf:"varint,4,opt,name=saw_start,json=sawStart,proto3" json:"saw_start,omitempty"`
	SawEnd        bool                 `protobuf:"varint,5,opt,name=saw_end,json=sawEnd,proto3" json:"saw_end,omitempty"`
	SrcIp         string               `protobuf:"bytes,6,opt,name=src_ip,json=srcIp,proto3" json:"src_ip,omitempty"`
	DstIp         string               `protobuf:"bytes,7,opt,name=dst_ip,json=dstIp,proto3" json:"dst_ip,omitempty"`
	SrcPort       uint32               `protobuf:"varint,8,opt,name=src_port,json=srcPort,proto3" json:"src_port,omitempty"`
	DstPort       uint32               `protobuf:"varint,9,opt,name=dst_port,json=dstPort,proto3" json:"dst_port,omitempty"`
	Bytes         int64                `protobuf:"varint,10,opt,name=bytes,proto3" json:"bytes,omitempty"`
	Packets       int64                `protobuf:"varint,11,opt,name=packets,proto3" json:"packets,omitempty"`
	Bps           float32              `protobuf:"fixed32,12,opt,name=bps,proto3" json:"bps,omitempty"`
	Pps           float32              `protobuf:"fixed32,13,opt,name=pps,proto3" json:"pps,omitempty"`
	DetectedError bool                 `protobuf:"varint,14,opt,name=detected_error,json=detectedError,proto3" json:"detected_error,omitempty"`
	ErrorType     string               `protobuf:"bytes,15,opt,name=error_type,json=errorType,proto3" json:"error_type,omitempty"`
	ErrorTime     *timestamp.Timestamp `protobuf:"bytes,16,opt,name=error_time,json=errorTime,proto3" json:"error_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionData_StreamData_StreamInfo) Descriptor deprecated

func (*ConnectionData_StreamData_StreamInfo) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionData_StreamData_StreamInfo.ProtoReflect.Descriptor instead.

func (*ConnectionData_StreamData_StreamInfo) GetBps

func (*ConnectionData_StreamData_StreamInfo) GetBytes

func (*ConnectionData_StreamData_StreamInfo) GetDetectedError

func (x *ConnectionData_StreamData_StreamInfo) GetDetectedError() bool

func (*ConnectionData_StreamData_StreamInfo) GetDstIp

func (*ConnectionData_StreamData_StreamInfo) GetDstPort

func (*ConnectionData_StreamData_StreamInfo) GetDurationNsecs

func (x *ConnectionData_StreamData_StreamInfo) GetDurationNsecs() int64

func (*ConnectionData_StreamData_StreamInfo) GetEnd

func (*ConnectionData_StreamData_StreamInfo) GetErrorTime

func (*ConnectionData_StreamData_StreamInfo) GetErrorType

func (x *ConnectionData_StreamData_StreamInfo) GetErrorType() string

func (*ConnectionData_StreamData_StreamInfo) GetPackets

func (*ConnectionData_StreamData_StreamInfo) GetPps

func (*ConnectionData_StreamData_StreamInfo) GetSawEnd

func (*ConnectionData_StreamData_StreamInfo) GetSawStart

func (x *ConnectionData_StreamData_StreamInfo) GetSawStart() bool

func (*ConnectionData_StreamData_StreamInfo) GetSrcIp

func (*ConnectionData_StreamData_StreamInfo) GetSrcPort

func (*ConnectionData_StreamData_StreamInfo) GetStart

func (*ConnectionData_StreamData_StreamInfo) ProtoMessage

func (*ConnectionData_StreamData_StreamInfo) ProtoMessage()

func (*ConnectionData_StreamData_StreamInfo) ProtoReflect

func (*ConnectionData_StreamData_StreamInfo) Reset

func (*ConnectionData_StreamData_StreamInfo) String

type DownloadCertsRequest

type DownloadCertsRequest struct {
	Chain string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadCertsRequest) Descriptor deprecated

func (*DownloadCertsRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadCertsRequest.ProtoReflect.Descriptor instead.

func (*DownloadCertsRequest) GetChain

func (x *DownloadCertsRequest) GetChain() string

func (*DownloadCertsRequest) ProtoMessage

func (*DownloadCertsRequest) ProtoMessage()

func (*DownloadCertsRequest) ProtoReflect

func (x *DownloadCertsRequest) ProtoReflect() protoreflect.Message

func (*DownloadCertsRequest) Reset

func (x *DownloadCertsRequest) Reset()

func (*DownloadCertsRequest) String

func (x *DownloadCertsRequest) String() string

type DownloadCertsResponse

type DownloadCertsResponse struct {
	Certs [][]byte `protobuf:"bytes,1,rep,name=certs,proto3" json:"certs,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadCertsResponse) Descriptor deprecated

func (*DownloadCertsResponse) Descriptor() ([]byte, []int)

Deprecated: Use DownloadCertsResponse.ProtoReflect.Descriptor instead.

func (*DownloadCertsResponse) GetCerts

func (x *DownloadCertsResponse) GetCerts() [][]byte

func (*DownloadCertsResponse) ProtoMessage

func (*DownloadCertsResponse) ProtoMessage()

func (*DownloadCertsResponse) ProtoReflect

func (x *DownloadCertsResponse) ProtoReflect() protoreflect.Message

func (*DownloadCertsResponse) Reset

func (x *DownloadCertsResponse) Reset()

func (*DownloadCertsResponse) String

func (x *DownloadCertsResponse) String() string

type GetServerChainRequest

type GetServerChainRequest struct {
	Ip      string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Port    int32  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	Sni     string `protobuf:"bytes,3,opt,name=sni,proto3" json:"sni,omitempty"`
	Profile string `protobuf:"bytes,4,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerChainRequest) Descriptor deprecated

func (*GetServerChainRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetServerChainRequest.ProtoReflect.Descriptor instead.

func (*GetServerChainRequest) GetIp

func (x *GetServerChainRequest) GetIp() string

func (*GetServerChainRequest) GetPort

func (x *GetServerChainRequest) GetPort() int32

func (*GetServerChainRequest) GetProfile

func (x *GetServerChainRequest) GetProfile() string

func (*GetServerChainRequest) GetSni

func (x *GetServerChainRequest) GetSni() string

func (*GetServerChainRequest) ProtoMessage

func (*GetServerChainRequest) ProtoMessage()

func (*GetServerChainRequest) ProtoReflect

func (x *GetServerChainRequest) ProtoReflect() protoreflect.Message

func (*GetServerChainRequest) Reset

func (x *GetServerChainRequest) Reset()

func (*GetServerChainRequest) String

func (x *GetServerChainRequest) String() string

type GetServerChainResponse

type GetServerChainResponse struct {
	Chain string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerChainResponse) Descriptor deprecated

func (*GetServerChainResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetServerChainResponse.ProtoReflect.Descriptor instead.

func (*GetServerChainResponse) GetChain

func (x *GetServerChainResponse) GetChain() string

func (*GetServerChainResponse) ProtoMessage

func (*GetServerChainResponse) ProtoMessage()

func (*GetServerChainResponse) ProtoReflect

func (x *GetServerChainResponse) ProtoReflect() protoreflect.Message

func (*GetServerChainResponse) Reset

func (x *GetServerChainResponse) Reset()

func (*GetServerChainResponse) String

func (x *GetServerChainResponse) String() string

type MsgData

type MsgData struct {
	Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Bytes     int32                `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
	SawStart  bool                 `protobuf:"varint,3,opt,name=saw_start,json=sawStart,proto3" json:"saw_start,omitempty"`
	SawEnd    bool                 `protobuf:"varint,4,opt,name=saw_end,json=sawEnd,proto3" json:"saw_end,omitempty"`
	Records   [][]byte             `protobuf:"bytes,5,rep,name=records,proto3" json:"records,omitempty"`
	MsgErr    string               `protobuf:"bytes,6,opt,name=msg_err,json=msgErr,proto3" json:"msg_err,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgData) Descriptor deprecated

func (*MsgData) Descriptor() ([]byte, []int)

Deprecated: Use MsgData.ProtoReflect.Descriptor instead.

func (*MsgData) GetBytes

func (x *MsgData) GetBytes() int32

func (*MsgData) GetMsgErr

func (x *MsgData) GetMsgErr() string

func (*MsgData) GetRecords

func (x *MsgData) GetRecords() [][]byte

func (*MsgData) GetSawEnd

func (x *MsgData) GetSawEnd() bool

func (*MsgData) GetSawStart

func (x *MsgData) GetSawStart() bool

func (*MsgData) GetTimestamp

func (x *MsgData) GetTimestamp() *timestamp.Timestamp

func (*MsgData) ProtoMessage

func (*MsgData) ProtoMessage()

func (*MsgData) ProtoReflect

func (x *MsgData) ProtoReflect() protoreflect.Message

func (*MsgData) Reset

func (x *MsgData) Reset()

func (*MsgData) String

func (x *MsgData) String() string

type MsgOpen

type MsgOpen struct {
	SourceIp        string `protobuf:"bytes,1,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"`
	DestinationIp   string `protobuf:"bytes,2,opt,name=destination_ip,json=destinationIp,proto3" json:"destination_ip,omitempty"`
	SourcePort      uint32 `protobuf:"varint,3,opt,name=source_port,json=sourcePort,proto3" json:"source_port,omitempty"`
	DestinationPort uint32 `protobuf:"varint,4,opt,name=destination_port,json=destinationPort,proto3" json:"destination_port,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgOpen) Descriptor deprecated

func (*MsgOpen) Descriptor() ([]byte, []int)

Deprecated: Use MsgOpen.ProtoReflect.Descriptor instead.

func (*MsgOpen) GetDestinationIp

func (x *MsgOpen) GetDestinationIp() string

func (*MsgOpen) GetDestinationPort

func (x *MsgOpen) GetDestinationPort() uint32

func (*MsgOpen) GetSourceIp

func (x *MsgOpen) GetSourceIp() string

func (*MsgOpen) GetSourcePort

func (x *MsgOpen) GetSourcePort() uint32

func (*MsgOpen) ProtoMessage

func (*MsgOpen) ProtoMessage()

func (*MsgOpen) ProtoReflect

func (x *MsgOpen) ProtoReflect() protoreflect.Message

func (*MsgOpen) Reset

func (x *MsgOpen) Reset()

func (*MsgOpen) String

func (x *MsgOpen) String() string

type MsgType

type MsgType int32
const (
	MsgType_DATA  MsgType = 0
	MsgType_OPEN  MsgType = 1
	MsgType_CLOSE MsgType = 2
)

func (MsgType) Descriptor

func (MsgType) Descriptor() protoreflect.EnumDescriptor

func (MsgType) Enum

func (x MsgType) Enum() *MsgType

func (MsgType) EnumDescriptor deprecated

func (MsgType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MsgType.Descriptor instead.

func (MsgType) Number

func (x MsgType) Number() protoreflect.EnumNumber

func (MsgType) String

func (x MsgType) String() string

func (MsgType) Type

func (MsgType) Type() protoreflect.EnumType

type NotaryClient

type NotaryClient interface {
	GetServerChain(ctx context.Context, in *GetServerChainRequest, opts ...grpc.CallOption) (*GetServerChainResponse, error)
	VerifyChain(ctx context.Context, in *VerifyChainRequest, opts ...grpc.CallOption) (*VerifyChainResponse, error)
	DownloadCerts(ctx context.Context, in *DownloadCertsRequest, opts ...grpc.CallOption) (*DownloadCertsResponse, error)
	SetServerChain(ctx context.Context, in *SetServerChainRequest, opts ...grpc.CallOption) (*SetServerChainResponse, error)
	UploadCerts(ctx context.Context, in *UploadCertsRequest, opts ...grpc.CallOption) (*UploadCertsResponse, error)
}

NotaryClient is the client API for Notary service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewNotaryClient

func NewNotaryClient(cc grpc.ClientConnInterface) NotaryClient

type NotaryServer

NotaryServer is the server API for Notary service.

type RecordData

type RecordData struct {
	StreamId   string               `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	Timestamp  *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Type       int32                `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
	Len        int32                `protobuf:"varint,4,opt,name=len,proto3" json:"len,omitempty"`
	Ciphered   bool                 `protobuf:"varint,5,opt,name=ciphered,proto3" json:"ciphered,omitempty"`
	Fragmented bool                 `protobuf:"varint,6,opt,name=fragmented,proto3" json:"fragmented,omitempty"`
	MsgsCount  int32                `protobuf:"varint,7,opt,name=msgs_count,json=msgsCount,proto3" json:"msgs_count,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordData) Descriptor deprecated

func (*RecordData) Descriptor() ([]byte, []int)

Deprecated: Use RecordData.ProtoReflect.Descriptor instead.

func (*RecordData) GetCiphered

func (x *RecordData) GetCiphered() bool

func (*RecordData) GetFragmented

func (x *RecordData) GetFragmented() bool

func (*RecordData) GetLen

func (x *RecordData) GetLen() int32

func (*RecordData) GetMsgsCount

func (x *RecordData) GetMsgsCount() int32

func (*RecordData) GetStreamId

func (x *RecordData) GetStreamId() string

func (*RecordData) GetTimestamp

func (x *RecordData) GetTimestamp() *timestamp.Timestamp

func (*RecordData) GetType

func (x *RecordData) GetType() int32

func (*RecordData) ProtoMessage

func (*RecordData) ProtoMessage()

func (*RecordData) ProtoReflect

func (x *RecordData) ProtoReflect() protoreflect.Message

func (*RecordData) Reset

func (x *RecordData) Reset()

func (*RecordData) String

func (x *RecordData) String() string

type SaveCertificateRequest

type SaveCertificateRequest struct {
	Certificate *CertificateData `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveCertificateRequest) Descriptor deprecated

func (*SaveCertificateRequest) Descriptor() ([]byte, []int)

Deprecated: Use SaveCertificateRequest.ProtoReflect.Descriptor instead.

func (*SaveCertificateRequest) GetCertificate

func (x *SaveCertificateRequest) GetCertificate() *CertificateData

func (*SaveCertificateRequest) ProtoMessage

func (*SaveCertificateRequest) ProtoMessage()

func (*SaveCertificateRequest) ProtoReflect

func (x *SaveCertificateRequest) ProtoReflect() protoreflect.Message

func (*SaveCertificateRequest) Reset

func (x *SaveCertificateRequest) Reset()

func (*SaveCertificateRequest) String

func (x *SaveCertificateRequest) String() string

type SaveCertificateResponse

type SaveCertificateResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveCertificateResponse) Descriptor deprecated

func (*SaveCertificateResponse) Descriptor() ([]byte, []int)

Deprecated: Use SaveCertificateResponse.ProtoReflect.Descriptor instead.

func (*SaveCertificateResponse) GetId

func (x *SaveCertificateResponse) GetId() string

func (*SaveCertificateResponse) ProtoMessage

func (*SaveCertificateResponse) ProtoMessage()

func (*SaveCertificateResponse) ProtoReflect

func (x *SaveCertificateResponse) ProtoReflect() protoreflect.Message

func (*SaveCertificateResponse) Reset

func (x *SaveCertificateResponse) Reset()

func (*SaveCertificateResponse) String

func (x *SaveCertificateResponse) String() string

type SaveConnectionRequest

type SaveConnectionRequest struct {
	Connection *ConnectionData `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveConnectionRequest) Descriptor deprecated

func (*SaveConnectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use SaveConnectionRequest.ProtoReflect.Descriptor instead.

func (*SaveConnectionRequest) GetConnection

func (x *SaveConnectionRequest) GetConnection() *ConnectionData

func (*SaveConnectionRequest) ProtoMessage

func (*SaveConnectionRequest) ProtoMessage()

func (*SaveConnectionRequest) ProtoReflect

func (x *SaveConnectionRequest) ProtoReflect() protoreflect.Message

func (*SaveConnectionRequest) Reset

func (x *SaveConnectionRequest) Reset()

func (*SaveConnectionRequest) String

func (x *SaveConnectionRequest) String() string

type SaveConnectionResponse

type SaveConnectionResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveConnectionResponse) Descriptor deprecated

func (*SaveConnectionResponse) Descriptor() ([]byte, []int)

Deprecated: Use SaveConnectionResponse.ProtoReflect.Descriptor instead.

func (*SaveConnectionResponse) GetId

func (x *SaveConnectionResponse) GetId() string

func (*SaveConnectionResponse) ProtoMessage

func (*SaveConnectionResponse) ProtoMessage()

func (*SaveConnectionResponse) ProtoReflect

func (x *SaveConnectionResponse) ProtoReflect() protoreflect.Message

func (*SaveConnectionResponse) Reset

func (x *SaveConnectionResponse) Reset()

func (*SaveConnectionResponse) String

func (x *SaveConnectionResponse) String() string

type SaveRecordRequest

type SaveRecordRequest struct {
	Record *RecordData `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveRecordRequest) Descriptor deprecated

func (*SaveRecordRequest) Descriptor() ([]byte, []int)

Deprecated: Use SaveRecordRequest.ProtoReflect.Descriptor instead.

func (*SaveRecordRequest) GetRecord

func (x *SaveRecordRequest) GetRecord() *RecordData

func (*SaveRecordRequest) ProtoMessage

func (*SaveRecordRequest) ProtoMessage()

func (*SaveRecordRequest) ProtoReflect

func (x *SaveRecordRequest) ProtoReflect() protoreflect.Message

func (*SaveRecordRequest) Reset

func (x *SaveRecordRequest) Reset()

func (*SaveRecordRequest) String

func (x *SaveRecordRequest) String() string

type SendMessageRequest

type SendMessageRequest struct {
	Type     MsgType  `protobuf:"varint,1,opt,name=type,proto3,enum=luids.tlsutil.v1.MsgType" json:"type,omitempty"`
	StreamId int64    `protobuf:"varint,2,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	Open     *MsgOpen `protobuf:"bytes,4,opt,name=open,proto3" json:"open,omitempty"`
	Data     *MsgData `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*SendMessageRequest) Descriptor deprecated

func (*SendMessageRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.

func (*SendMessageRequest) GetData

func (x *SendMessageRequest) GetData() *MsgData

func (*SendMessageRequest) GetOpen

func (x *SendMessageRequest) GetOpen() *MsgOpen

func (*SendMessageRequest) GetStreamId

func (x *SendMessageRequest) GetStreamId() int64

func (*SendMessageRequest) GetType

func (x *SendMessageRequest) GetType() MsgType

func (*SendMessageRequest) ProtoMessage

func (*SendMessageRequest) ProtoMessage()

func (*SendMessageRequest) ProtoReflect

func (x *SendMessageRequest) ProtoReflect() protoreflect.Message

func (*SendMessageRequest) Reset

func (x *SendMessageRequest) Reset()

func (*SendMessageRequest) String

func (x *SendMessageRequest) String() string

type SetServerChainRequest

type SetServerChainRequest struct {
	Ip      string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Port    int32  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	Sni     string `protobuf:"bytes,3,opt,name=sni,proto3" json:"sni,omitempty"`
	Profile string `protobuf:"bytes,4,opt,name=profile,proto3" json:"profile,omitempty"`
	Chain   string `protobuf:"bytes,5,opt,name=chain,proto3" json:"chain,omitempty"`
	// contains filtered or unexported fields
}

func (*SetServerChainRequest) Descriptor deprecated

func (*SetServerChainRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetServerChainRequest.ProtoReflect.Descriptor instead.

func (*SetServerChainRequest) GetChain

func (x *SetServerChainRequest) GetChain() string

func (*SetServerChainRequest) GetIp

func (x *SetServerChainRequest) GetIp() string

func (*SetServerChainRequest) GetPort

func (x *SetServerChainRequest) GetPort() int32

func (*SetServerChainRequest) GetProfile

func (x *SetServerChainRequest) GetProfile() string

func (*SetServerChainRequest) GetSni

func (x *SetServerChainRequest) GetSni() string

func (*SetServerChainRequest) ProtoMessage

func (*SetServerChainRequest) ProtoMessage()

func (*SetServerChainRequest) ProtoReflect

func (x *SetServerChainRequest) ProtoReflect() protoreflect.Message

func (*SetServerChainRequest) Reset

func (x *SetServerChainRequest) Reset()

func (*SetServerChainRequest) String

func (x *SetServerChainRequest) String() string

type SetServerChainResponse

type SetServerChainResponse struct {
	// contains filtered or unexported fields
}

func (*SetServerChainResponse) Descriptor deprecated

func (*SetServerChainResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetServerChainResponse.ProtoReflect.Descriptor instead.

func (*SetServerChainResponse) ProtoMessage

func (*SetServerChainResponse) ProtoMessage()

func (*SetServerChainResponse) ProtoReflect

func (x *SetServerChainResponse) ProtoReflect() protoreflect.Message

func (*SetServerChainResponse) Reset

func (x *SetServerChainResponse) Reset()

func (*SetServerChainResponse) String

func (x *SetServerChainResponse) String() string

type UnimplementedAnalyzeServer

type UnimplementedAnalyzeServer struct {
}

UnimplementedAnalyzeServer can be embedded to have forward compatible implementations.

func (*UnimplementedAnalyzeServer) SendMessages

type UnimplementedArchiveServer

type UnimplementedArchiveServer struct {
}

UnimplementedArchiveServer can be embedded to have forward compatible implementations.

func (*UnimplementedArchiveServer) SaveCertificate

func (*UnimplementedArchiveServer) SaveConnection

func (*UnimplementedArchiveServer) StreamRecords

type UnimplementedClassifyServer

type UnimplementedClassifyServer struct {
}

UnimplementedClassifyServer can be embedded to have forward compatible implementations.

type UnimplementedNotaryServer

type UnimplementedNotaryServer struct {
}

UnimplementedNotaryServer can be embedded to have forward compatible implementations.

func (*UnimplementedNotaryServer) DownloadCerts

func (*UnimplementedNotaryServer) GetServerChain

func (*UnimplementedNotaryServer) SetServerChain

func (*UnimplementedNotaryServer) UploadCerts

func (*UnimplementedNotaryServer) VerifyChain

type UploadCertsRequest

type UploadCertsRequest struct {
	Certs [][]byte `protobuf:"bytes,1,rep,name=certs,proto3" json:"certs,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadCertsRequest) Descriptor deprecated

func (*UploadCertsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UploadCertsRequest.ProtoReflect.Descriptor instead.

func (*UploadCertsRequest) GetCerts

func (x *UploadCertsRequest) GetCerts() [][]byte

func (*UploadCertsRequest) ProtoMessage

func (*UploadCertsRequest) ProtoMessage()

func (*UploadCertsRequest) ProtoReflect

func (x *UploadCertsRequest) ProtoReflect() protoreflect.Message

func (*UploadCertsRequest) Reset

func (x *UploadCertsRequest) Reset()

func (*UploadCertsRequest) String

func (x *UploadCertsRequest) String() string

type UploadCertsResponse

type UploadCertsResponse struct {
	Chain string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadCertsResponse) Descriptor deprecated

func (*UploadCertsResponse) Descriptor() ([]byte, []int)

Deprecated: Use UploadCertsResponse.ProtoReflect.Descriptor instead.

func (*UploadCertsResponse) GetChain

func (x *UploadCertsResponse) GetChain() string

func (*UploadCertsResponse) ProtoMessage

func (*UploadCertsResponse) ProtoMessage()

func (*UploadCertsResponse) ProtoReflect

func (x *UploadCertsResponse) ProtoReflect() protoreflect.Message

func (*UploadCertsResponse) Reset

func (x *UploadCertsResponse) Reset()

func (*UploadCertsResponse) String

func (x *UploadCertsResponse) String() string

type VerifyChainRequest

type VerifyChainRequest struct {
	Chain   string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	Dnsname string `protobuf:"bytes,2,opt,name=dnsname,proto3" json:"dnsname,omitempty"`
	Force   bool   `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyChainRequest) Descriptor deprecated

func (*VerifyChainRequest) Descriptor() ([]byte, []int)

Deprecated: Use VerifyChainRequest.ProtoReflect.Descriptor instead.

func (*VerifyChainRequest) GetChain

func (x *VerifyChainRequest) GetChain() string

func (*VerifyChainRequest) GetDnsname

func (x *VerifyChainRequest) GetDnsname() string

func (*VerifyChainRequest) GetForce

func (x *VerifyChainRequest) GetForce() bool

func (*VerifyChainRequest) ProtoMessage

func (*VerifyChainRequest) ProtoMessage()

func (*VerifyChainRequest) ProtoReflect

func (x *VerifyChainRequest) ProtoReflect() protoreflect.Message

func (*VerifyChainRequest) Reset

func (x *VerifyChainRequest) Reset()

func (*VerifyChainRequest) String

func (x *VerifyChainRequest) String() string

type VerifyChainResponse

type VerifyChainResponse struct {
	Invalid bool   `protobuf:"varint,1,opt,name=invalid,proto3" json:"invalid,omitempty"`
	Reason  string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	TTL     int32  `protobuf:"varint,3,opt,name=TTL,proto3" json:"TTL,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyChainResponse) Descriptor deprecated

func (*VerifyChainResponse) Descriptor() ([]byte, []int)

Deprecated: Use VerifyChainResponse.ProtoReflect.Descriptor instead.

func (*VerifyChainResponse) GetInvalid

func (x *VerifyChainResponse) GetInvalid() bool

func (*VerifyChainResponse) GetReason

func (x *VerifyChainResponse) GetReason() string

func (*VerifyChainResponse) GetTTL

func (x *VerifyChainResponse) GetTTL() int32

func (*VerifyChainResponse) ProtoMessage

func (*VerifyChainResponse) ProtoMessage()

func (*VerifyChainResponse) ProtoReflect

func (x *VerifyChainResponse) ProtoReflect() protoreflect.Message

func (*VerifyChainResponse) Reset

func (x *VerifyChainResponse) Reset()

func (*VerifyChainResponse) String

func (x *VerifyChainResponse) String() string

Jump to

Keyboard shortcuts

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