pub struct IbmTlsConfig {
pub required: bool,
pub cipher_spec: Option<String>,
pub key_repository: Option<String>,
pub key_repository_password: Option<String>,
pub accept_invalid_certs: bool,
}Expand description
TLS configuration for the IBM MQ native client.
The IBM MQ client doesn’t consume PEM files, so this uses MQ-native field
names rather than the generic TlsConfig used by the other endpoints.
Fields§
§required: boolIf true, enable TLS/SSL.
cipher_spec: Option<String>TLS CipherSpec (e.g., ANY_TLS12). Required for encrypted connections. IBM MQ-specific.
key_repository: Option<String>For IBM MQ this is the CMS key repository stem (e.g. /path/to/tls for tls.kdb/tls.sth),
not a PEM file. Exposed as cert_file for config parity with the generic TlsConfig;
the MQ-native name key_repository is still accepted.
key_repository_password: Option<String>Password unlocking the key repository. Requires an IBM MQ client/server at 9.3.0.0+.
Exposed as cert_password for parity with TlsConfig; alias key_repository_password.
accept_invalid_certs: boolIf true, disable server certificate verification (insecure).
Trait Implementations§
Source§impl Clone for IbmTlsConfig
impl Clone for IbmTlsConfig
Source§fn clone(&self) -> IbmTlsConfig
fn clone(&self) -> IbmTlsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IbmTlsConfig
impl Debug for IbmTlsConfig
Source§impl Default for IbmTlsConfig
impl Default for IbmTlsConfig
Source§fn default() -> IbmTlsConfig
fn default() -> IbmTlsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IbmTlsConfig
impl<'de> Deserialize<'de> for IbmTlsConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for IbmTlsConfig
Source§impl Hash for IbmTlsConfig
impl Hash for IbmTlsConfig
Source§impl PartialEq for IbmTlsConfig
impl PartialEq for IbmTlsConfig
Source§impl SecretExtractor for IbmTlsConfig
impl SecretExtractor for IbmTlsConfig
Source§impl Serialize for IbmTlsConfig
impl Serialize for IbmTlsConfig
impl StructuralPartialEq for IbmTlsConfig
Auto Trait Implementations§
impl Freeze for IbmTlsConfig
impl RefUnwindSafe for IbmTlsConfig
impl Send for IbmTlsConfig
impl Sync for IbmTlsConfig
impl Unpin for IbmTlsConfig
impl UnsafeUnpin for IbmTlsConfig
impl UnwindSafe for IbmTlsConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more