Struct openssl::pkcs12::Pkcs12Ref [−][src]
pub struct Pkcs12Ref(_);
Implementations
impl Pkcs12Ref
[src]
impl Pkcs12Ref
[src]pub fn to_der(&self) -> Result<Vec<u8>, ErrorStack>
[src]
Serializes the Pkcs12
to its standard DER encoding.
This corresponds to i2d_PKCS12
.
pub fn parse(&self, pass: &str) -> Result<ParsedPkcs12, ErrorStack>
[src]
Extracts the contents of the Pkcs12
.