| 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.CloudTrail.Types.PublicKey
Description
Synopsis
Documentation
Contains information about a returned public key.
See: newPublicKey smart constructor.
Constructors
| PublicKey' | |
Fields
| |
Instances
newPublicKey :: PublicKey Source #
Create a value of PublicKey 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:fingerprint:PublicKey', publicKey_fingerprint - The fingerprint of the public key.
$sel:validityEndTime:PublicKey', publicKey_validityEndTime - The ending time of validity of the public key.
$sel:validityStartTime:PublicKey', publicKey_validityStartTime - The starting time of validity of the public key.
$sel:value:PublicKey', publicKey_value - The DER encoded public key value in PKCS#1 format.--
-- Note: This Lens automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens accepts and returns only raw unencoded data.
publicKey_validityEndTime :: Lens' PublicKey (Maybe UTCTime) Source #
The ending time of validity of the public key.
publicKey_validityStartTime :: Lens' PublicKey (Maybe UTCTime) Source #
The starting time of validity of the public key.
publicKey_value :: Lens' PublicKey (Maybe ByteString) Source #
The DER encoded public key value in PKCS#1 format.--
-- Note: This Lens automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens accepts and returns only raw unencoded data.