parent
3395b91ad1
commit
b331b9f6a3
12 changed files with 433 additions and 75 deletions
|
|
@ -129,7 +129,7 @@ impl<'a> MultiEncryptedMessageRef<'a> {
|
|||
&self.bytes[self.ciphertext_start..]
|
||||
}
|
||||
|
||||
pub fn to_owned(&self) -> MultiEncryptedMessage {
|
||||
pub fn to_owned(self) -> MultiEncryptedMessage {
|
||||
let recipients = (0..self.count)
|
||||
.filter_map(|index| {
|
||||
let (kem_ciphertext, encrypted_key) = self.recipient(index)?;
|
||||
|
|
|
|||
Loading…
Reference in a new issue