RELATIVE-OID

The ASN.1 RELATIVE-OID type is converted into a C or C++ structured type that is identical to that of the OBJECT IDENTIFIER described above:

ASN.1 production:

   <name> ::= RELATIVE-OID

Generated C code:

   typedef ASN1OBJID <name>;

Generated C++ code:

   typedef ASN1TObjId ASN1T_<name>;

A RELATIVE-OID is identical to an OBJECT IDENTIFIER except that it does not contain the restriction on the initial two arc values that they fall within a certain range (see the X.680 standard for more details on this).

Using C string for RELATIVE-OID

See the discussion above for OBJECT IDENTIFIER, which also applies to RELATIVE-OID.