[][src]Struct teaclave_crypto::TeaclaveFile128Key

pub struct TeaclaveFile128Key {
    pub key: [u8; 16],


key: [u8; 16]


impl TeaclaveFile128Key[src]

pub const SCHEMA: &'static str[src]

pub fn random() -> Self[src]

pub fn new(in_key: &[u8]) -> Result<Self>[src]

pub fn decrypt<P: AsRef<Path>>(
    path: P,
    output: &mut impl Write
) -> Result<[u8; 16]>

pub fn encrypt<P: AsRef<Path>>(
    path: P,
    content: impl Read
) -> Result<[u8; 16]>

Trait Implementations

impl Clone for TeaclaveFile128Key[src]

impl Copy for TeaclaveFile128Key[src]

impl Debug for TeaclaveFile128Key[src]

impl Default for TeaclaveFile128Key[src]

impl<'de> Deserialize<'de> for TeaclaveFile128Key[src]

impl PartialEq<TeaclaveFile128Key> for TeaclaveFile128Key[src]

impl Serialize for TeaclaveFile128Key[src]

impl StructuralPartialEq for TeaclaveFile128Key[src]

Auto Trait Implementations

impl RefUnwindSafe for TeaclaveFile128Key

impl Send for TeaclaveFile128Key

impl Sync for TeaclaveFile128Key

impl Unpin for TeaclaveFile128Key

impl UnwindSafe for TeaclaveFile128Key

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,