diff options
Diffstat (limited to 'src/rpc/envoy.extensions.private_key_providers.cryptomb.v3alpha.rs')
| -rw-r--r-- | src/rpc/envoy.extensions.private_key_providers.cryptomb.v3alpha.rs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/rpc/envoy.extensions.private_key_providers.cryptomb.v3alpha.rs b/src/rpc/envoy.extensions.private_key_providers.cryptomb.v3alpha.rs new file mode 100644 index 00000000..a839fc9b --- /dev/null +++ b/src/rpc/envoy.extensions.private_key_providers.cryptomb.v3alpha.rs @@ -0,0 +1,30 @@ +// @generated +// This file is @generated by prost-build. +// \[#protodoc-title: CryptoMb private key provider\] +// \[#extension: envoy.tls.key_providers.cryptomb\] + +/// A CryptoMbPrivateKeyMethodConfig message specifies how the CryptoMb private +/// key provider is configured. The private key provider provides ``SIMD`` +/// processing for ECDSA sign operations and RSA sign and decrypt operations. +/// 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\] +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CryptoMbPrivateKeyMethodConfig { + /// 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. + #[prost(message, optional, tag="1")] + pub private_key: ::core::option::Option<super::super::super::super::config::core::v3::DataSource>, + /// 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. + #[prost(message, optional, tag="2")] + pub poll_delay: ::core::option::Option<super::super::super::super::super::google::protobuf::Duration>, +} +// @@protoc_insertion_point(module) |
