Encode an ASN.1 value to a BIO using a type-specific i2d function.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| i2d | Encoder such as i2d_X509 (passed through CHECKED_I2D_OF helpers). |
| out | BIO that receives the DER encoding. |
| x | Object to encode; must match the type expected by i2d. |