[−][src]Struct ntge_core::message::decryptor::Decryptor
Fields
message: MessageMethods
impl Decryptor[src]
impl Decryptor[src]
pub fn verify_message_mac(&self, file_key: &FileKey) -> bool[src]
pub fn decrypt_file_key(
&self,
private_key: &X25519PrivateKey
) -> Option<FileKey>[src]
&self,
private_key: &X25519PrivateKey
) -> Option<FileKey>
pub fn decrypt_payload(&self, file_key: &FileKey) -> Option<Vec<u8>>[src]
impl Decryptor[src]
pub fn verify_signature(
message: &Message,
public_key: &Ed25519PublicKey
) -> bool[src]
message: &Message,
public_key: &Ed25519PublicKey
) -> bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Decryptor
impl Send for Decryptor
impl Sync for Decryptor
impl Unpin for Decryptor
impl UnwindSafe for Decryptor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<'a, T> Desc<'a, T> for T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,