pub fn decapsulation( condition: bool, algorithm: &'static str, details: &'static str, ) -> Result<()>
Validate decapsulation parameters