Struct openssl::x509::X509Req
[−]
[src]
pub struct X509Req(_);
Methods
impl X509Req
[src]
fn from_pem(buf: &[u8]) -> Result<X509Req, ErrorStack>
Reads CSR from PEM
fn from_der(der: &[u8]) -> Result<X509Req, ErrorStack>
Deserializes a value from DER-formatted data.
Methods from Deref<Target=X509ReqRef>
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.
Trait Implementations
impl OpenSslType for X509Req
[src]
type CType = X509_REQ
The raw C type.
type Ref = X509ReqRef
The type representing a reference to this type.
unsafe fn from_ptr(ptr: *mut X509_REQ) -> X509Req
Constructs an instance of this type from its raw type.
impl Drop for X509Req
[src]
impl Deref for X509Req
[src]
type Target = X509ReqRef
The resulting type after dereferencing
fn deref(&self) -> &X509ReqRef
The method called to dereference a value
impl DerefMut for X509Req
[src]
fn deref_mut(&mut self) -> &mut X509ReqRef
The method called to mutably dereference a value