v1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: AGPL-3.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ClassicalAlgoChoice_name = map[int32]string{
		0: "CLASSICAL_ALGORITHMS_FORBID",
		1: "CLASSICAL_ALGORITHMS_ALLOW",
	}
	ClassicalAlgoChoice_value = map[string]int32{
		"CLASSICAL_ALGORITHMS_FORBID": 0,
		"CLASSICAL_ALGORITHMS_ALLOW":  1,
	}
)

Enum value maps for ClassicalAlgoChoice.

View Source
var (
	QuantumSafeAlgoChoice_name = map[int32]string{
		0: "QUANTUM_SAFE_ALGORITHMS_ALLOW",
		1: "QUANTUM_SAFE_ALGORITHMS_FORBID",
	}
	QuantumSafeAlgoChoice_value = map[string]int32{
		"QUANTUM_SAFE_ALGORITHMS_ALLOW":  0,
		"QUANTUM_SAFE_ALGORITHMS_FORBID": 1,
	}
)

Enum value maps for QuantumSafeAlgoChoice.

View Source
var (
	HybridAlgoChoice_name = map[int32]string{
		0: "HYBRID_ALGORITHMS_ALLOW",
		1: "HYBRID_ALGORITHMS_FORBID",
	}
	HybridAlgoChoice_value = map[string]int32{
		"HYBRID_ALGORITHMS_ALLOW":  0,
		"HYBRID_ALGORITHMS_FORBID": 1,
	}
)

Enum value maps for HybridAlgoChoice.

View Source
var (
	NISTSecurityStrengthBits_name = map[int32]string{
		0: "BIT_STRENGTH_AT_LEAST_128",
		1: "BIT_STRENGTH_AT_LEAST_192",
		2: "BIT_STRENGTH_AT_LEAST_256",
	}
	NISTSecurityStrengthBits_value = map[string]int32{
		"BIT_STRENGTH_AT_LEAST_128": 0,
		"BIT_STRENGTH_AT_LEAST_192": 1,
		"BIT_STRENGTH_AT_LEAST_256": 2,
	}
)

Enum value maps for NISTSecurityStrengthBits.

View Source
var (
	Implementation_name = map[int32]string{
		0: "IMPL_UNSPECIFIED",
		1: "IMPL_OPENSSL1_1_1_OQS",
		2: "IMPL_BORINGSSL_OQS",
	}
	Implementation_value = map[string]int32{
		"IMPL_UNSPECIFIED":      0,
		"IMPL_OPENSSL1_1_1_OQS": 1,
		"IMPL_BORINGSSL_OQS":    2,
	}
)

Enum value maps for Implementation.

View Source
var (
	ASN1EncodingFormat_name = map[int32]string{
		0: "ENCODING_FORMAT_PEM",
		1: "ENCODING_FORMAT_DER",
	}
	ASN1EncodingFormat_value = map[string]int32{
		"ENCODING_FORMAT_PEM": 0,
		"ENCODING_FORMAT_DER": 1,
	}
)

Enum value maps for ASN1EncodingFormat.

View Source
var File_proto_api_v1_certificate_proto protoreflect.FileDescriptor
View Source
var File_proto_api_v1_compliance_proto protoreflect.FileDescriptor
View Source
var File_proto_api_v1_configuration_proto protoreflect.FileDescriptor
View Source
var File_proto_api_v1_data_source_proto protoreflect.FileDescriptor
View Source
var File_proto_api_v1_encoding_format_proto protoreflect.FileDescriptor
View Source
var File_proto_api_v1_private_key_proto protoreflect.FileDescriptor
View Source
var File_proto_api_v1_tls_proto protoreflect.FileDescriptor
View Source
var File_proto_api_v1_tunnel_proto protoreflect.FileDescriptor
View Source
var File_proto_api_v1_verifiers_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ASN1DataSource

type ASN1DataSource struct {
	Data   *DataSource        `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Format ASN1EncodingFormat `protobuf:"varint,2,opt,name=format,proto3,enum=saq.sandwich.proto.api.v1.ASN1EncodingFormat" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*ASN1DataSource) Descriptor deprecated

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

Deprecated: Use ASN1DataSource.ProtoReflect.Descriptor instead.

func (*ASN1DataSource) GetData

func (x *ASN1DataSource) GetData() *DataSource

func (*ASN1DataSource) GetFormat

func (x *ASN1DataSource) GetFormat() ASN1EncodingFormat

func (*ASN1DataSource) ProtoMessage

func (*ASN1DataSource) ProtoMessage()

func (*ASN1DataSource) ProtoReflect

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

func (*ASN1DataSource) Reset

func (x *ASN1DataSource) Reset()

func (*ASN1DataSource) String

func (x *ASN1DataSource) String() string

type ASN1EncodingFormat

type ASN1EncodingFormat int32
const (
	ASN1EncodingFormat_ENCODING_FORMAT_PEM ASN1EncodingFormat = 0
	ASN1EncodingFormat_ENCODING_FORMAT_DER ASN1EncodingFormat = 1
)

func (ASN1EncodingFormat) Descriptor

func (ASN1EncodingFormat) Enum

func (ASN1EncodingFormat) EnumDescriptor deprecated

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

Deprecated: Use ASN1EncodingFormat.Descriptor instead.

func (ASN1EncodingFormat) Number

func (ASN1EncodingFormat) String

func (x ASN1EncodingFormat) String() string

func (ASN1EncodingFormat) Type

type Certificate

type Certificate struct {

	// Types that are assignable to Source:
	//	*Certificate_Static
	Source isCertificate_Source `protobuf_oneof:"source"`
	// contains filtered or unexported fields
}

func (*Certificate) Descriptor deprecated

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

Deprecated: Use Certificate.ProtoReflect.Descriptor instead.

func (*Certificate) GetSource

func (m *Certificate) GetSource() isCertificate_Source

func (*Certificate) GetStatic

func (x *Certificate) GetStatic() *ASN1DataSource

func (*Certificate) ProtoMessage

func (*Certificate) ProtoMessage()

func (*Certificate) ProtoReflect

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

func (*Certificate) Reset

func (x *Certificate) Reset()

func (*Certificate) String

func (x *Certificate) String() string

type Certificate_Static

type Certificate_Static struct {
	Static *ASN1DataSource `protobuf:"bytes,1,opt,name=static,proto3,oneof"`
}

type ClassicalAlgoChoice

type ClassicalAlgoChoice int32
const (
	ClassicalAlgoChoice_CLASSICAL_ALGORITHMS_FORBID ClassicalAlgoChoice = 0
	ClassicalAlgoChoice_CLASSICAL_ALGORITHMS_ALLOW  ClassicalAlgoChoice = 1
)

func (ClassicalAlgoChoice) Descriptor

func (ClassicalAlgoChoice) Enum

func (ClassicalAlgoChoice) EnumDescriptor deprecated

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

Deprecated: Use ClassicalAlgoChoice.Descriptor instead.

func (ClassicalAlgoChoice) Number

func (ClassicalAlgoChoice) String

func (x ClassicalAlgoChoice) String() string

func (ClassicalAlgoChoice) Type

type ClientOptions

type ClientOptions struct {

	// Types that are assignable to Opts:
	//	*ClientOptions_Tls
	Opts isClientOptions_Opts `protobuf_oneof:"opts"`
	// contains filtered or unexported fields
}

func (*ClientOptions) Descriptor deprecated

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

Deprecated: Use ClientOptions.ProtoReflect.Descriptor instead.

func (*ClientOptions) GetOpts

func (m *ClientOptions) GetOpts() isClientOptions_Opts

func (*ClientOptions) GetTls

func (x *ClientOptions) GetTls() *TLSClientOptions

func (*ClientOptions) ProtoMessage

func (*ClientOptions) ProtoMessage()

func (*ClientOptions) ProtoReflect

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

func (*ClientOptions) Reset

func (x *ClientOptions) Reset()

func (*ClientOptions) String

func (x *ClientOptions) String() string

type ClientOptions_Tls

type ClientOptions_Tls struct {
	Tls *TLSClientOptions `protobuf:"bytes,1,opt,name=tls,proto3,oneof"`
}

type Compliance

