nding NIDs are available as defined constants. For the functions below, application code should treat all returned values -- OIDs, NIDs, or names -- as constants.</p>

<p>OBJ_nid2obj(), OBJ_nid2ln() and OBJ_nid2sn() convert the NID <i>n</i> to an ASN1_OBJECT structure, its long name and its short name respectively, or <b>NULL</b> if an error occurred.</p>

<p>OBJ_obj2nid(), OBJ_ln2nid(), OBJ_sn2nid() return the corresponding NID for the object <i>o</i>, the long name <i>ln</i> or the short name <i>sn</i> re