pub fn open<P: BoxProvider>(key: &Key<P>, id: &[u8]) -> Option<Self> {
        // get fields and create transaction
        let sealed = SealedTransaction::from(id.to_vec());
        let packed = sealed.decrypt(key, b"").ok()?;
        Some(Self((packed, sealed)))
    }
/// open a transaction from record by id
open a transaction from record by id
open a transaction from record by id
pub fn open<P: BoxProvider>(key: &Key<P>, id: &[u8]) -> Option<Self> {
        // get fields and create transaction
        let sealed = SealedTransaction::from(id.to_vec());
        let packed = sealed.decrypt(key, b"").ok()?;
        Some(Self((packed, sealed)))
    }
pub fn open < P : BoxProvider > ( key : & Key < P > , id : & [ u8 ] ) -> Option < Self > { // get fields and create transaction let sealed = SealedTransaction :: from ( id . to_vec ( ) ) ; let packed = sealed . decrypt ( key , b" " ) . ok ( ) ? ; Some ( Self ( ( packed , sealed ) ) ) }
open a transaction from record by id
open a transaction from record by id
key
&Key<P>
id
&[u8]