copensub Function (ROM Call 0x133)

cert.h

void copensub (CFILE *context, CERT_FIELD *subfield);

Opens a subcontext.

As the certificate file is usually consist of various field, this function is used for initializing the context pointed to by context to point to the actual content of the field described in the structure pointed to by subfield. This function is equal to

copen (context, subfield->Data, subfield->Len);
copen is used mainly to reset the file pointer to the start of a group of items. See cfindfield for more info.


Uses: copen
Used by: AB_prodid, AB_prodname, ROM Call 0x504