Struct prople_crypto::keysecure::builder::Builder
source · pub struct Builder { /* private fields */ }Expand description
Builder used to generate a KeySecure data structure based on some context
This object will depends on three important parameters:
- password
- context
- message
The message property will depends on it’s context. If the context is ED25519
the given message will be generated PEM format from it’s private key
If the context is ECDH or X25519, the given message will be hex-ed string value of
it’s private key in bytes
Implementations§
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more