OpenBSD manual page server

Manual Page Search Parameters

X509_REQ_NEW(3) Library Functions Manual X509_REQ_NEW(3)

X509_REQ_new, X509_REQ_free, X509_REQ_INFO_new, X509_REQ_INFO_freePKCS#10 certification requests

#include <openssl/x509.h>

X509_REQ *
X509_REQ_new(void);

void
X509_REQ_free(X509_REQ *req);

X509_REQ_INFO *
X509_REQ_INFO_new(void);

void
X509_REQ_INFO_free(X509_REQ_INFO *req_info);

() allocates and initializes an empty X509_REQ object, representing an ASN.1 CertificationRequest structure defined in RFC 2986 section 4.2. It can hold a pointer to an X509_REQ_INFO object discussed below together with a cryptographic signature and information about the signature algorithm used. () frees req.

() allocates and initializes an empty X509_REQ_INFO object, representing an ASN.1 CertificationRequestInfo structure defined in RFC 2986 section 4.1. It is used inside the X509_REQ object and can hold the subject and the public key of the requested certificate and additional attributes. () frees req_info.

X509_REQ_new() and X509_REQ_INFO_new() return the new X509_REQ or X509_REQ_INFO object, respectively, or NULL if an error occurs.

d2i_X509_REQ(3), PEM_read_X509_REQ(3), X509_new(3), X509_REQ_get_pubkey(3), X509_REQ_get_subject_name(3), X509_REQ_get_version(3), X509_REQ_sign(3)

RFC 2986: PKCS #10: Certification Request Syntax Specification

December 25, 2016 OpenBSD-6.1