envoy_extensions_private_key_providers_cryptomb_v3alpha

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 21 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_contrib_envoy_extensions_private_key_providers_cryptomb_v3alpha_cryptomb_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CryptoMbPrivateKeyMethodConfig

type CryptoMbPrivateKeyMethodConfig struct {

	// Private key to use in the private key provider. If set to inline_bytes or
	// inline_string, the value needs to be the private key in PEM format.
	PrivateKey *v3.DataSource `protobuf:"bytes,1,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// How long to wait until the per-thread processing queue should be
	// processed. If the processing queue gets full (eight sign or decrypt
	// requests are received) it is processed immediately. However, if the
	// queue is not filled before the delay has expired, the requests
	// already in the queue are processed, even if the queue is not full.
	// In effect, this value controls the balance between latency and
	// throughput. The duration needs to be set to a non-zero value.
	PollDelay *duration.Duration `protobuf:"bytes,2,opt,name=poll_delay,json=pollDelay,proto3" json:"poll_delay,omitempty"`
	// contains filtered or unexported fields
}

A CryptoMbPrivateKeyMethodConfig message specifies how the CryptoMb private key provider is configured. The private key provider provides `SIMD` processing for RSA sign and decrypt operations (ECDSA signing uses regular BoringSSL functions). The provider works by gathering the operations into a worker-thread specific queue, and processing the queue using `ipp-crypto` library when the queue is full or when a timer expires. [#extension-category: envoy.tls.key_providers]

func (*CryptoMbPrivateKeyMethodConfig) Descriptor deprecated

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

Deprecated: Use CryptoMbPrivateKeyMethodConfig.ProtoReflect.Descriptor instead.

func (*CryptoMbPrivateKeyMethodConfig) GetPollDelay

func (*CryptoMbPrivateKeyMethodConfig) GetPrivateKey

func (x *CryptoMbPrivateKeyMethodConfig) GetPrivateKey() *v3.DataSource

func (*CryptoMbPrivateKeyMethodConfig) ProtoMessage

func (*CryptoMbPrivateKeyMethodConfig) ProtoMessage()

func (*CryptoMbPrivateKeyMethodConfig) ProtoReflect

func (*CryptoMbPrivateKeyMethodConfig) Reset

func (x *CryptoMbPrivateKeyMethodConfig) Reset()

func (*CryptoMbPrivateKeyMethodConfig) String

func (*CryptoMbPrivateKeyMethodConfig) Validate

func (m *CryptoMbPrivateKeyMethodConfig) Validate() error

Validate checks the field values on CryptoMbPrivateKeyMethodConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CryptoMbPrivateKeyMethodConfig) ValidateAll

func (m *CryptoMbPrivateKeyMethodConfig) ValidateAll() error

ValidateAll checks the field values on CryptoMbPrivateKeyMethodConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CryptoMbPrivateKeyMethodConfigMultiError, or nil if none found.

type CryptoMbPrivateKeyMethodConfigMultiError

type CryptoMbPrivateKeyMethodConfigMultiError []error

CryptoMbPrivateKeyMethodConfigMultiError is an error wrapping multiple validation errors returned by CryptoMbPrivateKeyMethodConfig.ValidateAll() if the designated constraints aren't met.

func (CryptoMbPrivateKeyMethodConfigMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CryptoMbPrivateKeyMethodConfigMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CryptoMbPrivateKeyMethodConfigValidationError

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

CryptoMbPrivateKeyMethodConfigValidationError is the validation error returned by CryptoMbPrivateKeyMethodConfig.Validate if the designated constraints aren't met.

func (CryptoMbPrivateKeyMethodConfigValidationError) Cause

Cause function returns cause value.

func (CryptoMbPrivateKeyMethodConfigValidationError) Error

Error satisfies the builtin error interface

func (CryptoMbPrivateKeyMethodConfigValidationError) ErrorName

ErrorName returns error name.

func (CryptoMbPrivateKeyMethodConfigValidationError) Field

Field function returns field value.

func (CryptoMbPrivateKeyMethodConfigValidationError) Key

Key function returns key value.

func (CryptoMbPrivateKeyMethodConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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