7503415ebd770d02b52a63af42d7ffe78cc4f768
[openssl.git] / doc / crypto / d2i_X509_REQ.pod
1 =pod
2
3 =head1 NAME
4
5 d2i_X509_REQ, i2d_X509_REQ, d2i_X509_REQ_bio, d2i_X509_REQ_fp,
6 i2d_X509_REQ_bio, i2d_X509_REQ_fp, i2d_re_X509_REQ_tbs - PKCS#10 certificate
7 request functions
8
9 =head1 SYNOPSIS
10
11  #include <openssl/x509.h>
12
13  X509_REQ *d2i_X509_REQ(X509_REQ **a, const unsigned char **pp, long length);
14  int i2d_X509_REQ(X509_REQ *a, unsigned char **pp);
15
16  X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **x);
17  X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **x);
18
19  int i2d_X509_REQ_bio(BIO *bp, X509_REQ *x);
20  int i2d_X509_REQ_fp(FILE *fp, X509_REQ *x);
21
22  int i2d_re_X509_REQ_tbs(X509_REQ *x, unsigned char **out);
23
24 =head1 DESCRIPTION
25
26 These functions decode and encode a PKCS#10 certificate request.
27
28 Otherwise these behave in a similar way to d2i_X509() and i2d_X509()
29 described in the L<d2i_X509(3)> manual page.
30
31 =head1 SEE ALSO
32
33 L<d2i_X509(3)>
34
35 =head1 COPYRIGHT
36
37 Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved.
38
39 Licensed under the OpenSSL license (the "License").  You may not use
40 this file except in compliance with the License.  You can obtain a copy
41 in the file LICENSE in the source distribution or at
42 L<https://www.openssl.org/source/license.html>.
43
44 =cut