| 30 | } |
| 31 | |
| 32 | pub trait DecryptionAlgorithm<T> |
| 33 | where |
| 34 | T: Read, |
| 35 | { |
| 36 | type Decryptor: DecryptionModule; |
| 37 | |
| 38 | fn decryptor(&self, reader: T) -> Result<Self::Decryptor, EncryptorInitError>; |
| 39 | } |
| 40 | |
| 41 | #[derive(Default, Clone)] |
| 42 | pub enum EncryptionSecret { |
nothing calls this directly
no outgoing calls
no test coverage detected