The X.509 key usage extension is used to specify how a key is used. When an application goes through the verification process, it normally checks that the key is only being used for an intended purpose. The key usage extension uses the general purpose extension structure General Purpose Extension Structure. No additional flags are defined for this extension. value must be one nuint16 where each bit is a key usage. Any combination of key usages may be used, but not all are appropriate combinations or are appropriate for all types of keys. The following key usages are defined: