libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CertificateManagerPCA.Types.KeyUsage

Description

 
Synopsis

Documentation

data KeyUsage Source #

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

Instances details
Eq KeyUsage Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.KeyUsage

Read KeyUsage Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.KeyUsage

Show KeyUsage Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.KeyUsage

Generic KeyUsage Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.KeyUsage

Associated Types

type Rep KeyUsage :: Type -> Type #

Methods

from :: KeyUsage -> Rep KeyUsage x #

to :: Rep KeyUsage x -> KeyUsage #

NFData KeyUsage Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.KeyUsage

Methods

rnf :: KeyUsage -> () #

Hashable KeyUsage Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.KeyUsage

Methods

hashWithSalt :: Int -> KeyUsage -> Int #

hash :: KeyUsage -> Int #

ToJSON KeyUsage Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.KeyUsage

FromJSON KeyUsage Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.KeyUsage

type Rep KeyUsage Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.KeyUsage

type Rep KeyUsage = D1 ('MetaData "KeyUsage" "Amazonka.CertificateManagerPCA.Types.KeyUsage" "libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca" 'False) (C1 ('MetaCons "KeyUsage'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "dataEncipherment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "encipherOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "nonRepudiation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "cRLSign") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "digitalSignature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "keyCertSign") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "decipherOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "keyEncipherment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "keyAgreement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))))

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:dataEncipherment:KeyUsage', keyUsage_dataEncipherment - Key can be used to decipher data.

$sel:encipherOnly:KeyUsage', keyUsage_encipherOnly - Key can be used only to encipher data.

$sel:nonRepudiation:KeyUsage', keyUsage_nonRepudiation - Key can be used for non-repudiation.

$sel:cRLSign:KeyUsage', keyUsage_cRLSign - Key can be used to sign CRLs.

$sel:digitalSignature:KeyUsage', keyUsage_digitalSignature - Key can be used for digital signing.

$sel:keyCertSign:KeyUsage', keyUsage_keyCertSign - Key can be used to sign certificates.

$sel:decipherOnly:KeyUsage', keyUsage_decipherOnly - Key can be used only to decipher data.

$sel:keyEncipherment:KeyUsage', keyUsage_keyEncipherment - Key can be used to encipher data.

$sel:keyAgreement:KeyUsage', keyUsage_keyAgreement - Key can be used in a key-agreement protocol.

keyUsage_dataEncipherment :: Lens' KeyUsage (Maybe Bool) Source #

Key can be used to decipher data.

keyUsage_encipherOnly :: Lens' KeyUsage (Maybe Bool) Source #

Key can be used only to encipher data.

keyUsage_nonRepudiation :: Lens' KeyUsage (Maybe Bool) Source #

Key can be used for non-repudiation.

keyUsage_cRLSign :: Lens' KeyUsage (Maybe Bool) Source #

Key can be used to sign CRLs.

keyUsage_digitalSignature :: Lens' KeyUsage (Maybe Bool) Source #

Key can be used for digital signing.

keyUsage_keyCertSign :: Lens' KeyUsage (Maybe Bool) Source #

Key can be used to sign certificates.

keyUsage_decipherOnly :: Lens' KeyUsage (Maybe Bool) Source #

Key can be used only to decipher data.

keyUsage_keyEncipherment :: Lens' KeyUsage (Maybe Bool) Source #

Key can be used to encipher data.

keyUsage_keyAgreement :: Lens' KeyUsage (Maybe Bool) Source #

Key can be used in a key-agreement protocol.