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.Extensions

Description

 
Synopsis

Documentation

data Extensions Source #

Contains X.509 extension information for a certificate.

See: newExtensions smart constructor.

Constructors

Extensions' 

Fields

  • subjectAlternativeNames :: Maybe (NonEmpty GeneralName)

    The subject alternative name extension allows identities to be bound to the subject of the certificate. These identities may be included in addition to or in place of the identity in the subject field of the certificate.

  • keyUsage :: Maybe KeyUsage
     
  • extendedKeyUsage :: Maybe (NonEmpty ExtendedKeyUsage)

    Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in the KeyUsage extension.

  • certificatePolicies :: Maybe (NonEmpty PolicyInformation)

    Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers. For more information, see NIST's definition of Object Identifier (OID).

    In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.

Instances

Instances details
Eq Extensions Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.Extensions

Read Extensions Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.Extensions

Show Extensions Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.Extensions

Generic Extensions Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.Extensions

Associated Types

type Rep Extensions :: Type -> Type #

NFData Extensions Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.Extensions

Methods

rnf :: Extensions -> () #

Hashable Extensions Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.Extensions

ToJSON Extensions Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.Extensions

type Rep Extensions Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.Extensions

type Rep Extensions = D1 ('MetaData "Extensions" "Amazonka.CertificateManagerPCA.Types.Extensions" "libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca" 'False) (C1 ('MetaCons "Extensions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "subjectAlternativeNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty GeneralName))) :*: S1 ('MetaSel ('Just "keyUsage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KeyUsage))) :*: (S1 ('MetaSel ('Just "extendedKeyUsage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty ExtendedKeyUsage))) :*: S1 ('MetaSel ('Just "certificatePolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty PolicyInformation))))))

newExtensions :: Extensions Source #

Create a value of Extensions 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:subjectAlternativeNames:Extensions', extensions_subjectAlternativeNames - The subject alternative name extension allows identities to be bound to the subject of the certificate. These identities may be included in addition to or in place of the identity in the subject field of the certificate.

$sel:keyUsage:Extensions', extensions_keyUsage - Undocumented member.

$sel:extendedKeyUsage:Extensions', extensions_extendedKeyUsage - Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in the KeyUsage extension.

$sel:certificatePolicies:Extensions', extensions_certificatePolicies - Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers. For more information, see NIST's definition of Object Identifier (OID).

In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.

extensions_subjectAlternativeNames :: Lens' Extensions (Maybe (NonEmpty GeneralName)) Source #

The subject alternative name extension allows identities to be bound to the subject of the certificate. These identities may be included in addition to or in place of the identity in the subject field of the certificate.

extensions_extendedKeyUsage :: Lens' Extensions (Maybe (NonEmpty ExtendedKeyUsage)) Source #

Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in the KeyUsage extension.

extensions_certificatePolicies :: Lens' Extensions (Maybe (NonEmpty PolicyInformation)) Source #

Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers. For more information, see NIST's definition of Object Identifier (OID).

In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.