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

pub struct X509Req {
    // some fields omitted
}

A certificate signing request

Methods

impl X509Req

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

Creates new from handle

fn from_pem<R>(reader: &mut R) -> Result<X509Req, SslError> where R: Read

Reads CSR from PEM

fn write_pem<W>(&self, writer: &mut W) -> Result<(), SslError> where W: Write

Writes CSR as PEM

Trait Implementations

impl Drop for X509Req

fn drop(&mut self)