type Compliance struct {
	HybridChoice      HybridAlgoChoice         `` /* 146-byte string literal not displayed */
	QuantumSafeChoice QuantumSafeAlgoChoice    `` /* 168-byte string literal not displayed */
	ClassicalChoice   ClassicalAlgoChoice      `` /* 158-byte string literal not displayed */
	BitStrengthChoice NISTSecurityStrengthBits `` /* 171-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Compliance) Descriptor deprecated

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

Deprecated: Use Compliance.ProtoReflect.Descriptor instead.

func (*Compliance) GetBitStrengthChoice

func (x *Compliance) GetBitStrengthChoice() NISTSecurityStrengthBits

func (*Compliance) GetClassicalChoice

func (x *Compliance) GetClassicalChoice() ClassicalAlgoChoice

func (*Compliance) GetHybridChoice

func (x *Compliance) GetHybridChoice() HybridAlgoChoice

func (*Compliance) GetQuantumSafeChoice

func (x *Compliance) GetQuantumSafeChoice() QuantumSafeAlgoChoice

func (*Compliance) ProtoMessage

func (*Compliance) ProtoMessage()

func (*Compliance) ProtoReflect

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

func (*Compliance) Reset

func (x *Compliance) Reset()

func (*Compliance) String

func (x *Compliance) String() string

type Configuration

type Configuration struct {
	Impl Implementation `protobuf:"varint,1,opt,name=impl,proto3,enum=saq.sandwich.proto.api.v1.Implementation" json:"impl,omitempty"`
	// Types that are assignable to Opts:
	//	*Configuration_Client
	//	*Configuration_Server
	Opts       isConfiguration_Opts `protobuf_oneof:"opts"`
	Compliance *Compliance          `protobuf:"bytes,4,opt,name=compliance,proto3" json:"compliance,omitempty"`
	// contains filtered or unexported fields
}

func (*Configuration) Descriptor deprecated

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

Deprecated: Use Configuration.ProtoReflect.Descriptor instead.

func (*Configuration) GetClient

func (x *Configuration) GetClient() *ClientOptions

func (*Configuration) GetCompliance

func (x *Configuration) GetCompliance() *Compliance

func (*Configuration) GetImpl

func (x *Configuration) GetImpl() Implementation

func (*Configuration) GetOpts

func (m *Configuration) GetOpts() isConfiguration_Opts

func (*Configuration) GetServer

func (x *Configuration) GetServer() *ServerOptions

func (*Configuration) ProtoMessage

func (*Configuration) ProtoMessage()

func (*Configuration) ProtoReflect

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

func (*Configuration) Reset

func (x *Configuration) Reset()

func (*Configuration) String

func (x *Configuration) String() string

type Configuration_Client

type Configuration_Client struct {
	Client *ClientOptions `protobuf:"bytes,2,opt,name=client,proto3,oneof"`
}

type Configuration_Server

type Configuration_Server struct {
	Server *ServerOptions `protobuf:"bytes,3,opt,name=server,proto3,oneof"`
}

type DataSource

type DataSource struct {

	// Types that are assignable to Specifier:
	//	*DataSource_Filename
	//	*DataSource_InlineBytes
	//	*DataSource_InlineString
	Specifier isDataSource_Specifier `protobuf_oneof:"specifier"`
	// contains filtered or unexported fields
}

func (*DataSource) Descriptor deprecated

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

Deprecated: Use DataSource.ProtoReflect.Descriptor instead.

func (*DataSource) GetFilename

func (x *DataSource) GetFilename() string

func (*DataSource) GetInlineBytes

func (x *DataSource) GetInlineBytes() []byte

func (*DataSource) GetInlineString

func (x *DataSource) GetInlineString() string

func (*DataSource) GetSpecifier

func (m *DataSource) GetSpecifier() isDataSource_Specifier

func (*DataSource) ProtoMessage

func (*DataSource) ProtoMessage()

func (*DataSource) ProtoReflect

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

func (*DataSource) Reset

func (x *DataSource) Reset()

func (*DataSource) String

func (x *DataSource) String() string

type DataSource_Filename

type DataSource_Filename struct {
	Filename string `protobuf:"bytes,1,opt,name=filename,proto3,oneof"`
}

type DataSource_InlineBytes

type DataSource_InlineBytes struct {
	InlineBytes []byte `protobuf:"bytes,2,opt,name=inline_bytes,json=inlineBytes,proto3,oneof"`
}

type DataSource_InlineString

type DataSource_InlineString struct {
	InlineString string `protobuf:"bytes,3,opt,name=inline_string,json=inlineString,proto3,oneof"`
}

type EmptyVerifier

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

func (*EmptyVerifier) Descriptor deprecated

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

Deprecated: Use EmptyVerifier.ProtoReflect.Descriptor instead.

func (*EmptyVerifier) ProtoMessage

func (*EmptyVerifier) ProtoMessage()

func (*EmptyVerifier) ProtoReflect

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

func (*EmptyVerifier) Reset

func (x *EmptyVerifier) Reset()

func (*EmptyVerifier) String

func (x *EmptyVerifier) String() string

type HybridAlgoChoice

type HybridAlgoChoice int32
const (
	HybridAlgoChoice_HYBRID_ALGORITHMS_ALLOW  HybridAlgoChoice = 0
	HybridAlgoChoice_HYBRID_ALGORITHMS_FORBID HybridAlgoChoice = 1
)

func (HybridAlgoChoice) Descriptor

func (HybridAlgoChoice) Enum

func (HybridAlgoChoice) EnumDescriptor deprecated

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

Deprecated: Use HybridAlgoChoice.Descriptor instead.

func (HybridAlgoChoice) Number

func (HybridAlgoChoice) String

func (x HybridAlgoChoice) String() string

func (HybridAlgoChoice) Type

type Implementation

type Implementation int32
const (
	Implementation_IMPL_UNSPECIFIED      Implementation = 0
	Implementation_IMPL_OPENSSL1_1_1_OQS Implementation = 1
	Implementation_IMPL_BORINGSSL_OQS    Implementation = 2
)

func (Implementation) Descriptor

func (Implementation) Enum

func (x Implementation) Enum() *Implementation

func (Implementation) EnumDescriptor deprecated

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

Deprecated: Use Implementation.Descriptor instead.

func (Implementation) Number

func (Implementation) String

func (x Implementation) String() string

func (Implementation) Type

type NISTSecurityStrengthBits

type NISTSecurityStrengthBits int32
const (
	NISTSecurityStrengthBits_BIT_STRENGTH_AT_LEAST_128 NISTSecurityStrengthBits = 0
	NISTSecurityStrengthBits_BIT_STRENGTH_AT_LEAST_192 NISTSecurityStrengthBits = 1
	NISTSecurityStrengthBits_BIT_STRENGTH_AT_LEAST_256 NISTSecurityStrengthBits = 2
)

func (NISTSecurityStrengthBits) Descriptor

func (NISTSecurityStrengthBits) Enum

func (NISTSecurityStrengthBits) EnumDescriptor deprecated

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

Deprecated: Use NISTSecurityStrengthBits.Descriptor instead.

func (NISTSecurityStrengthBits) Number

func (NISTSecurityStrengthBits) String

func (x NISTSecurityStrengthBits) String() string

func (NISTSecurityStrengthBits) Type

type PrivateKey

type PrivateKey struct {

	// Types that are assignable to Source:
	//	*PrivateKey_Static
	Source isPrivateKey_Source `protobuf_oneof:"source"`
	// contains filtered or unexported fields
}

func (*PrivateKey) Descriptor deprecated

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

Deprecated: Use PrivateKey.ProtoReflect.Descriptor instead.

func (*PrivateKey) GetSource

func (m *PrivateKey) GetSource() isPrivateKey_Source

func (*PrivateKey) GetStatic

func (x *PrivateKey) GetStatic() *ASN1DataSource

func (*PrivateKey) ProtoMessage

func (*PrivateKey) ProtoMessage()

func (*PrivateKey) ProtoReflect

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

func (*PrivateKey) Reset

func (x *PrivateKey) Reset()

func (*PrivateKey) String

func (x *PrivateKey) String() string

type PrivateKey_Static

type PrivateKey_Static struct {
	Static *ASN1DataSource `protobuf:"bytes,1,opt,name=static,proto3,oneof"`
}

type QuantumSafeAlgoChoice

type QuantumSafeAlgoChoice int32
const (
	QuantumSafeAlgoChoice_QUANTUM_SAFE_ALGORITHMS_ALLOW  QuantumSafeAlgoChoice = 0
	QuantumSafeAlgoChoice_QUANTUM_SAFE_ALGORITHMS_FORBID QuantumSafeAlgoChoice = 1
)

func (QuantumSafeAlgoChoice) Descriptor

func (QuantumSafeAlgoChoice) Enum

func (QuantumSafeAlgoChoice) EnumDescriptor deprecated

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

Deprecated: Use QuantumSafeAlgoChoice.Descriptor instead.

func (QuantumSafeAlgoChoice) Number

func (QuantumSafeAlgoChoice) String

func (x QuantumSafeAlgoChoice) String() string

func (QuantumSafeAlgoChoice) Type

type SANMatcher

type SANMatcher struct {

	// Types that are assignable to San:
	//	*SANMatcher_Email
	//	*SANMatcher_Dns
	//	*SANMatcher_IpAddress
	San isSANMatcher_San `protobuf_oneof:"san"`
	// contains filtered or unexported fields
}

func (*SANMatcher) Descriptor deprecated

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

Deprecated: Use SANMatcher.ProtoReflect.Descriptor instead.

func (*SANMatcher) GetDns

func (x *SANMatcher) GetDns() string

func (*SANMatcher) GetEmail

func (x *SANMatcher) GetEmail() string

func (*SANMatcher) GetIpAddress

func (x *SANMatcher) GetIpAddress() string

func (*SANMatcher) GetSan

func (m *SANMatcher) GetSan() isSANMatcher_San

func (*SANMatcher) ProtoMessage

func (*SANMatcher) ProtoMessage()

func (*SANMatcher) ProtoReflect

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

func (*SANMatcher) Reset

func (x *SANMatcher) Reset()

func (*SANMatcher) String

func (x *SANMatcher) String() string

type SANMatcher_Dns

type SANMatcher_Dns struct {
	Dns string `protobuf:"bytes,2,opt,name=dns,proto3,oneof"`
}

type SANMatcher_Email

type SANMatcher_Email struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3,oneof"`
}

type SANMatcher_IpAddress

type SANMatcher_IpAddress struct {
	IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3,oneof"`
}

type SANVerifier

type SANVerifier struct {
	AltNames []*SANMatcher `protobuf:"bytes,1,rep,name=alt_names,json=altNames,proto3" json:"alt_names,omitempty"`
	// contains filtered or unexported fields
}

func (*SANVerifier) Descriptor deprecated

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

Deprecated: Use SANVerifier.ProtoReflect.Descriptor instead.

func (*SANVerifier) GetAltNames

func (x *SANVerifier) GetAltNames() []*SANMatcher

func (*SANVerifier) ProtoMessage

func (*SANVerifier) ProtoMessage()

func (*SANVerifier) ProtoReflect

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

func (*SANVerifier) Reset

func (x *SANVerifier) Reset()

func (*SANVerifier) String

func (x *SANVerifier) String() string

type ServerOptions

type ServerOptions struct {

	// Types that are assignable to Opts:
	//	*ServerOptions_Tls
	Opts isServerOptions_Opts `protobuf_oneof:"opts"`
	// contains filtered or unexported fields
}

func (*ServerOptions) Descriptor deprecated

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

Deprecated: Use ServerOptions.ProtoReflect.Descriptor instead.

func (*ServerOptions) GetOpts

func (m *ServerOptions) GetOpts() isServerOptions_Opts

func (*ServerOptions) GetTls

func (x *ServerOptions) GetTls() *TLSServerOptions

func (*ServerOptions) ProtoMessage

func (*ServerOptions) ProtoMessage()

func (*ServerOptions) ProtoReflect

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

func (*ServerOptions) Reset

func (x *ServerOptions) Reset()

func (*ServerOptions) String

func (x *ServerOptions) String() string

type ServerOptions_Tls

type ServerOptions_Tls struct {
	Tls *TLSServerOptions `protobuf:"bytes,1,opt,name=tls,proto3,oneof"`
}

type TLSClientOptions

type TLSClientOptions struct {
	CommonOptions *TLSOptions `protobuf:"bytes,1,opt,name=common_options,json=commonOptions,proto3" json:"common_options,omitempty"`
	// contains filtered or unexported fields
}

func (*TLSClientOptions) Descriptor deprecated

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

Deprecated: Use TLSClientOptions.ProtoReflect.Descriptor instead.

func (*TLSClientOptions) GetCommonOptions

func (x *TLSClientOptions) GetCommonOptions() *TLSOptions

func (*TLSClientOptions) ProtoMessage

func (*TLSClientOptions) ProtoMessage()

func (*TLSClientOptions) ProtoReflect

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

func (*TLSClientOptions) Reset

func (x *TLSClientOptions) Reset()

func (*TLSClientOptions) String

func (x *TLSClientOptions) String() string

type TLSOptions

type TLSOptions struct {
	Kem []string `protobuf:"bytes,1,rep,name=kem,proto3" json:"kem,omitempty"`
	// Types that are assignable to PeerVerifier:
	//	*TLSOptions_X509Verifier
	//	*TLSOptions_EmptyVerifier
	PeerVerifier  isTLSOptions_PeerVerifier `protobuf_oneof:"peer_verifier"`
	Identity      *X509Identity             `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"`
	AlpnProtocols []string                  `protobuf:"bytes,6,rep,name=alpn_protocols,json=alpnProtocols,proto3" json:"alpn_protocols,omitempty"`
	// contains filtered or unexported fields
}

func (*TLSOptions) Descriptor deprecated

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

Deprecated: Use TLSOptions.ProtoReflect.Descriptor instead.

func (*TLSOptions) GetAlpnProtocols

func (x *TLSOptions) GetAlpnProtocols() []string

func (*TLSOptions) GetEmptyVerifier

func (x *TLSOptions) GetEmptyVerifier() *EmptyVerifier

func (*TLSOptions) GetIdentity

func (x *TLSOptions) GetIdentity() *X509Identity

func (*TLSOptions) GetKem

func (x *TLSOptions) GetKem() []string

func (*TLSOptions) GetPeerVerifier

func (m *TLSOptions) GetPeerVerifier() isTLSOptions_PeerVerifier

func (*TLSOptions) GetX509Verifier

func (x *TLSOptions) GetX509Verifier() *X509Verifier

func (*TLSOptions) ProtoMessage

func (*TLSOptions) ProtoMessage()

func (*TLSOptions) ProtoReflect

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

func (*TLSOptions) Reset

func (x *TLSOptions) Reset()

func (*TLSOptions) String

func (x *TLSOptions) String() string

type TLSOptions_EmptyVerifier

type TLSOptions_EmptyVerifier struct {
	EmptyVerifier *EmptyVerifier `protobuf:"bytes,4,opt,name=empty_verifier,json=emptyVerifier,proto3,oneof"`
}

type TLSOptions_X509Verifier

type TLSOptions_X509Verifier struct {
	X509Verifier *X509Verifier `protobuf:"bytes,3,opt,name=x509_verifier,json=x509Verifier,proto3,oneof"`
}

type TLSServerOptions

type TLSServerOptions struct {
	CommonOptions *TLSOptions `protobuf:"bytes,1,opt,name=common_options,json=commonOptions,proto3" json:"common_options,omitempty"`
	// contains filtered or unexported fields
}

func (*TLSServerOptions) Descriptor deprecated

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

Deprecated: Use TLSServerOptions.ProtoReflect.Descriptor instead.

func (*TLSServerOptions) GetCommonOptions

func (x *TLSServerOptions) GetCommonOptions() *TLSOptions

func (*TLSServerOptions) ProtoMessage

func (*TLSServerOptions) ProtoMessage()

func (*TLSServerOptions) ProtoReflect

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

func (*TLSServerOptions) Reset

func (x *TLSServerOptions) Reset()

func (*TLSServerOptions) String

func (x *TLSServerOptions) String() string

type TunnelConfiguration

type TunnelConfiguration struct {
	Verifier             *TunnelVerifier `protobuf:"bytes,1,opt,name=verifier,proto3" json:"verifier,omitempty"`
	ServerNameIndication string          `protobuf:"bytes,2,opt,name=server_name_indication,json=serverNameIndication,proto3" json:"server_name_indication,omitempty"`
	// contains filtered or unexported fields
}

func (*TunnelConfiguration) Descriptor deprecated

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

Deprecated: Use TunnelConfiguration.ProtoReflect.Descriptor instead.

func (*TunnelConfiguration) GetServerNameIndication

func (x *TunnelConfiguration) GetServerNameIndication() string

func (*TunnelConfiguration) GetVerifier

func (x *TunnelConfiguration) GetVerifier() *TunnelVerifier

func (*TunnelConfiguration) ProtoMessage

func (*TunnelConfiguration) ProtoMessage()

func (*TunnelConfiguration) ProtoReflect

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

func (*TunnelConfiguration) Reset

func (x *TunnelConfiguration) Reset()

func (*TunnelConfiguration) String

func (x *TunnelConfiguration) String() string

type TunnelVerifier

type TunnelVerifier struct {

	// Types that are assignable to Verifier:
	//	*TunnelVerifier_SanVerifier
	//	*TunnelVerifier_EmptyVerifier
	Verifier isTunnelVerifier_Verifier `protobuf_oneof:"verifier"`
	// contains filtered or unexported fields
}

func (*TunnelVerifier) Descriptor deprecated

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

Deprecated: Use TunnelVerifier.ProtoReflect.Descriptor instead.

func (*TunnelVerifier) GetEmptyVerifier

func (x *TunnelVerifier) GetEmptyVerifier() *EmptyVerifier

func (*TunnelVerifier) GetSanVerifier

func (x *TunnelVerifier) GetSanVerifier() *SANVerifier

func (*TunnelVerifier) GetVerifier

func (m *TunnelVerifier) GetVerifier() isTunnelVerifier_Verifier

func (*TunnelVerifier) ProtoMessage

func (*TunnelVerifier) ProtoMessage()

func (*TunnelVerifier) ProtoReflect

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

func (*TunnelVerifier) Reset

func (x *TunnelVerifier) Reset()

func (*TunnelVerifier) String

func (x *TunnelVerifier) String() string

type TunnelVerifier_EmptyVerifier

type TunnelVerifier_EmptyVerifier struct {
	EmptyVerifier *EmptyVerifier `protobuf:"bytes,2,opt,name=empty_verifier,json=emptyVerifier,proto3,oneof"`
}

type TunnelVerifier_SanVerifier

type TunnelVerifier_SanVerifier struct {
	SanVerifier *SANVerifier `protobuf:"bytes,1,opt,name=san_verifier,json=sanVerifier,proto3,oneof"`
}

type X509Identity

type X509Identity struct {
	Certificate *Certificate `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"`
	PrivateKey  *PrivateKey  `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// contains filtered or unexported fields
}

func (*X509Identity) Descriptor deprecated

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

Deprecated: Use X509Identity.ProtoReflect.Descriptor instead.

func (*X509Identity) GetCertificate

func (x *X509Identity) GetCertificate() *Certificate

func (*X509Identity) GetPrivateKey

func (x *X509Identity) GetPrivateKey() *PrivateKey

func (*X509Identity) ProtoMessage

func (*X509Identity) ProtoMessage()

func (*X509Identity) ProtoReflect

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

func (*X509Identity) Reset

func (x *X509Identity) Reset()

func (*X509Identity) String

func (x *X509Identity) String() string

type X509Verifier

type X509Verifier struct {
	TrustedCas              []*Certificate `protobuf:"bytes,1,rep,name=trusted_cas,json=trustedCas,proto3" json:"trusted_cas,omitempty"`
	AllowExpiredCertificate bool           `` /* 133-byte string literal not displayed */
	MaxVerifyDepth          uint32         `protobuf:"varint,5,opt,name=max_verify_depth,json=maxVerifyDepth,proto3" json:"max_verify_depth,omitempty"`
	// contains filtered or unexported fields
}

func (*X509Verifier) Descriptor deprecated

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

Deprecated: Use X509Verifier.ProtoReflect.Descriptor instead.

func (*X509Verifier) GetAllowExpiredCertificate

func (x *X509Verifier) GetAllowExpiredCertificate() bool

func (*X509Verifier) GetMaxVerifyDepth

func (x *X509Verifier) GetMaxVerifyDepth() uint32

func (*X509Verifier) GetTrustedCas

func (x *X509Verifier) GetTrustedCas() []*Certificate

func (*X509Verifier) ProtoMessage

func (*X509Verifier) ProtoMessage()

func (*X509Verifier) ProtoReflect

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

func (*X509Verifier) Reset

func (x *X509Verifier) Reset()

func (*X509Verifier) String

func (x *X509Verifier) String() string

Jump to

Keyboard shortcuts

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