use super::AesKw;
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum EcDhES {
Direct,
AesKw(AesKw),
}
impl From<EcDhES> for super::JsonWebEncryptionAlgorithm {
fn from(x: EcDhES) -> Self {
Self::EcDhES(x)
}
}
impl From<EcDhES> for super::JsonWebAlgorithm {
fn from(x: EcDhES) -> Self {
Self::Encryption(super::JsonWebEncryptionAlgorithm::EcDhES(x))
}
}