[#ASN1_object_size] = ASN1_object_size :mrdocs: Compute the total DER size of a tagged ASN.1 value given its content length. == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int ASN1_object_size( int constructed, int length, int tag); ---- == Return Value Total number of octets for tag, length, and content, or a negative value on error. == Parameters [cols="1,4"] |=== | Name| Description | *constructed* | Non‐zero if the encoding uses a constructed form. | *length* | Number of content octets (or ‐1 for indefinite length). | *tag* | Tag number to encode (universal/application/context‐specific as used by callers). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#