pub struct PfxParser;Expand description
Parser for PFX/P12 files
Implementations§
Source§impl PfxParser
impl PfxParser
Sourcepub fn parse_file<P: AsRef<Path>>(
path: P,
password: &str,
) -> Result<ParsedPfx, ConversionError>
pub fn parse_file<P: AsRef<Path>>( path: P, password: &str, ) -> Result<ParsedPfx, ConversionError>
Parse a PFX file from a file path
Sourcepub fn parse_bytes(
data: &[u8],
password: &str,
) -> Result<ParsedPfx, ConversionError>
pub fn parse_bytes( data: &[u8], password: &str, ) -> Result<ParsedPfx, ConversionError>
Parse PFX data from bytes
Auto Trait Implementations§
impl Freeze for PfxParser
impl RefUnwindSafe for PfxParser
impl Send for PfxParser
impl Sync for PfxParser
impl Unpin for PfxParser
impl UnwindSafe for PfxParser
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