rustls_pemfile

Function csr

source
pub fn csr(
    rd: &mut dyn BufRead,
) -> Result<Option<CertificateSigningRequestDer<'static>>, Error>
Expand description

Return the first certificate signing request (CSR) found in rd.

Yields the first PEM section describing a certificate signing request, or an error if a problem occurs while trying to read PEM sections.