Lines Matching refs:bp
37 int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflags,
56 if (BIO_write(bp, "Certificate Request:\n", 21) <= 0)
58 if (BIO_write(bp, " Data:\n", 10) <= 0)
64 if (BIO_printf(bp, "%8sVersion: %ld (0x%lx)\n", "", l + 1, (unsigned long)l) <= 0)
67 if (BIO_printf(bp, "%8sVersion: Unknown (%ld)\n", "", l) <= 0)
72 if (BIO_printf(bp, " Subject:%c", mlch) <= 0)
74 if (X509_NAME_print_ex(bp, X509_REQ_get_subject_name(x),
77 if (BIO_write(bp, "\n", 1) <= 0)
83 if (BIO_write(bp, " Subject Public Key Info:\n", 33) <= 0)
85 if (BIO_printf(bp, "%12sPublic Key Algorithm: ", "") <= 0)
89 if (i2a_ASN1_OBJECT(bp, koid) <= 0)
91 if (BIO_puts(bp, "\n") <= 0)
96 if (BIO_printf(bp, "%12sUnable to load Public Key\n", "") <= 0)
98 ERR_print_errors(bp);
100 if (EVP_PKEY_print_public(bp, pkey, 16, NULL) <= 0)
107 if (BIO_printf(bp, "%8sAttributes:\n", "") <= 0)
111 if (BIO_printf(bp, "%12s(none)\n", "") <= 0)
125 if (BIO_printf(bp, "%12s", "") <= 0)
127 if ((j = i2a_ASN1_OBJECT(bp, aobj)) > 0) {
140 if (BIO_write(bp, " ", 1) != 1)
142 if (BIO_puts(bp, ":") <= 0)
150 if (BIO_write(bp, (char *)bs->data, bs->length)
153 if (BIO_puts(bp, "\n") <= 0)
157 if (BIO_puts(bp, "unable to print attribute\n") <= 0)
169 if (BIO_printf(bp, "%12sRequested Extensions:\n", "") <= 0)
176 if (BIO_printf(bp, "%16s", "") <= 0)
179 if (i2a_ASN1_OBJECT(bp, obj) <= 0)
182 if (BIO_printf(bp, ": %s\n", critical ? "critical" : "") <= 0)
184 if (!X509V3_EXT_print(bp, ex, cflag, 20)) {
185 if (BIO_printf(bp, "%20s", "") <= 0
186 || ASN1_STRING_print(bp,
190 if (BIO_write(bp, "\n", 1) <= 0)
201 if (!X509_signature_print(bp, sig_alg, sig))
211 int X509_REQ_print(BIO *bp, X509_REQ *x)
213 return X509_REQ_print_ex(bp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT);