v3_crl_reason - getting acess to the various CRL reasons

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'd like to use the

	crl_reasons

table in v3_enums.c as the single source of truth (as opposed to building this list into other tooling - because; as it skips the number 7 - is very easy to get wrong & some opensource tools do get it wrong).

Now there is a i2s_ASN1_ENUMERATED_TABLE() - but is there something the opposite ? That lets me take a string, like cessationOfOperation and get the CRL_REASON_CESSATION_OF_OPERATION value ? (As opposed to hardcoding BIT_STRING_BITNAME understanding parsing of user_data) ?

With kind regards,

Dw 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux