Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

d2i_X509_REQ (3openssl)

Name

d2i_X509_REQ - d2i_X509_REQ, i2d_X509_REQ, d2i_X509_REQ_bio, d2i_X509_REQ_fp, PKCS#10 certificate request functions.

Synopsis

#include <openssl/x509.h>

X509_REQ *d2i_X509_REQ(X509_REQ **a, const unsigned char **pp, long length);
int i2d_X509_REQ(X509_REQ *a, unsigned char **pp);

X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **x);
X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **x);

int i2d_X509_REQ_bio(BIO *bp, X509_REQ *x);
int i2d_X509_REQ_fp(FILE *fp, X509_REQ *x);

Description

d2i_X509_REQ(3openssl)              OpenSSL             d2i_X509_REQ(3openssl)



NAME
       d2i_X509_REQ, i2d_X509_REQ, d2i_X509_REQ_bio, d2i_X509_REQ_fp,
       i2d_X509_REQ_bio, i2d_X509_REQ_fp - PKCS#10 certificate request
       functions.

SYNOPSIS
        #include <openssl/x509.h>

        X509_REQ *d2i_X509_REQ(X509_REQ **a, const unsigned char **pp, long length);
        int i2d_X509_REQ(X509_REQ *a, unsigned char **pp);

        X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **x);
        X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **x);

        int i2d_X509_REQ_bio(BIO *bp, X509_REQ *x);
        int i2d_X509_REQ_fp(FILE *fp, X509_REQ *x);

DESCRIPTION
       These functions decode and encode a PKCS#10 certificate request.

       Othewise these behave in a similar way to d2i_X509() and i2d_X509()
       described in the d2i_X509(3) manual page.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+--------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE      |
       +---------------+--------------------------+
       |Availability   | library/security/openssl |
       +---------------+--------------------------+
       |Stability      | Pass-through uncommitted |
       +---------------+--------------------------+

SEE ALSO
       d2i_X509(3)

HISTORY
       TBA



NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       https://www.openssl.org/source/openssl-1.0.2ze.tar.gz.

       Further information about this software can be found on the open source
       community website at https://www.openssl.org/.



1.0.2ze                           2022-05-03            d2i_X509_REQ(3openssl)