Struct openssl::x509::X509ReqRef
[−]
pub struct X509ReqRef(_);
Methods
impl X509ReqRef
[src]
fn to_pem(&self) -> Result<Vec<u8>, ErrorStack>
Serializes this value to PEM.
fn to_der(&self) -> Result<Vec<u8>, ErrorStack>
Serializes this value to DER.
fn version(&self) -> i32
fn subject_name(&self) -> &X509NameRef
Trait Implementations
impl ForeignTypeRef for X509ReqRef
type CType = X509_REQ
The raw C type.
unsafe fn from_ptr(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type.
unsafe fn from_ptr_mut(ptr: *mut Self::CType) -> &'a mut Self
Constructs a mutable reference of this type from its raw type.
fn as_ptr(&self) -> *mut Self::CType
Returns a raw pointer to the wrapped value.