Encode an ASN.1 value to a FILE using a type‐specific i2d function.
Synopsis
Declared in <openssl/asn1.h>
int
ASN1_i2d_fp(
i2d_of_void* i2d,
FILE* out,
void const* x);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
i2d |
Encoder such as i2d_X509. |
out |
Output FILE that receives the DER encoding. |
x |
Object to encode; must match the type expected by |
Created with MrDocs