Struct openssl::x509::X509Req [] [src]

pub struct X509Req(_);

A certificate signing request

Methods

impl X509Req
[src]

unsafe fn new(handle: *mut X509_REQ) -> X509Req

Creates new from handle

fn as_ptr(&self) -> *mut X509_REQ

fn from_pem(buf: &[u8]) -> Result<X509Req, ErrorStack>

Reads CSR from PEM

fn to_pem(&self) -> Result<Vec<u8>, ErrorStack>

Writes CSR as PEM

fn to_der(&self) -> Result<Vec<u8>, ErrorStack>

Returns a DER serialized form of the CSR

Trait Implementations

impl Drop for X509Req
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more