pub struct AcquirePrivateKeyOptions<'a> { /* private fields */ }
Expand description
A builder type for certificate private key lookup.
Implementations§
Source§impl<'a> AcquirePrivateKeyOptions<'a>
impl<'a> AcquirePrivateKeyOptions<'a>
Sourcepub fn compare_key(
&mut self,
compare_key: bool,
) -> &mut AcquirePrivateKeyOptions<'a>
pub fn compare_key( &mut self, compare_key: bool, ) -> &mut AcquirePrivateKeyOptions<'a>
If set, the certificate’s public key will be compared with the private key to ensure a match.
Sourcepub fn silent(&mut self, silent: bool) -> &mut AcquirePrivateKeyOptions<'a>
pub fn silent(&mut self, silent: bool) -> &mut AcquirePrivateKeyOptions<'a>
If set, the lookup will not display any user interface, even if that causes the lookup to fail.
Sourcepub fn acquire(&self) -> Result<PrivateKey>
pub fn acquire(&self) -> Result<PrivateKey>
Acquires the private key handle.
Auto Trait Implementations§
impl<'a> Freeze for AcquirePrivateKeyOptions<'a>
impl<'a> RefUnwindSafe for AcquirePrivateKeyOptions<'a>
impl<'a> Send for AcquirePrivateKeyOptions<'a>
impl<'a> Sync for AcquirePrivateKeyOptions<'a>
impl<'a> Unpin for AcquirePrivateKeyOptions<'a>
impl<'a> UnwindSafe for AcquirePrivateKeyOptions<'a>
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