1 .\" $OpenBSD: X509_REQ_new.3,v 1.5 2018/07/29 20:29:32 tb Exp $
3 .\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
5 .\" Permission to use, copy, modify, and distribute this software for any
6 .\" purpose with or without fee is hereby granted, provided that the above
7 .\" copyright notice and this permission notice appear in all copies.
9 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 .Dd $Mdocdate: July 29 2018 $
23 .Nm X509_REQ_INFO_new ,
24 .Nm X509_REQ_INFO_free
25 .Nd PKCS#10 certification requests
31 .Fn X509_REQ_free "X509_REQ *req"
33 .Fn X509_REQ_INFO_new void
35 .Fn X509_REQ_INFO_free "X509_REQ_INFO *req_info"
38 allocates and initializes an empty
40 object, representing an ASN.1
41 .Vt CertificationRequest
42 structure defined in RFC 2986 section 4.2.
43 It can hold a pointer to an
45 object discussed below together with a cryptographic signature and
46 information about the signature algorithm used.
54 pointer, no action occurs.
57 allocates and initializes an empty
59 object, representing an ASN.1
60 .Vt CertificationRequestInfo
61 structure defined in RFC 2986 section 4.1.
64 object and can hold the subject and the public key of the requested
65 certificate and additional attributes.
66 .Fn X509_REQ_INFO_free
73 pointer, no action occurs.
82 object, respectively, or
87 .Xr PEM_read_X509_REQ 3 ,
89 .Xr X509_REQ_get_pubkey 3 ,
90 .Xr X509_REQ_get_subject_name 3 ,
91 .Xr X509_REQ_get_version 3 ,
94 RFC 2986: PKCS #10: Certification Request Syntax Specification
98 .Fn X509_REQ_INFO_new ,
100 .Fn X509_REQ_INFO_free
101 first appeared in SSLeay 0.4.4 and have been available since