Encode an ASN.1 value to a BIO using a type‐specific i2d function.
Synopsis
Declared in <openssl/asn1.h>
int
ASN1_i2d_bio(
i2d_of_void* i2d,
BIO* out,
void const* x);
Return Value
1 on success, or 0 on failure.
Parameters
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 |
Created with MrDocs