Struct win_crypto_ng::asymmetric::builder::BuilderWithParams
source · pub struct BuilderWithParams<A: Algorithm, Params: BuilderParams = ()> { /* private fields */ }
Expand description
Builder type with provided both key length and algorithm-specific parameters.
Implementations§
source§impl<A: Algorithm, P: BuilderParams> BuilderWithParams<A, P>
impl<A: Algorithm, P: BuilderParams> BuilderWithParams<A, P>
sourcepub fn build(self) -> Result<AsymmetricKey<A, Private>>
pub fn build(self) -> Result<AsymmetricKey<A, Private>>
Generate the final key.
Auto Trait Implementations§
impl<A, Params> RefUnwindSafe for BuilderWithParams<A, Params>where A: RefUnwindSafe, Params: RefUnwindSafe,
impl<A, Params> Send for BuilderWithParams<A, Params>where A: Send, Params: Send,
impl<A, Params> Sync for BuilderWithParams<A, Params>where A: Sync, Params: Sync,
impl<A, Params> Unpin for BuilderWithParams<A, Params>where A: Unpin, Params: Unpin,
impl<A, Params> UnwindSafe for BuilderWithParams<A, Params>where A: UnwindSafe, Params: UnwindSafe,
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