pub struct IdentityBuilder(/* private fields */);Implementations§
Source§impl IdentityBuilder
impl IdentityBuilder
Sourcepub fn from_x509(x509: X509PemBuilder, key: PrivateKeyBuilder) -> Result<Self>
pub fn from_x509(x509: X509PemBuilder, key: PrivateKeyBuilder) -> Result<Self>
load pk12 from x509 certs
pub fn build(self) -> Result<Identity>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IdentityBuilder
impl RefUnwindSafe for IdentityBuilder
impl Send for IdentityBuilder
impl Sync for IdentityBuilder
impl Unpin for IdentityBuilder
impl UnwindSafe for IdentityBuilder
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