Skip to main content

oci_rust_sdk/core/models/
macsec_encryption_cipher.rs

1use serde::{Deserialize, Serialize};
2
3/// Type of encryption cipher suite to use for the MACsec connection.
4#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
5pub enum MacsecEncryptionCipher {
6    #[serde(rename = "AES128_GCM")]
7    Aes128Gcm,
8
9    #[serde(rename = "AES128_GCM_XPN")]
10    Aes128GcmXpn,
11
12    #[serde(rename = "AES256_GCM")]
13    Aes256Gcm,
14
15    #[serde(rename = "AES256_GCM_XPN")]
16    Aes256GcmXpn,
17
18    /// This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
19    #[serde(other)]
20    UnknownValue,
21}