pub const fn name(self) -> &'static str {
    match self {
      Self::RSA1_5 => "RSA1_5",
      Self::RSA_OAEP => "RSA-OAEP",
      Self::RSA_OAEP_256 => "RSA-OAEP-256",
      Self::RSA_OAEP_384 => "RSA-OAEP-384",
      Self::RSA_OAEP_512 => "RSA-OAEP-512",
      Self::A128KW => "A128KW",
      Self::A192KW => "A192KW",
      Self::A256KW => "A256KW",
      Self::DIR => "dir",
      Self::ECDH_ES => "ECDH-ES",
      Self::ECDH_ES_A128KW => "ECDH-ES+A128KW",
      Self::ECDH_ES_A192KW => "ECDH-ES+A192KW",
      Self::ECDH_ES_A256KW => "ECDH-ES+A256KW",
      Self::ECDH_ES_C20PKW => "ECDH-ES+C20PKW",
      Self::ECDH_ES_XC20PKW => "ECDH-ES+XC20PKW",
      Self::A128GCMKW => "A128GCMKW",
      Self::A192GCMKW => "A192GCMKW",
      Self::A256GCMKW => "A256GCMKW",
      Self::PBES2_HS256_A128KW => "PBES2-HS256+A128KW",
      Self::PBES2_HS384_A192KW => "PBES2-HS384+A192KW",
      Self::PBES2_HS512_A256KW => "PBES2-HS512+A256KW",
      Self::ECDH_1PU => "ECDH-1PU",
      Self::ECDH_1PU_A128KW => "ECDH-1PU+A128KW",
      Self::ECDH_1PU_A192KW => "ECDH-1PU+A192KW",
      Self::ECDH_1PU_A256KW => "ECDH-1PU+A256KW",
      Self::C20PKW => "C20PKW",
      Self::XC20PKW => "XC20PKW",
    }
  }
/// Returns the JWE algorithm as a `str` slice.
Returns the JWE algorithm as a `str` slice.
Returns the JWE algorithm as a ` str ` slice .
pub const fn name(self) -> &'static str {
    match self {
      Self::RSA1_5 => "RSA1_5",
      Self::RSA_OAEP => "RSA-OAEP",
      Self::RSA_OAEP_256 => "RSA-OAEP-256",
      Self::RSA_OAEP_384 => "RSA-OAEP-384",
      Self::RSA_OAEP_512 => "RSA-OAEP-512",
      Self::A128KW => "A128KW",
      Self::A192KW => "A192KW",
      Self::A256KW => "A256KW",
      Self::DIR => "dir",
      Self::ECDH_ES => "ECDH-ES",
      Self::ECDH_ES_A128KW => "ECDH-ES+A128KW",
      Self::ECDH_ES_A192KW => "ECDH-ES+A192KW",
      Self::ECDH_ES_A256KW => "ECDH-ES+A256KW",
      Self::ECDH_ES_C20PKW => "ECDH-ES+C20PKW",
      Self::ECDH_ES_XC20PKW => "ECDH-ES+XC20PKW",
      Self::A128GCMKW => "A128GCMKW",
      Self::A192GCMKW => "A192GCMKW",
      Self::A256GCMKW => "A256GCMKW",
      Self::PBES2_HS256_A128KW => "PBES2-HS256+A128KW",
      Self::PBES2_HS384_A192KW => "PBES2-HS384+A192KW",
      Self::PBES2_HS512_A256KW => "PBES2-HS512+A256KW",
      Self::ECDH_1PU => "ECDH-1PU",
      Self::ECDH_1PU_A128KW => "ECDH-1PU+A128KW",
      Self::ECDH_1PU_A192KW => "ECDH-1PU+A192KW",
      Self::ECDH_1PU_A256KW => "ECDH-1PU+A256KW",
      Self::C20PKW => "C20PKW",
      Self::XC20PKW => "XC20PKW",
    }
  }
pub const fn name ( self ) -> & ' static str { match self { Self :: RSA1_5 => " " , Self :: RSA_OAEP => " " , Self :: RSA_OAEP_256 => " " , Self :: RSA_OAEP_384 => " " , Self :: RSA_OAEP_512 => " " , Self :: A128KW => " " , Self :: A192KW => " " , Self :: A256KW => " " , Self :: DIR => " " , Self :: ECDH_ES => " " , Self :: ECDH_ES_A128KW => " " , Self :: ECDH_ES_A192KW => " " , Self :: ECDH_ES_A256KW => " " , Self :: ECDH_ES_C20PKW => " " , Self :: ECDH_ES_XC20PKW => " " , Self :: A128GCMKW => " " , Self :: A192GCMKW => " " , Self :: A256GCMKW => " " , Self :: PBES2_HS256_A128KW => " " , Self :: PBES2_HS384_A192KW => " " , Self :: PBES2_HS512_A256KW => " " , Self :: ECDH_1PU => " " , Self :: ECDH_1PU_A128KW => " " , Self :: ECDH_1PU_A192KW => " " , Self :: ECDH_1PU_A256KW => " " , Self :: C20PKW => " " , Self :: XC20PKW => " " , } }
Returns the JWE algorithm as a `str` slice.
Returns the JWE algorithm as a ` str ` slice .
self
self