Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
NAME
X509_REQ_print_ex, X509_REQ_print, X509_REQ_print_fp — pretty-print a PKCS#10 certification requestSYNOPSIS
intX509_REQ_print_ex(BIO *bio, X509_REQ *req, unsigned long nameflags, unsigned long skipflags);
X509_REQ_print(BIO *bio, X509_REQ *req);
X509_REQ_print_fp(FILE *fp, X509_REQ *req);
DESCRIPTION
X509_REQ_print_ex() prints information contained in req to bio in human-readable form. Printing is aborted as soon as any operation fails, with the exception that failures while attempting to decode or print the public key are not considered as errors.- A pair of lines reading “Certificate Request:” and “Data:” containing no information. (X509_FLAG_NO_HEADER)
- The value contained in the version field in decimal and hexadecimal notation. (X509_FLAG_NO_VERSION)
- The subject name is printed with X509_NAME_print_ex(3). (X509_FLAG_NO_SUBJECT)
- The public key algorithm is printed with i2a_ASN1_OBJECT(3), and the public key returned from X509_REQ_get_pubkey(3) with EVP_PKEY_print_public(3). (X509_FLAG_NO_PUBKEY)
- For each X.501 attribute that is not a requested extension according to X509_REQ_extension_nid(3), the object identifier is printed with i2a_ASN1_OBJECT(3), and all values of the types V_ASN1_PRINTABLESTRING, V_ASN1_T61STRING, and V_ASN1_IA5STRING are printed with BIO_write(3). (X509_FLAG_NO_ATTRIBUTES)
- The requested extensions are retrieved with X509_REQ_get_extensions(3) and their types and values are printed with i2a_ASN1_OBJECT(3) and X509V3_EXT_print(3), or, if the latter fails, with ASN1_STRING_print(3). (X509_FLAG_NO_EXTENSIONS)
- The signature is printed with X509_signature_print(3). (X509_FLAG_NO_SIGDUMP)