pub fn unwrap_encrypted(self) -> crate::Compact {
        match self {
            Compact::Decrypted { .. } => panic!("JWE is decrypted"),
            Compact::Encrypted(compact) => compact,
        }
    }
/// Consumes self, and move the encrypted Compact serialization out and return it
///
/// # Panics
/// Panics if the JWE is not encrypted
Consumes self, and move the encrypted Compact serialization out and return it
Consumes self and move the encrypted Compact serialization out and return it
pub fn unwrap_encrypted(self) -> crate::Compact {
        match self {
            Compact::Decrypted { .. } => panic!("JWE is decrypted"),
            Compact::Encrypted(compact) => compact,
        }
    }
pub fn unwrap_encrypted ( self ) -> crate :: Compact { match self { Compact :: Decrypted { .. } => panic ! ( " " ) , Compact :: Encrypted ( compact ) => compact , } }
Consumes self, and move the encrypted Compact serialization out and return it
Consumes self and move the encrypted Compact serialization out and return it
self
self
panics
Panics if the JWE is not encrypted
Panics if the JWE is not encrypted