Struct openssl::x509::X509ReqRef
[−]
pub struct X509ReqRef(_);
Methods
impl X509ReqRef
[src]
pub fn to_pem(&self) -> Result<Vec<u8>, ErrorStack>
[src]
Serializes this value to PEM.
pub fn to_der(&self) -> Result<Vec<u8>, ErrorStack>
[src]
Serializes this value to DER.
pub fn version(&self) -> i32
[src]
pub fn subject_name(&self) -> &X509NameRef
[src]
Trait Implementations
impl Borrow<X509ReqRef> for X509Req
fn borrow(&self) -> &X509ReqRef
Immutably borrows from an owned value. Read more
impl AsRef<X509ReqRef> for X509Req
fn as_ref(&self) -> &X509ReqRef
Performs the conversion.
impl ForeignTypeRef for X509ReqRef
type CType = X509_REQ
The raw C type.
ⓘImportant traits for &'a mut Runsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
[src]
ⓘImportant traits for &'a mut R
Constructs a shared instance of this type from its raw type.
ⓘImportant traits for &'a mut Runsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
[src]
ⓘImportant traits for &'a mut R
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.