Documentation ¶
Index ¶
- Variables
- type CryptoMbPrivateKeyMethodConfig
- func (*CryptoMbPrivateKeyMethodConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CryptoMbPrivateKeyMethodConfig) GetPollDelay() *duration.Duration
- func (x *CryptoMbPrivateKeyMethodConfig) GetPrivateKey() *v3.DataSource
- func (*CryptoMbPrivateKeyMethodConfig) ProtoMessage()
- func (x *CryptoMbPrivateKeyMethodConfig) ProtoReflect() protoreflect.Message
- func (x *CryptoMbPrivateKeyMethodConfig) Reset()
- func (x *CryptoMbPrivateKeyMethodConfig) String() string
- func (m *CryptoMbPrivateKeyMethodConfig) Validate() error
- func (m *CryptoMbPrivateKeyMethodConfig) ValidateAll() error
- type CryptoMbPrivateKeyMethodConfigMultiError
- type CryptoMbPrivateKeyMethodConfigValidationError
- func (e CryptoMbPrivateKeyMethodConfigValidationError) Cause() error
- func (e CryptoMbPrivateKeyMethodConfigValidationError) Error() string
- func (e CryptoMbPrivateKeyMethodConfigValidationError) ErrorName() string
- func (e CryptoMbPrivateKeyMethodConfigValidationError) Field() string
- func (e CryptoMbPrivateKeyMethodConfigValidationError) Key() bool
- func (e CryptoMbPrivateKeyMethodConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
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 value greater than or equal to 1 millisecond. 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 (x *CryptoMbPrivateKeyMethodConfig) GetPollDelay() *duration.Duration
func (*CryptoMbPrivateKeyMethodConfig) GetPrivateKey ¶
func (x *CryptoMbPrivateKeyMethodConfig) GetPrivateKey() *v3.DataSource
func (*CryptoMbPrivateKeyMethodConfig) ProtoMessage ¶
func (*CryptoMbPrivateKeyMethodConfig) ProtoMessage()
func (*CryptoMbPrivateKeyMethodConfig) ProtoReflect ¶
func (x *CryptoMbPrivateKeyMethodConfig) ProtoReflect() protoreflect.Message
func (*CryptoMbPrivateKeyMethodConfig) Reset ¶
func (x *CryptoMbPrivateKeyMethodConfig) Reset()
func (*CryptoMbPrivateKeyMethodConfig) String ¶
func (x *CryptoMbPrivateKeyMethodConfig) String() 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 ¶
func (m CryptoMbPrivateKeyMethodConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CryptoMbPrivateKeyMethodConfigMultiError) Error ¶
func (m CryptoMbPrivateKeyMethodConfigMultiError) Error() string
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 ¶
func (e CryptoMbPrivateKeyMethodConfigValidationError) Cause() error
Cause function returns cause value.
func (CryptoMbPrivateKeyMethodConfigValidationError) Error ¶
func (e CryptoMbPrivateKeyMethodConfigValidationError) Error() string
Error satisfies the builtin error interface
func (CryptoMbPrivateKeyMethodConfigValidationError) ErrorName ¶
func (e CryptoMbPrivateKeyMethodConfigValidationError) ErrorName() string
ErrorName returns error name.
func (CryptoMbPrivateKeyMethodConfigValidationError) Field ¶
func (e CryptoMbPrivateKeyMethodConfigValidationError) Field() string
Field function returns field value.
func (CryptoMbPrivateKeyMethodConfigValidationError) Key ¶
func (e CryptoMbPrivateKeyMethodConfigValidationError) Key() bool
Key function returns key value.
func (CryptoMbPrivateKeyMethodConfigValidationError) Reason ¶
func (e CryptoMbPrivateKeyMethodConfigValidationError) Reason() string
Reason function returns reason value.