Struct openssl::pkcs12::Pkcs12Ref
[−]
pub struct Pkcs12Ref(_);
Methods
impl Pkcs12Ref
[src]
pub fn to_der(&self) -> Result<Vec<u8>, ErrorStack>
[src]
Serializes this value to DER.
pub fn parse(&self, pass: &str) -> Result<ParsedPkcs12, ErrorStack>
[src]
Extracts the contents of the Pkcs12
.
Trait Implementations
impl ForeignTypeRef for Pkcs12Ref
type CType = PKCS12
The raw C type.
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
[src]
Constructs a shared instance of this type from its raw type.
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
[src]
Constructs a mutable reference of this type from its raw type.
fn as_ptr(&self) -> *mut Self::CType
[src]
Returns a raw pointer to the wrapped value.