Return the length in bytes of an ASN.1 object's encoded OID content.

Synopsis

Declared in <openssl/objects.h>

size_t
OBJ_length(ASN1_OBJECT const* obj);

Return Value

Number of content octets in the OID, or 0 if obj is NULL or has no data.

Parameters

Name

Description

obj

Object identifier to query; NULL yields 0.

Created with MrDocs