Documentation ¶
Index ¶
- Variables
- type NoiseExtensions
- func (*NoiseExtensions) Descriptor() ([]byte, []int)deprecated
- func (x *NoiseExtensions) GetStreamMuxers() []string
- func (x *NoiseExtensions) GetWebtransportCerthashes() [][]byte
- func (*NoiseExtensions) ProtoMessage()
- func (x *NoiseExtensions) ProtoReflect() protoreflect.Message
- func (x *NoiseExtensions) Reset()
- func (x *NoiseExtensions) String() string
- type NoiseHandshakePayload
- func (*NoiseHandshakePayload) Descriptor() ([]byte, []int)deprecated
- func (x *NoiseHandshakePayload) GetExtensions() *NoiseExtensions
- func (x *NoiseHandshakePayload) GetIdentityKey() []byte
- func (x *NoiseHandshakePayload) GetIdentitySig() []byte
- func (*NoiseHandshakePayload) ProtoMessage()
- func (x *NoiseHandshakePayload) ProtoReflect() protoreflect.Message
- func (x *NoiseHandshakePayload) Reset()
- func (x *NoiseHandshakePayload) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_p2p_security_noise_pb_payload_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type NoiseExtensions ¶ added in v0.23.0
type NoiseExtensions struct { WebtransportCerthashes [][]byte `protobuf:"bytes,1,rep,name=webtransport_certhashes,json=webtransportCerthashes" json:"webtransport_certhashes,omitempty"` StreamMuxers []string `protobuf:"bytes,2,rep,name=stream_muxers,json=streamMuxers" json:"stream_muxers,omitempty"` // contains filtered or unexported fields }
func (*NoiseExtensions) Descriptor
deprecated
added in
v0.23.0
func (*NoiseExtensions) Descriptor() ([]byte, []int)
Deprecated: Use NoiseExtensions.ProtoReflect.Descriptor instead.
func (*NoiseExtensions) GetStreamMuxers ¶ added in v0.24.0
func (x *NoiseExtensions) GetStreamMuxers() []string
func (*NoiseExtensions) GetWebtransportCerthashes ¶ added in v0.23.0
func (x *NoiseExtensions) GetWebtransportCerthashes() [][]byte
func (*NoiseExtensions) ProtoMessage ¶ added in v0.23.0
func (*NoiseExtensions) ProtoMessage()
func (*NoiseExtensions) ProtoReflect ¶ added in v0.25.0
func (x *NoiseExtensions) ProtoReflect() protoreflect.Message
func (*NoiseExtensions) Reset ¶ added in v0.23.0
func (x *NoiseExtensions) Reset()
func (*NoiseExtensions) String ¶ added in v0.23.0
func (x *NoiseExtensions) String() string
type NoiseHandshakePayload ¶
type NoiseHandshakePayload struct { IdentityKey []byte `protobuf:"bytes,1,opt,name=identity_key,json=identityKey" json:"identity_key,omitempty"` IdentitySig []byte `protobuf:"bytes,2,opt,name=identity_sig,json=identitySig" json:"identity_sig,omitempty"` Extensions *NoiseExtensions `protobuf:"bytes,4,opt,name=extensions" json:"extensions,omitempty"` // contains filtered or unexported fields }
func (*NoiseHandshakePayload) Descriptor
deprecated
func (*NoiseHandshakePayload) Descriptor() ([]byte, []int)
Deprecated: Use NoiseHandshakePayload.ProtoReflect.Descriptor instead.
func (*NoiseHandshakePayload) GetExtensions ¶ added in v0.23.0
func (x *NoiseHandshakePayload) GetExtensions() *NoiseExtensions
func (*NoiseHandshakePayload) GetIdentityKey ¶
func (x *NoiseHandshakePayload) GetIdentityKey() []byte
func (*NoiseHandshakePayload) GetIdentitySig ¶
func (x *NoiseHandshakePayload) GetIdentitySig() []byte
func (*NoiseHandshakePayload) ProtoMessage ¶
func (*NoiseHandshakePayload) ProtoMessage()
func (*NoiseHandshakePayload) ProtoReflect ¶ added in v0.25.0
func (x *NoiseHandshakePayload) ProtoReflect() protoreflect.Message
func (*NoiseHandshakePayload) Reset ¶
func (x *NoiseHandshakePayload) Reset()
func (*NoiseHandshakePayload) String ¶
func (x *NoiseHandshakePayload) String() string
Click to show internal directories.
Click to hide internal directories.