• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/asn1/

Lines Matching defs:bp

91 int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflags, unsigned long cflag)
115 if (BIO_write(bp,"Certificate Request:\n",21) <= 0) goto err;
116 if (BIO_write(bp," Data:\n",10) <= 0) goto err;
124 if(BIO_printf(bp,"%8sVersion: %s%lu (%s0x%lx)\n","",neg,l,neg,
130 if (BIO_printf(bp," Subject:%c",mlch) <= 0) goto err;
131 if (X509_NAME_print_ex(bp,ri->subject,nmindent, nmflags) < 0) goto err;
132 if (BIO_write(bp,"\n",1) <= 0) goto err;
136 if (BIO_write(bp," Subject Public Key Info:\n",33) <= 0)
138 if (BIO_printf(bp,"%12sPublic Key Algorithm: ","") <= 0)
140 if (i2a_ASN1_OBJECT(bp, ri->pubkey->algor->algorithm) <= 0)
142 if (BIO_puts(bp, "\n") <= 0)
148 BIO_printf(bp,"%12sUnable to load Public Key\n","");
149 ERR_print_errors(bp);
153 EVP_PKEY_print_public(bp, pkey, 16, NULL);
161 if(BIO_printf(bp,"%8sAttributes:\n","") <= 0)
167 if(BIO_printf(bp,"%12sa0:00\n","") <= 0)
183 if(BIO_printf(bp,"%12s","") <= 0)
185 if ((j=i2a_ASN1_OBJECT(bp,a->object)) > 0)
204 if (BIO_write(bp," ",1) != 1) goto err;
205 if (BIO_puts(bp,":") <= 0) goto err;
210 if (BIO_write(bp,(char *)bs->data,bs->length)
213 BIO_puts(bp,"\n");
217 BIO_puts(bp,"unable to print attribute\n");
228 BIO_printf(bp,"%8sRequested Extensions:\n","");
235 if (BIO_printf(bp,"%12s","") <= 0) goto err;
237 i2a_ASN1_OBJECT(bp,obj);
239 if (BIO_printf(bp,": %s\n",j?"critical":"") <= 0)
241 if(!X509V3_EXT_print(bp, ex, cflag, 16))
243 BIO_printf(bp, "%16s", "");
244 M_ASN1_OCTET_STRING_print(bp,ex->value);
246 if (BIO_write(bp,"\n",1) <= 0) goto err;
254 if(!X509_signature_print(bp, x->sig_alg, x->signature)) goto err;
263 int X509_REQ_print(BIO *bp, X509_REQ *x)
265 return X509_REQ_print_ex(bp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT);