Lines Matching refs:TYPE

361  TYPE *d2i_TYPE(TYPE **a, const unsigned char **ppin, long length);
362 TYPE *d2i_TYPE_bio(BIO *bp, TYPE **a);
363 TYPE *d2i_TYPE_fp(FILE *fp, TYPE **a);
365 int i2d_TYPE(const TYPE *a, unsigned char **ppout);
366 int i2d_TYPE(TYPE *a, unsigned char **ppout);
367 int i2d_TYPE_fp(FILE *fp, const TYPE *a);
368 int i2d_TYPE_fp(FILE *fp, TYPE *a);
369 int i2d_TYPE_bio(BIO *bp, const TYPE *a);
370 int i2d_TYPE_bio(BIO *bp, TYPE *a);
374 In the description here, B<I<TYPE>> is used a placeholder
384 B<d2i_I<TYPE>>() attempts to decode I<len> bytes at I<*ppin>. If successful a
385 pointer to the B<I<TYPE>> structure is returned and I<*ppin> is incremented to
391 contains a valid B<I<TYPE>> structure and an attempt is made to reuse it. This
396 B<d2i_I<TYPE>_bio>() is similar to B<d2i_I<TYPE>>() except it attempts
399 B<d2i_I<TYPE>_fp>() is similar to B<d2i_I<TYPE>>() except it attempts
402 B<i2d_I<TYPE>>() encodes the structure pointed to by I<a> into DER format.
412 B<i2d_I<TYPE>_bio>() is similar to B<i2d_I<TYPE>>() except it writes
416 B<i2d_I<TYPE>_fp>() is similar to B<i2d_I<TYPE>>() except it writes
425 The letters B<i> and B<d> in B<i2d_I<TYPE>>() stand for
427 So B<i2d_I<TYPE>>() converts from internal to DER.
431 The actual TYPE structure passed to B<i2d_I<TYPE>>() must be a valid
432 populated B<I<TYPE>> structure -- it B<cannot> simply be fed with an
489 B<d2i_I<TYPE>>(), B<d2i_I<TYPE>_bio>() and B<d2i_I<TYPE>_fp>() return a valid
490 B<I<TYPE>> structure or NULL if an error occurs. If the "reuse" capability has
494 B<i2d_I<TYPE>>() returns the number of bytes successfully encoded or a negative
497 B<i2d_I<TYPE>_bio>() and B<i2d_I<TYPE>_fp>() return 1 for success and 0 if an
559 Another trap to avoid is misuse of the I<a> argument to B<d2i_I<TYPE>>():
574 In some versions of OpenSSL the "reuse" behaviour of B<d2i_I<TYPE>>() when
583 B<i2d_I<TYPE>>() will not return an error in many versions of OpenSSL,
586 fields entirely and will not be parsed by B<d2i_I<TYPE>>(). This may be
587 fixed in future so code should not assume that B<i2d_I<TYPE>>() will
590 Any function which encodes a structure (B<i2d_I<TYPE>>(),
591 B<i2d_I<TYPE>>() or B<i2d_I<TYPE>>()) may return a stale encoding if the