|
NAMEX509_REQ_print_ex ,
X509_REQ_print ,
X509_REQ_print_fp —
pretty-print a PKCS#10 certification request
SYNOPSISintX509_REQ_print_ex (BIO *bio,
X509_REQ *req, unsigned long
nameflags, unsigned long skipflags);
int
int
DESCRIPTIONX509_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.
By default, the following blocks of information are printed in the following order. Each block can be skipped by setting the corresponding bit in skipflags, provided in parentheses after each block description.
The nameflags argument modifies the format
for printing X.501 Name objects contained in
req. It is passed through to
X509_NAME_print_ex(3).
If nameflags is
RETURN VALUESThese functions return 1 if all requested information was successfully printed, even if failures occurred while attempting to decode or print the public key, or 0 if any operation fails.SEE ALSOBIO_new(3), X509_print_ex(3), X509_REQ_new(3)HISTORYX509_REQ_print () first appeared in SSLeay 0.4.4 and
X509_REQ_print_fp () in SSLeay 0.6.0. These functions
have been available since OpenBSD 2.4.
BUGSSome printing failures are silently ignored while printing extensions, which may result in incomplete data being printed.
Visit the GSP FreeBSD Man Page Interface. |