# KeyUsage


## Fields

| Field                                                                      | Type                                                                       | Required                                                                   | Description                                                                |
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| `CertificateSign`                                                          | **bool*                                                                    | :heavy_minus_sign:                                                         | Whether the keyCertSign bit is set.                                        |
| `ContentCommitment`                                                        | **bool*                                                                    | :heavy_minus_sign:                                                         | Whether the contentCommitment (formerly called nonRepudiation) bit is set. |
| `CrlSign`                                                                  | **bool*                                                                    | :heavy_minus_sign:                                                         | Whether the cRLSign bit is set.                                            |
| `DataEncipherment`                                                         | **bool*                                                                    | :heavy_minus_sign:                                                         | Whether the dataEncipherment bit is set.                                   |
| `DecipherOnly`                                                             | **bool*                                                                    | :heavy_minus_sign:                                                         | Whether the decipherOnly bit is set.                                       |
| `DigitalSignature`                                                         | **bool*                                                                    | :heavy_minus_sign:                                                         | Whether the digitalSignature bit is set.                                   |
| `EncipherOnly`                                                             | **bool*                                                                    | :heavy_minus_sign:                                                         | Whether the encipherOnly bit is set.                                       |
| `KeyAgreement`                                                             | **bool*                                                                    | :heavy_minus_sign:                                                         | Whether the keyAgreement bit is set.                                       |
| `KeyEncipherment`                                                          | **bool*                                                                    | :heavy_minus_sign:                                                         | Whether the keyEncipherment bit is set.                                    |
| `Value`                                                                    | **int*                                                                     | :heavy_minus_sign:                                                         | The integer value of the bitmask in the extension.                         |