Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
Contains information about a returned public key.
See: newPublicKey
smart constructor.
PublicKey' | |
|
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: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.
$sel:validityStartTime:PublicKey'
, publicKey_validityStartTime
- The starting time of validity of the public key.
publicKey_validityEndTime :: Lens' PublicKey (Maybe UTCTime) Source #
The ending 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.