| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CertificateManagerPCA.Types.KeyUsage
Description
Synopsis
- data KeyUsage = KeyUsage' {}
- newKeyUsage :: KeyUsage
- keyUsage_cRLSign :: Lens' KeyUsage (Maybe Bool)
- keyUsage_dataEncipherment :: Lens' KeyUsage (Maybe Bool)
- keyUsage_decipherOnly :: Lens' KeyUsage (Maybe Bool)
- keyUsage_digitalSignature :: Lens' KeyUsage (Maybe Bool)
- keyUsage_encipherOnly :: Lens' KeyUsage (Maybe Bool)
- keyUsage_keyAgreement :: Lens' KeyUsage (Maybe Bool)
- keyUsage_keyCertSign :: Lens' KeyUsage (Maybe Bool)
- keyUsage_keyEncipherment :: Lens' KeyUsage (Maybe Bool)
- keyUsage_nonRepudiation :: Lens' KeyUsage (Maybe Bool)
Documentation
Defines one or more purposes for which the key contained in the certificate can be used. Default value for each option is false.
See: newKeyUsage smart constructor.
Constructors
| KeyUsage' | |
Fields
| |
Instances
newKeyUsage :: KeyUsage Source #
Create a value of KeyUsage with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cRLSign:KeyUsage', keyUsage_cRLSign - Key can be used to sign CRLs.
$sel:dataEncipherment:KeyUsage', keyUsage_dataEncipherment - Key can be used to decipher data.
$sel:decipherOnly:KeyUsage', keyUsage_decipherOnly - Key can be used only to decipher data.
$sel:digitalSignature:KeyUsage', keyUsage_digitalSignature - Key can be used for digital signing.
$sel:encipherOnly:KeyUsage', keyUsage_encipherOnly - Key can be used only to encipher data.
$sel:keyAgreement:KeyUsage', keyUsage_keyAgreement - Key can be used in a key-agreement protocol.
$sel:keyCertSign:KeyUsage', keyUsage_keyCertSign - Key can be used to sign certificates.
$sel:keyEncipherment:KeyUsage', keyUsage_keyEncipherment - Key can be used to encipher data.
$sel:nonRepudiation:KeyUsage', keyUsage_nonRepudiation - Key can be used for non-repudiation.
keyUsage_digitalSignature :: Lens' KeyUsage (Maybe Bool) Source #
Key can be used for digital signing.