hOpenPGP-2.10.1: native Haskell implementation of OpenPGP (RFC4880)

Safe Haskell | Safe-Inferred
Language | Haskell2010

Codec.Encryption.OpenPGP.Types

# Documentation

data TK Source #

Constructors

TK |

Fields

- _tkKey :: (PKPayload, Maybe SKAddendum)
- _tkRevs :: [SignaturePayload]
- _tkUIDs :: [(Text, [SignaturePayload])]
- _tkUAts :: [([UserAttrSubPacket], [SignaturePayload])]
- _tkSubs :: [(Pkt, [SignaturePayload])]

#### Instances

Instances details

ToJSON TK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods toJSON :: TK -> Value Source # toEncoding :: TK -> Encoding Source # toJSONList :: [TK] -> Value Source # toEncodingList :: [TK] -> Encoding Source #
Data TK Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.TK

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TK -> c TK Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TK Source #

toConstr :: TK -> Constr Source #

dataTypeOf :: TK -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TK) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TK) Source #

gmapT :: (forall b. Data b => b -> b) -> TK -> TK Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TK -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TK -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> TK -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TK -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TK -> m TK Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TK -> m TK Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TK -> m TK Source #

Semigroup TK Source # |
Instance details Defined in Data.Conduit.OpenPGP.Keyring.Instances Methods (<>) :: TK -> TK -> TK Source # sconcat :: NonEmpty TK -> TK Source # stimes :: Integral b => b -> TK -> TK Source #
Generic TK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Associated Types type Rep TK :: Type -> Type Source # Methods from :: TK -> Rep TK x Source # to :: Rep TK x -> TK Source #
Show TK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods showsPrec :: Int -> TK -> ShowS Source # show :: TK -> String Source # showList :: [TK] -> ShowS Source #
Binary TK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: TK -> Put Source # get :: Get TK Source # putList :: [TK] -> Put Source #
Eq TK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods (==) :: TK -> TK -> Bool Source # (/=) :: TK -> TK -> Bool Source #
Ord TK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods compare :: TK -> TK -> Ordering Source # (<) :: TK -> TK -> Bool Source # (<=) :: TK -> TK -> Bool Source # (>) :: TK -> TK -> Bool Source # (>=) :: TK -> TK -> Bool Source # max :: TK -> TK -> TK Source # min :: TK -> TK -> TK Source #
Indexable KeyringIxs TK Source # |
Instance details Defined in Data.Conduit.OpenPGP.Keyring.Instances Methods indices :: IxList KeyringIxs TK Source #
type Rep TK Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.TK

type Rep TK = D1 ('MetaData "TK" "Codec.Encryption.OpenPGP.Types.Internal.TK" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) (C1 ('MetaCons "TK" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_tkKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PKPayload, Maybe SKAddendum)) :*: S1 ('MetaSel ('Just "_tkRevs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SignaturePayload])) :*: (S1 ('MetaSel ('Just "_tkUIDs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Text, [SignaturePayload])]) :*: (S1 ('MetaSel ('Just "_tkUAts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [([UserAttrSubPacket], [SignaturePayload])]) :*: S1 ('MetaSel ('Just "_tkSubs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Pkt, [SignaturePayload])])))))

type KeyringIxs = '[EightOctetKeyId, TwentyOctetFingerprint, Text] Source #

type Keyring = IxSet KeyringIxs TK Source #

tkUIDs :: Lens' TK [(Text, [SignaturePayload])] Source #

tkUAts :: Lens' TK [([UserAttrSubPacket], [SignaturePayload])] Source #

tkSubs :: Lens' TK [(Pkt, [SignaturePayload])] Source #

tkRevs :: Lens' TK [SignaturePayload] Source #

tkKey :: Lens' TK (PKPayload, Maybe SKAddendum) Source #

data Pkt Source #

Constructors

PKESKPkt PacketVersion EightOctetKeyId PubKeyAlgorithm (NonEmpty MPI) |
SignaturePkt SignaturePayload |
SKESKPkt PacketVersion SymmetricAlgorithm S2K (Maybe ByteString) |
OnePassSignaturePkt PacketVersion SigType HashAlgorithm PubKeyAlgorithm EightOctetKeyId NestedFlag |
SecretKeyPkt PKPayload SKAddendum |
PublicKeyPkt PKPayload |
SecretSubkeyPkt PKPayload SKAddendum |
CompressedDataPkt CompressionAlgorithm CompressedDataPayload |
SymEncDataPkt ByteString |
MarkerPkt ByteString |
LiteralDataPkt DataType FileName ThirtyTwoBitTimeStamp ByteString |
TrustPkt ByteString |
UserIdPkt Text |
PublicSubkeyPkt PKPayload |
UserAttributePkt [UserAttrSubPacket] |
SymEncIntegrityProtectedDataPkt PacketVersion ByteString |
ModificationDetectionCodePkt ByteString |
OtherPacketPkt Word8 ByteString |
BrokenPacketPkt String Word8 ByteString |

#### Instances

Instances details

ToJSON Pkt Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods toJSON :: Pkt -> Value Source # toEncoding :: Pkt -> Encoding Source # toJSONList :: [Pkt] -> Value Source # toEncodingList :: [Pkt] -> Encoding Source #
Data Pkt Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Pkt -> c Pkt Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Pkt Source #

toConstr :: Pkt -> Constr Source #

dataTypeOf :: Pkt -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Pkt) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Pkt) Source #

gmapT :: (forall b. Data b => b -> b) -> Pkt -> Pkt Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Pkt -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Pkt -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Pkt -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Pkt -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Pkt -> m Pkt Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Pkt -> m Pkt Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Pkt -> m Pkt Source #

Generic Pkt Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Associated Types type Rep Pkt :: Type -> Type Source # Methods from :: Pkt -> Rep Pkt x Source # to :: Rep Pkt x -> Pkt Source #
Show Pkt Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods showsPrec :: Int -> Pkt -> ShowS Source # show :: Pkt -> String Source # showList :: [Pkt] -> ShowS Source #
Binary Pkt Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: Pkt -> Put Source # get :: Get Pkt Source # putList :: [Pkt] -> Put Source #
Eq Pkt Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: Pkt -> Pkt -> Bool Source # (/=) :: Pkt -> Pkt -> Bool Source #
Ord Pkt Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods compare :: Pkt -> Pkt -> Ordering Source # (<) :: Pkt -> Pkt -> Bool Source # (<=) :: Pkt -> Pkt -> Bool Source # (>) :: Pkt -> Pkt -> Bool Source # (>=) :: Pkt -> Pkt -> Bool Source # max :: Pkt -> Pkt -> Pkt Source # min :: Pkt -> Pkt -> Pkt Source #
Hashable Pkt Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods hashWithSalt :: Int -> Pkt -> Int Source # hash :: Pkt -> Int Source #
Pretty Pkt Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods pretty :: Pkt -> Doc ann Source # prettyList :: [Pkt] -> Doc ann Source #
type Rep Pkt Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt

type Rep Pkt = D1 ('MetaData "Pkt" "Codec.Encryption.OpenPGP.Types.Internal.Pkt" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) ((((C1 ('MetaCons "PKESKPkt" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PacketVersion) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EightOctetKeyId)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PubKeyAlgorithm) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty MPI)))) :+: C1 ('MetaCons "SignaturePkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SignaturePayload))) :+: (C1 ('MetaCons "SKESKPkt" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PacketVersion) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SymmetricAlgorithm)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 S2K) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ByteString)))) :+: C1 ('MetaCons "OnePassSignaturePkt" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PacketVersion) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SigType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HashAlgorithm))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PubKeyAlgorithm) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EightOctetKeyId) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NestedFlag)))))) :+: ((C1 ('MetaCons "SecretKeyPkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PKPayload) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SKAddendum)) :+: C1 ('MetaCons "PublicKeyPkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PKPayload))) :+: (C1 ('MetaCons "SecretSubkeyPkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PKPayload) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SKAddendum)) :+: (C1 ('MetaCons "CompressedDataPkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CompressionAlgorithm) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CompressedDataPayload)) :+: C1 ('MetaCons "SymEncDataPkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))))) :+: (((C1 ('MetaCons "MarkerPkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)) :+: C1 ('MetaCons "LiteralDataPkt" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DataType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileName)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ThirtyTwoBitTimeStamp) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))) :+: (C1 ('MetaCons "TrustPkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)) :+: (C1 ('MetaCons "UserIdPkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "PublicSubkeyPkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PKPayload))))) :+: ((C1 ('MetaCons "UserAttributePkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [UserAttrSubPacket])) :+: C1 ('MetaCons "SymEncIntegrityProtectedDataPkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PacketVersion) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))) :+: (C1 ('MetaCons "ModificationDetectionCodePkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)) :+: (C1 ('MetaCons "OtherPacketPkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)) :+: C1 ('MetaCons "BrokenPacketPkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))))))))

pktTag :: Pkt -> Word8 Source #

data Verification Source #

Constructors

Verification |

Fields

- _verificationSigner :: PKPayload
- _verificationSignature :: SignaturePayload

data SOPVVerification Source #

Constructors

SOPVVerification |

Fields

- _sopvvDateStamp :: UTCTime
- _sopvvFingerprint :: TwentyOctetFingerprint
- _sopvvPrimaryFingerprint :: TwentyOctetFingerprint
- _sopvvMode :: String
- _sopvvDescription :: String

verificationSigner :: Lens' Verification PKPayload Source #

verificationSignature :: Lens' Verification SignaturePayload Source #

sopvvPrimaryFingerprint :: Lens' SOPVVerification TwentyOctetFingerprint Source #

sopvvMode :: Lens' SOPVVerification String Source #

sopvvFingerprint :: Lens' SOPVVerification TwentyOctetFingerprint Source #

sopvvDescription :: Lens' SOPVVerification String Source #

sopvvDateStamp :: Lens' SOPVVerification UTCTime Source #

class Packet a where Source #

Associated Types

data PacketType a :: Type Source #

Methods

packetType :: a -> PacketType a Source #

packetCode :: PacketType a -> Word8 Source #

toPkt :: a -> Pkt Source #

fromPkt :: Pkt -> a Source #

#### Instances

Instances details

Packet BrokenPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType BrokenPacket Source # Methods packetType :: BrokenPacket -> PacketType BrokenPacket Source # packetCode :: PacketType BrokenPacket -> Word8 Source # toPkt :: BrokenPacket -> Pkt Source # fromPkt :: Pkt -> BrokenPacket Source #
Packet CompressedData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType CompressedData Source # Methods packetType :: CompressedData -> PacketType CompressedData Source # packetCode :: PacketType CompressedData -> Word8 Source # toPkt :: CompressedData -> Pkt Source # fromPkt :: Pkt -> CompressedData Source #
Packet LiteralData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType LiteralData Source # Methods packetType :: LiteralData -> PacketType LiteralData Source # packetCode :: PacketType LiteralData -> Word8 Source # toPkt :: LiteralData -> Pkt Source # fromPkt :: Pkt -> LiteralData Source #
Packet Marker Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType Marker Source # Methods packetType :: Marker -> PacketType Marker Source # packetCode :: PacketType Marker -> Word8 Source # toPkt :: Marker -> Pkt Source # fromPkt :: Pkt -> Marker Source #
Packet ModificationDetectionCode Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Associated Types

data PacketType ModificationDetectionCode Source #

Methods

packetType :: ModificationDetectionCode -> PacketType ModificationDetectionCode Source #

packetCode :: PacketType ModificationDetectionCode -> Word8 Source #

toPkt :: ModificationDetectionCode -> Pkt Source #

fromPkt :: Pkt -> ModificationDetectionCode Source #

Packet OnePassSignature Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType OnePassSignature Source # Methods packetType :: OnePassSignature -> PacketType OnePassSignature Source # packetCode :: PacketType OnePassSignature -> Word8 Source # toPkt :: OnePassSignature -> Pkt Source # fromPkt :: Pkt -> OnePassSignature Source #
Packet OtherPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType OtherPacket Source # Methods packetType :: OtherPacket -> PacketType OtherPacket Source # packetCode :: PacketType OtherPacket -> Word8 Source # toPkt :: OtherPacket -> Pkt Source # fromPkt :: Pkt -> OtherPacket Source #
Packet PKESK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType PKESK Source # Methods packetType :: PKESK -> PacketType PKESK Source # packetCode :: PacketType PKESK -> Word8 Source # toPkt :: PKESK -> Pkt Source # fromPkt :: Pkt -> PKESK Source #
Packet PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType PublicKey Source # Methods packetType :: PublicKey -> PacketType PublicKey Source # packetCode :: PacketType PublicKey -> Word8 Source # toPkt :: PublicKey -> Pkt Source # fromPkt :: Pkt -> PublicKey Source #
Packet PublicSubkey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType PublicSubkey Source # Methods packetType :: PublicSubkey -> PacketType PublicSubkey Source # packetCode :: PacketType PublicSubkey -> Word8 Source # toPkt :: PublicSubkey -> Pkt Source # fromPkt :: Pkt -> PublicSubkey Source #
Packet SKESK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType SKESK Source # Methods packetType :: SKESK -> PacketType SKESK Source # packetCode :: PacketType SKESK -> Word8 Source # toPkt :: SKESK -> Pkt Source # fromPkt :: Pkt -> SKESK Source #
Packet SecretKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType SecretKey Source # Methods packetType :: SecretKey -> PacketType SecretKey Source # packetCode :: PacketType SecretKey -> Word8 Source # toPkt :: SecretKey -> Pkt Source # fromPkt :: Pkt -> SecretKey Source #
Packet SecretSubkey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType SecretSubkey Source # Methods packetType :: SecretSubkey -> PacketType SecretSubkey Source # packetCode :: PacketType SecretSubkey -> Word8 Source # toPkt :: SecretSubkey -> Pkt Source # fromPkt :: Pkt -> SecretSubkey Source #
Packet Signature Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType Signature Source # Methods packetType :: Signature -> PacketType Signature Source # packetCode :: PacketType Signature -> Word8 Source # toPkt :: Signature -> Pkt Source # fromPkt :: Pkt -> Signature Source #
Packet SymEncData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType SymEncData Source # Methods packetType :: SymEncData -> PacketType SymEncData Source # packetCode :: PacketType SymEncData -> Word8 Source # toPkt :: SymEncData -> Pkt Source # fromPkt :: Pkt -> SymEncData Source #
Packet SymEncIntegrityProtectedData Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Associated Types

data PacketType SymEncIntegrityProtectedData Source #

Methods

packetType :: SymEncIntegrityProtectedData -> PacketType SymEncIntegrityProtectedData Source #

packetCode :: PacketType SymEncIntegrityProtectedData -> Word8 Source #

toPkt :: SymEncIntegrityProtectedData -> Pkt Source #

fromPkt :: Pkt -> SymEncIntegrityProtectedData Source #

Packet Trust Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType Trust Source # Methods packetType :: Trust -> PacketType Trust Source # packetCode :: PacketType Trust -> Word8 Source # toPkt :: Trust -> Pkt Source # fromPkt :: Pkt -> Trust Source #
Packet UserAttribute Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType UserAttribute Source # Methods packetType :: UserAttribute -> PacketType UserAttribute Source # packetCode :: PacketType UserAttribute -> Word8 Source # toPkt :: UserAttribute -> Pkt Source # fromPkt :: Pkt -> UserAttribute Source #
Packet UserId Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType UserId Source # Methods packetType :: UserId -> PacketType UserId Source # packetCode :: PacketType UserId -> Word8 Source # toPkt :: UserId -> Pkt Source # fromPkt :: Pkt -> UserId Source #

data PKESK Source #

Constructors

PKESK |

Fields

- _pkeskPacketVersion :: PacketVersion
- _pkeskEightOctetKeyId :: EightOctetKeyId
- _pkeskPubKeyAlgorithm :: PubKeyAlgorithm
- _pkeskMPIs :: NonEmpty MPI

#### Instances

Instances details

Data PKESK Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PKESK -> c PKESK Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PKESK Source #

toConstr :: PKESK -> Constr Source #

dataTypeOf :: PKESK -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PKESK) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PKESK) Source #

gmapT :: (forall b. Data b => b -> b) -> PKESK -> PKESK Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PKESK -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PKESK -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> PKESK -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PKESK -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PKESK -> m PKESK Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PKESK -> m PKESK Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PKESK -> m PKESK Source #

Show PKESK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PKESK -> ShowS Source # show :: PKESK -> String Source # showList :: [PKESK] -> ShowS Source #
Binary PKESK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: PKESK -> Put Source # get :: Get PKESK Source # putList :: [PKESK] -> Put Source #
Eq PKESK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PKESK -> PKESK -> Bool Source # (/=) :: PKESK -> PKESK -> Bool Source #
Packet PKESK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType PKESK Source # Methods packetType :: PKESK -> PacketType PKESK Source # packetCode :: PacketType PKESK -> Word8 Source # toPkt :: PKESK -> Pkt Source # fromPkt :: Pkt -> PKESK Source #
Pretty PKESK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: PKESK -> Doc ann Source # prettyList :: [PKESK] -> Doc ann Source #
Show (PacketType PKESK) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType PKESK -> ShowS Source # show :: PacketType PKESK -> String Source # showList :: [PacketType PKESK] -> ShowS Source #
Eq (PacketType PKESK) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType PKESK -> PacketType PKESK -> Bool Source # (/=) :: PacketType PKESK -> PacketType PKESK -> Bool Source #
data PacketType PKESK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType PKESK = PKESKType

newtype Signature Source #

Constructors

Signature |

Fields

- _signaturePayload :: SignaturePayload

#### Instances

Instances details

Data Signature Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Signature -> c Signature Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Signature Source #

toConstr :: Signature -> Constr Source #

dataTypeOf :: Signature -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Signature) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Signature) Source #

gmapT :: (forall b. Data b => b -> b) -> Signature -> Signature Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Signature -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Signature -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Signature -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Signature -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Signature -> m Signature Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Signature -> m Signature Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Signature -> m Signature Source #

Show Signature Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> Signature -> ShowS Source # show :: Signature -> String Source # showList :: [Signature] -> ShowS Source #
Binary Signature Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: Signature -> Put Source # get :: Get Signature Source # putList :: [Signature] -> Put Source #
Eq Signature Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: Signature -> Signature -> Bool Source # (/=) :: Signature -> Signature -> Bool Source #
Packet Signature Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType Signature Source # Methods packetType :: Signature -> PacketType Signature Source # packetCode :: PacketType Signature -> Word8 Source # toPkt :: Signature -> Pkt Source # fromPkt :: Pkt -> Signature Source #
Pretty Signature Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: Signature -> Doc ann Source # prettyList :: [Signature] -> Doc ann Source #
Show (PacketType Signature) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType Signature -> ShowS Source # show :: PacketType Signature -> String Source # showList :: [PacketType Signature] -> ShowS Source #
Eq (PacketType Signature) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType Signature -> PacketType Signature -> Bool Source # (/=) :: PacketType Signature -> PacketType Signature -> Bool Source #
data PacketType Signature Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType Signature = SignatureType

data SKESK Source #

Constructors

SKESK |

Fields

- _skeskPacketVersion :: PacketVersion
- _skeskSymmetricAlgorithm :: SymmetricAlgorithm
- _skeskS2K :: S2K
- _skeskESK :: Maybe ByteString

#### Instances

Instances details

Data SKESK Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SKESK -> c SKESK Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SKESK Source #

toConstr :: SKESK -> Constr Source #

dataTypeOf :: SKESK -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SKESK) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SKESK) Source #

gmapT :: (forall b. Data b => b -> b) -> SKESK -> SKESK Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SKESK -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SKESK -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SKESK -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SKESK -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SKESK -> m SKESK Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SKESK -> m SKESK Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SKESK -> m SKESK Source #

Show SKESK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> SKESK -> ShowS Source # show :: SKESK -> String Source # showList :: [SKESK] -> ShowS Source #
Binary SKESK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: SKESK -> Put Source # get :: Get SKESK Source # putList :: [SKESK] -> Put Source #
Eq SKESK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: SKESK -> SKESK -> Bool Source # (/=) :: SKESK -> SKESK -> Bool Source #
Packet SKESK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType SKESK Source # Methods packetType :: SKESK -> PacketType SKESK Source # packetCode :: PacketType SKESK -> Word8 Source # toPkt :: SKESK -> Pkt Source # fromPkt :: Pkt -> SKESK Source #
Pretty SKESK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: SKESK -> Doc ann Source # prettyList :: [SKESK] -> Doc ann Source #
Show (PacketType SKESK) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType SKESK -> ShowS Source # show :: PacketType SKESK -> String Source # showList :: [PacketType SKESK] -> ShowS Source #
Eq (PacketType SKESK) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType SKESK -> PacketType SKESK -> Bool Source # (/=) :: PacketType SKESK -> PacketType SKESK -> Bool Source #
data PacketType SKESK Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType SKESK = SKESKType

data OnePassSignature Source #

Constructors

OnePassSignature |

Fields

- _onePassSignaturePacketVersion :: PacketVersion
- _onePassSignatureSigType :: SigType
- _onePassSignatureHashAlgorithm :: HashAlgorithm
- _onePassSignaturePubKeyAlgorithm :: PubKeyAlgorithm
- _onePassSignatureEightOctetKeyId :: EightOctetKeyId
- _onePassSignatureNestedFlag :: NestedFlag

#### Instances

Instances details

Data OnePassSignature Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OnePassSignature -> c OnePassSignature Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OnePassSignature Source #

toConstr :: OnePassSignature -> Constr Source #

dataTypeOf :: OnePassSignature -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OnePassSignature) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OnePassSignature) Source #

gmapT :: (forall b. Data b => b -> b) -> OnePassSignature -> OnePassSignature Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OnePassSignature -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OnePassSignature -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> OnePassSignature -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OnePassSignature -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OnePassSignature -> m OnePassSignature Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OnePassSignature -> m OnePassSignature Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OnePassSignature -> m OnePassSignature Source #

Show OnePassSignature Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> OnePassSignature -> ShowS Source # show :: OnePassSignature -> String Source # showList :: [OnePassSignature] -> ShowS Source #
Binary OnePassSignature Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: OnePassSignature -> Put Source # get :: Get OnePassSignature Source # putList :: [OnePassSignature] -> Put Source #
Eq OnePassSignature Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: OnePassSignature -> OnePassSignature -> Bool Source # (/=) :: OnePassSignature -> OnePassSignature -> Bool Source #
Packet OnePassSignature Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType OnePassSignature Source # Methods packetType :: OnePassSignature -> PacketType OnePassSignature Source # packetCode :: PacketType OnePassSignature -> Word8 Source # toPkt :: OnePassSignature -> Pkt Source # fromPkt :: Pkt -> OnePassSignature Source #
Pretty OnePassSignature Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: OnePassSignature -> Doc ann Source # prettyList :: [OnePassSignature] -> Doc ann Source #
Show (PacketType OnePassSignature) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType OnePassSignature -> ShowS Source # show :: PacketType OnePassSignature -> String Source # showList :: [PacketType OnePassSignature] -> ShowS Source #
Eq (PacketType OnePassSignature) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType OnePassSignature -> PacketType OnePassSignature -> Bool Source # (/=) :: PacketType OnePassSignature -> PacketType OnePassSignature -> Bool Source #
data PacketType OnePassSignature Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType OnePassSignature = OnePassSignatureType

data SecretKey Source #

Constructors

SecretKey |

Fields

- _secretKeyPKPayload :: PKPayload
- _secretKeySKAddendum :: SKAddendum

#### Instances

Instances details

Data SecretKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SecretKey -> c SecretKey Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SecretKey Source #

toConstr :: SecretKey -> Constr Source #

dataTypeOf :: SecretKey -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SecretKey) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SecretKey) Source #

gmapT :: (forall b. Data b => b -> b) -> SecretKey -> SecretKey Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SecretKey -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SecretKey -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SecretKey -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SecretKey -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SecretKey -> m SecretKey Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SecretKey -> m SecretKey Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SecretKey -> m SecretKey Source #

Show SecretKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> SecretKey -> ShowS Source # show :: SecretKey -> String Source # showList :: [SecretKey] -> ShowS Source #
Binary SecretKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: SecretKey -> Put Source # get :: Get SecretKey Source # putList :: [SecretKey] -> Put Source #
Eq SecretKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: SecretKey -> SecretKey -> Bool Source # (/=) :: SecretKey -> SecretKey -> Bool Source #
Packet SecretKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType SecretKey Source # Methods packetType :: SecretKey -> PacketType SecretKey Source # packetCode :: PacketType SecretKey -> Word8 Source # toPkt :: SecretKey -> Pkt Source # fromPkt :: Pkt -> SecretKey Source #
Pretty SecretKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: SecretKey -> Doc ann Source # prettyList :: [SecretKey] -> Doc ann Source #
Show (PacketType SecretKey) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType SecretKey -> ShowS Source # show :: PacketType SecretKey -> String Source # showList :: [PacketType SecretKey] -> ShowS Source #
Eq (PacketType SecretKey) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType SecretKey -> PacketType SecretKey -> Bool Source # (/=) :: PacketType SecretKey -> PacketType SecretKey -> Bool Source #
data PacketType SecretKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType SecretKey = SecretKeyType

newtype PublicKey Source #

Constructors

PublicKey |

Fields

- _publicKeyPKPayload :: PKPayload

#### Instances

Instances details

Data PublicKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PublicKey -> c PublicKey Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PublicKey Source #

toConstr :: PublicKey -> Constr Source #

dataTypeOf :: PublicKey -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PublicKey) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PublicKey) Source #

gmapT :: (forall b. Data b => b -> b) -> PublicKey -> PublicKey Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PublicKey -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PublicKey -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> PublicKey -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PublicKey -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PublicKey -> m PublicKey Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PublicKey -> m PublicKey Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PublicKey -> m PublicKey Source #

Show PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PublicKey -> ShowS Source # show :: PublicKey -> String Source # showList :: [PublicKey] -> ShowS Source #
Binary PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: PublicKey -> Put Source # get :: Get PublicKey Source # putList :: [PublicKey] -> Put Source #
Eq PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PublicKey -> PublicKey -> Bool Source # (/=) :: PublicKey -> PublicKey -> Bool Source #
Packet PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType PublicKey Source # Methods packetType :: PublicKey -> PacketType PublicKey Source # packetCode :: PacketType PublicKey -> Word8 Source # toPkt :: PublicKey -> Pkt Source # fromPkt :: Pkt -> PublicKey Source #
Pretty PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: PublicKey -> Doc ann Source # prettyList :: [PublicKey] -> Doc ann Source #
Show (PacketType PublicKey) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType PublicKey -> ShowS Source # show :: PacketType PublicKey -> String Source # showList :: [PacketType PublicKey] -> ShowS Source #
Eq (PacketType PublicKey) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType PublicKey -> PacketType PublicKey -> Bool Source # (/=) :: PacketType PublicKey -> PacketType PublicKey -> Bool Source #
data PacketType PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType PublicKey = PublicKeyType

data SecretSubkey Source #

Constructors

SecretSubkey |

Fields

- _secretSubkeyPKPayload :: PKPayload
- _secretSubkeySKAddendum :: SKAddendum

#### Instances

Instances details

Data SecretSubkey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SecretSubkey -> c SecretSubkey Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SecretSubkey Source #

toConstr :: SecretSubkey -> Constr Source #

dataTypeOf :: SecretSubkey -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SecretSubkey) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SecretSubkey) Source #

gmapT :: (forall b. Data b => b -> b) -> SecretSubkey -> SecretSubkey Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SecretSubkey -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SecretSubkey -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SecretSubkey -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SecretSubkey -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SecretSubkey -> m SecretSubkey Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SecretSubkey -> m SecretSubkey Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SecretSubkey -> m SecretSubkey Source #

Show SecretSubkey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> SecretSubkey -> ShowS Source # show :: SecretSubkey -> String Source # showList :: [SecretSubkey] -> ShowS Source #
Binary SecretSubkey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: SecretSubkey -> Put Source # get :: Get SecretSubkey Source # putList :: [SecretSubkey] -> Put Source #
Eq SecretSubkey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: SecretSubkey -> SecretSubkey -> Bool Source # (/=) :: SecretSubkey -> SecretSubkey -> Bool Source #
Packet SecretSubkey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType SecretSubkey Source # Methods packetType :: SecretSubkey -> PacketType SecretSubkey Source # packetCode :: PacketType SecretSubkey -> Word8 Source # toPkt :: SecretSubkey -> Pkt Source # fromPkt :: Pkt -> SecretSubkey Source #
Pretty SecretSubkey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: SecretSubkey -> Doc ann Source # prettyList :: [SecretSubkey] -> Doc ann Source #
Show (PacketType SecretSubkey) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType SecretSubkey -> ShowS Source # show :: PacketType SecretSubkey -> String Source # showList :: [PacketType SecretSubkey] -> ShowS Source #
Eq (PacketType SecretSubkey) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType SecretSubkey -> PacketType SecretSubkey -> Bool Source # (/=) :: PacketType SecretSubkey -> PacketType SecretSubkey -> Bool Source #
data PacketType SecretSubkey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType SecretSubkey = SecretSubkeyType

data CompressedData Source #

Constructors

CompressedData |

Fields

- _compressedDataCompressionAlgorithm :: CompressionAlgorithm
- _compressedDataPayload :: CompressedDataPayload

#### Instances

Instances details

Data CompressedData Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CompressedData -> c CompressedData Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CompressedData Source #

toConstr :: CompressedData -> Constr Source #

dataTypeOf :: CompressedData -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CompressedData) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CompressedData) Source #

gmapT :: (forall b. Data b => b -> b) -> CompressedData -> CompressedData Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CompressedData -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CompressedData -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> CompressedData -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CompressedData -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CompressedData -> m CompressedData Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CompressedData -> m CompressedData Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CompressedData -> m CompressedData Source #

Show CompressedData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> CompressedData -> ShowS Source # show :: CompressedData -> String Source # showList :: [CompressedData] -> ShowS Source #
Binary CompressedData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: CompressedData -> Put Source # get :: Get CompressedData Source # putList :: [CompressedData] -> Put Source #
Eq CompressedData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: CompressedData -> CompressedData -> Bool Source # (/=) :: CompressedData -> CompressedData -> Bool Source #
Packet CompressedData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType CompressedData Source # Methods packetType :: CompressedData -> PacketType CompressedData Source # packetCode :: PacketType CompressedData -> Word8 Source # toPkt :: CompressedData -> Pkt Source # fromPkt :: Pkt -> CompressedData Source #
Pretty CompressedData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: CompressedData -> Doc ann Source # prettyList :: [CompressedData] -> Doc ann Source #
Show (PacketType CompressedData) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType CompressedData -> ShowS Source # show :: PacketType CompressedData -> String Source # showList :: [PacketType CompressedData] -> ShowS Source #
Eq (PacketType CompressedData) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType CompressedData -> PacketType CompressedData -> Bool Source # (/=) :: PacketType CompressedData -> PacketType CompressedData -> Bool Source #
data PacketType CompressedData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType CompressedData = CompressedDataType

newtype SymEncData Source #

Constructors

SymEncData |

Fields

- _symEncDataPayload :: ByteString

#### Instances

Instances details

Data SymEncData Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SymEncData -> c SymEncData Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SymEncData Source #

toConstr :: SymEncData -> Constr Source #

dataTypeOf :: SymEncData -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SymEncData) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SymEncData) Source #

gmapT :: (forall b. Data b => b -> b) -> SymEncData -> SymEncData Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SymEncData -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SymEncData -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SymEncData -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SymEncData -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SymEncData -> m SymEncData Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SymEncData -> m SymEncData Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SymEncData -> m SymEncData Source #

Show SymEncData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> SymEncData -> ShowS Source # show :: SymEncData -> String Source # showList :: [SymEncData] -> ShowS Source #
Binary SymEncData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: SymEncData -> Put Source # get :: Get SymEncData Source # putList :: [SymEncData] -> Put Source #
Eq SymEncData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: SymEncData -> SymEncData -> Bool Source # (/=) :: SymEncData -> SymEncData -> Bool Source #
Packet SymEncData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType SymEncData Source # Methods packetType :: SymEncData -> PacketType SymEncData Source # packetCode :: PacketType SymEncData -> Word8 Source # toPkt :: SymEncData -> Pkt Source # fromPkt :: Pkt -> SymEncData Source #
Pretty SymEncData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: SymEncData -> Doc ann Source # prettyList :: [SymEncData] -> Doc ann Source #
Show (PacketType SymEncData) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType SymEncData -> ShowS Source # show :: PacketType SymEncData -> String Source # showList :: [PacketType SymEncData] -> ShowS Source #
Eq (PacketType SymEncData) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType SymEncData -> PacketType SymEncData -> Bool Source # (/=) :: PacketType SymEncData -> PacketType SymEncData -> Bool Source #
data PacketType SymEncData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType SymEncData = SymEncDataType

newtype Marker Source #

Constructors

Marker |

Fields

- _markerPayload :: ByteString

#### Instances

Instances details

Data Marker Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Marker -> c Marker Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Marker Source #

toConstr :: Marker -> Constr Source #

dataTypeOf :: Marker -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Marker) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Marker) Source #

gmapT :: (forall b. Data b => b -> b) -> Marker -> Marker Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Marker -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Marker -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Marker -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Marker -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Marker -> m Marker Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Marker -> m Marker Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Marker -> m Marker Source #

Show Marker Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> Marker -> ShowS Source # show :: Marker -> String Source # showList :: [Marker] -> ShowS Source #
Binary Marker Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: Marker -> Put Source # get :: Get Marker Source # putList :: [Marker] -> Put Source #
Eq Marker Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: Marker -> Marker -> Bool Source # (/=) :: Marker -> Marker -> Bool Source #
Packet Marker Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType Marker Source # Methods packetType :: Marker -> PacketType Marker Source # packetCode :: PacketType Marker -> Word8 Source # toPkt :: Marker -> Pkt Source # fromPkt :: Pkt -> Marker Source #
Pretty Marker Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: Marker -> Doc ann Source # prettyList :: [Marker] -> Doc ann Source #
Show (PacketType Marker) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType Marker -> ShowS Source # show :: PacketType Marker -> String Source # showList :: [PacketType Marker] -> ShowS Source #
Eq (PacketType Marker) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType Marker -> PacketType Marker -> Bool Source # (/=) :: PacketType Marker -> PacketType Marker -> Bool Source #
data PacketType Marker Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType Marker = MarkerType

data LiteralData Source #

Constructors

LiteralData |

Fields

- _literalDataDataType :: DataType
- _literalDataFileName :: FileName
- _literalDataTimeStamp :: ThirtyTwoBitTimeStamp
- _literalDataPayload :: ByteString

#### Instances

Instances details

Data LiteralData Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LiteralData -> c LiteralData Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LiteralData Source #

toConstr :: LiteralData -> Constr Source #

dataTypeOf :: LiteralData -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LiteralData) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LiteralData) Source #

gmapT :: (forall b. Data b => b -> b) -> LiteralData -> LiteralData Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LiteralData -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LiteralData -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> LiteralData -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LiteralData -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LiteralData -> m LiteralData Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LiteralData -> m LiteralData Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LiteralData -> m LiteralData Source #

Show LiteralData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> LiteralData -> ShowS Source # show :: LiteralData -> String Source # showList :: [LiteralData] -> ShowS Source #
Binary LiteralData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: LiteralData -> Put Source # get :: Get LiteralData Source # putList :: [LiteralData] -> Put Source #
Eq LiteralData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: LiteralData -> LiteralData -> Bool Source # (/=) :: LiteralData -> LiteralData -> Bool Source #
Packet LiteralData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType LiteralData Source # Methods packetType :: LiteralData -> PacketType LiteralData Source # packetCode :: PacketType LiteralData -> Word8 Source # toPkt :: LiteralData -> Pkt Source # fromPkt :: Pkt -> LiteralData Source #
Pretty LiteralData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: LiteralData -> Doc ann Source # prettyList :: [LiteralData] -> Doc ann Source #
Show (PacketType LiteralData) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType LiteralData -> ShowS Source # show :: PacketType LiteralData -> String Source # showList :: [PacketType LiteralData] -> ShowS Source #
Eq (PacketType LiteralData) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType LiteralData -> PacketType LiteralData -> Bool Source # (/=) :: PacketType LiteralData -> PacketType LiteralData -> Bool Source #
data PacketType LiteralData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType LiteralData = LiteralDataType

newtype Trust Source #

Constructors

Trust |

Fields

- _trustPayload :: ByteString

#### Instances

Instances details

Data Trust Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Trust -> c Trust Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Trust Source #

toConstr :: Trust -> Constr Source #

dataTypeOf :: Trust -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Trust) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Trust) Source #

gmapT :: (forall b. Data b => b -> b) -> Trust -> Trust Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Trust -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Trust -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Trust -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Trust -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Trust -> m Trust Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Trust -> m Trust Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Trust -> m Trust Source #

Show Trust Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> Trust -> ShowS Source # show :: Trust -> String Source # showList :: [Trust] -> ShowS Source #
Binary Trust Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: Trust -> Put Source # get :: Get Trust Source # putList :: [Trust] -> Put Source #
Eq Trust Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: Trust -> Trust -> Bool Source # (/=) :: Trust -> Trust -> Bool Source #
Packet Trust Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType Trust Source # Methods packetType :: Trust -> PacketType Trust Source # packetCode :: PacketType Trust -> Word8 Source # toPkt :: Trust -> Pkt Source # fromPkt :: Pkt -> Trust Source #
Pretty Trust Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: Trust -> Doc ann Source # prettyList :: [Trust] -> Doc ann Source #
Show (PacketType Trust) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType Trust -> ShowS Source # show :: PacketType Trust -> String Source # showList :: [PacketType Trust] -> ShowS Source #
Eq (PacketType Trust) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType Trust -> PacketType Trust -> Bool Source # (/=) :: PacketType Trust -> PacketType Trust -> Bool Source #
data PacketType Trust Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType Trust = TrustType

newtype UserId Source #

Constructors

UserId |

Fields

- _userIdPayload :: Text

#### Instances

Instances details

Data UserId Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UserId -> c UserId Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UserId Source #

toConstr :: UserId -> Constr Source #

dataTypeOf :: UserId -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UserId) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UserId) Source #

gmapT :: (forall b. Data b => b -> b) -> UserId -> UserId Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UserId -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UserId -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> UserId -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UserId -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UserId -> m UserId Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UserId -> m UserId Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UserId -> m UserId Source #

Show UserId Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> UserId -> ShowS Source # show :: UserId -> String Source # showList :: [UserId] -> ShowS Source #
Binary UserId Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: UserId -> Put Source # get :: Get UserId Source # putList :: [UserId] -> Put Source #
Eq UserId Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: UserId -> UserId -> Bool Source # (/=) :: UserId -> UserId -> Bool Source #
Packet UserId Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType UserId Source # Methods packetType :: UserId -> PacketType UserId Source # packetCode :: PacketType UserId -> Word8 Source # toPkt :: UserId -> Pkt Source # fromPkt :: Pkt -> UserId Source #
Pretty UserId Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: UserId -> Doc ann Source # prettyList :: [UserId] -> Doc ann Source #
Show (PacketType UserId) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType UserId -> ShowS Source # show :: PacketType UserId -> String Source # showList :: [PacketType UserId] -> ShowS Source #
Eq (PacketType UserId) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType UserId -> PacketType UserId -> Bool Source # (/=) :: PacketType UserId -> PacketType UserId -> Bool Source #
data PacketType UserId Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType UserId = UserIdType

newtype PublicSubkey Source #

Constructors

PublicSubkey |

Fields

- _publicSubkeyPKPayload :: PKPayload

#### Instances

Instances details

Data PublicSubkey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PublicSubkey -> c PublicSubkey Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PublicSubkey Source #

toConstr :: PublicSubkey -> Constr Source #

dataTypeOf :: PublicSubkey -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PublicSubkey) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PublicSubkey) Source #

gmapT :: (forall b. Data b => b -> b) -> PublicSubkey -> PublicSubkey Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PublicSubkey -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PublicSubkey -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> PublicSubkey -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PublicSubkey -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PublicSubkey -> m PublicSubkey Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PublicSubkey -> m PublicSubkey Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PublicSubkey -> m PublicSubkey Source #

Show PublicSubkey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PublicSubkey -> ShowS Source # show :: PublicSubkey -> String Source # showList :: [PublicSubkey] -> ShowS Source #
Binary PublicSubkey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: PublicSubkey -> Put Source # get :: Get PublicSubkey Source # putList :: [PublicSubkey] -> Put Source #
Eq PublicSubkey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PublicSubkey -> PublicSubkey -> Bool Source # (/=) :: PublicSubkey -> PublicSubkey -> Bool Source #
Packet PublicSubkey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType PublicSubkey Source # Methods packetType :: PublicSubkey -> PacketType PublicSubkey Source # packetCode :: PacketType PublicSubkey -> Word8 Source # toPkt :: PublicSubkey -> Pkt Source # fromPkt :: Pkt -> PublicSubkey Source #
Pretty PublicSubkey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: PublicSubkey -> Doc ann Source # prettyList :: [PublicSubkey] -> Doc ann Source #
Show (PacketType PublicSubkey) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType PublicSubkey -> ShowS Source # show :: PacketType PublicSubkey -> String Source # showList :: [PacketType PublicSubkey] -> ShowS Source #
Eq (PacketType PublicSubkey) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType PublicSubkey -> PacketType PublicSubkey -> Bool Source # (/=) :: PacketType PublicSubkey -> PacketType PublicSubkey -> Bool Source #
data PacketType PublicSubkey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType PublicSubkey = PublicSubkeyType

newtype UserAttribute Source #

Constructors

UserAttribute |

Fields

- _userAttributeSubPackets :: [UserAttrSubPacket]

#### Instances

Instances details

Data UserAttribute Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UserAttribute -> c UserAttribute Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UserAttribute Source #

toConstr :: UserAttribute -> Constr Source #

dataTypeOf :: UserAttribute -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UserAttribute) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UserAttribute) Source #

gmapT :: (forall b. Data b => b -> b) -> UserAttribute -> UserAttribute Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UserAttribute -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UserAttribute -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> UserAttribute -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UserAttribute -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UserAttribute -> m UserAttribute Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UserAttribute -> m UserAttribute Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UserAttribute -> m UserAttribute Source #

Show UserAttribute Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> UserAttribute -> ShowS Source # show :: UserAttribute -> String Source # showList :: [UserAttribute] -> ShowS Source #
Binary UserAttribute Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: UserAttribute -> Put Source # get :: Get UserAttribute Source # putList :: [UserAttribute] -> Put Source #
Eq UserAttribute Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: UserAttribute -> UserAttribute -> Bool Source # (/=) :: UserAttribute -> UserAttribute -> Bool Source #
Packet UserAttribute Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType UserAttribute Source # Methods packetType :: UserAttribute -> PacketType UserAttribute Source # packetCode :: PacketType UserAttribute -> Word8 Source # toPkt :: UserAttribute -> Pkt Source # fromPkt :: Pkt -> UserAttribute Source #
Pretty UserAttribute Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: UserAttribute -> Doc ann Source # prettyList :: [UserAttribute] -> Doc ann Source #
Show (PacketType UserAttribute) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType UserAttribute -> ShowS Source # show :: PacketType UserAttribute -> String Source # showList :: [PacketType UserAttribute] -> ShowS Source #
Eq (PacketType UserAttribute) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType UserAttribute -> PacketType UserAttribute -> Bool Source # (/=) :: PacketType UserAttribute -> PacketType UserAttribute -> Bool Source #
data PacketType UserAttribute Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType UserAttribute = UserAttributeType

data SymEncIntegrityProtectedData Source #

Constructors

SymEncIntegrityProtectedData |

Fields

- _symEncIntegrityProtectedDataPacketVersion :: PacketVersion
- _symEncIntegrityProtectedDataPayload :: ByteString

#### Instances

Instances details

Data SymEncIntegrityProtectedData Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SymEncIntegrityProtectedData -> c SymEncIntegrityProtectedData Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SymEncIntegrityProtectedData Source #

toConstr :: SymEncIntegrityProtectedData -> Constr Source #

dataTypeOf :: SymEncIntegrityProtectedData -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SymEncIntegrityProtectedData) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SymEncIntegrityProtectedData) Source #

gmapT :: (forall b. Data b => b -> b) -> SymEncIntegrityProtectedData -> SymEncIntegrityProtectedData Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SymEncIntegrityProtectedData -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SymEncIntegrityProtectedData -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SymEncIntegrityProtectedData -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SymEncIntegrityProtectedData -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SymEncIntegrityProtectedData -> m SymEncIntegrityProtectedData Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SymEncIntegrityProtectedData -> m SymEncIntegrityProtectedData Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SymEncIntegrityProtectedData -> m SymEncIntegrityProtectedData Source #

Show SymEncIntegrityProtectedData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> SymEncIntegrityProtectedData -> ShowS Source # show :: SymEncIntegrityProtectedData -> String Source # showList :: [SymEncIntegrityProtectedData] -> ShowS Source #
Binary SymEncIntegrityProtectedData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: SymEncIntegrityProtectedData -> Put Source # get :: Get SymEncIntegrityProtectedData Source # putList :: [SymEncIntegrityProtectedData] -> Put Source #
Eq SymEncIntegrityProtectedData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: SymEncIntegrityProtectedData -> SymEncIntegrityProtectedData -> Bool Source # (/=) :: SymEncIntegrityProtectedData -> SymEncIntegrityProtectedData -> Bool Source #
Packet SymEncIntegrityProtectedData Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Associated Types

data PacketType SymEncIntegrityProtectedData Source #

Methods

packetType :: SymEncIntegrityProtectedData -> PacketType SymEncIntegrityProtectedData Source #

packetCode :: PacketType SymEncIntegrityProtectedData -> Word8 Source #

toPkt :: SymEncIntegrityProtectedData -> Pkt Source #

fromPkt :: Pkt -> SymEncIntegrityProtectedData Source #

Pretty SymEncIntegrityProtectedData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: SymEncIntegrityProtectedData -> Doc ann Source # prettyList :: [SymEncIntegrityProtectedData] -> Doc ann Source #
Show (PacketType SymEncIntegrityProtectedData) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType SymEncIntegrityProtectedData -> ShowS Source # show :: PacketType SymEncIntegrityProtectedData -> String Source # showList :: [PacketType SymEncIntegrityProtectedData] -> ShowS Source #
Eq (PacketType SymEncIntegrityProtectedData) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType SymEncIntegrityProtectedData -> PacketType SymEncIntegrityProtectedData -> Bool Source # (/=) :: PacketType SymEncIntegrityProtectedData -> PacketType SymEncIntegrityProtectedData -> Bool Source #
data PacketType SymEncIntegrityProtectedData Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType SymEncIntegrityProtectedData = SymEncIntegrityProtectedDataType

newtype ModificationDetectionCode Source #

Constructors

ModificationDetectionCode |

Fields

- _modificationDetectionCodePayload :: ByteString

#### Instances

Instances details

Data ModificationDetectionCode Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModificationDetectionCode -> c ModificationDetectionCode Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModificationDetectionCode Source #

toConstr :: ModificationDetectionCode -> Constr Source #

dataTypeOf :: ModificationDetectionCode -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ModificationDetectionCode) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModificationDetectionCode) Source #

gmapT :: (forall b. Data b => b -> b) -> ModificationDetectionCode -> ModificationDetectionCode Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModificationDetectionCode -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModificationDetectionCode -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> ModificationDetectionCode -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModificationDetectionCode -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModificationDetectionCode -> m ModificationDetectionCode Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModificationDetectionCode -> m ModificationDetectionCode Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModificationDetectionCode -> m ModificationDetectionCode Source #

Show ModificationDetectionCode Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> ModificationDetectionCode -> ShowS Source # show :: ModificationDetectionCode -> String Source # showList :: [ModificationDetectionCode] -> ShowS Source #
Binary ModificationDetectionCode Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: ModificationDetectionCode -> Put Source # get :: Get ModificationDetectionCode Source # putList :: [ModificationDetectionCode] -> Put Source #
Eq ModificationDetectionCode Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: ModificationDetectionCode -> ModificationDetectionCode -> Bool Source # (/=) :: ModificationDetectionCode -> ModificationDetectionCode -> Bool Source #
Packet ModificationDetectionCode Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Associated Types

data PacketType ModificationDetectionCode Source #

Methods

packetType :: ModificationDetectionCode -> PacketType ModificationDetectionCode Source #

packetCode :: PacketType ModificationDetectionCode -> Word8 Source #

toPkt :: ModificationDetectionCode -> Pkt Source #

fromPkt :: Pkt -> ModificationDetectionCode Source #

Pretty ModificationDetectionCode Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: ModificationDetectionCode -> Doc ann Source # prettyList :: [ModificationDetectionCode] -> Doc ann Source #
Show (PacketType ModificationDetectionCode) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType ModificationDetectionCode -> ShowS Source # show :: PacketType ModificationDetectionCode -> String Source # showList :: [PacketType ModificationDetectionCode] -> ShowS Source #
Eq (PacketType ModificationDetectionCode) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType ModificationDetectionCode -> PacketType ModificationDetectionCode -> Bool Source # (/=) :: PacketType ModificationDetectionCode -> PacketType ModificationDetectionCode -> Bool Source #
data PacketType ModificationDetectionCode Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType ModificationDetectionCode = ModificationDetectionCodeType

data OtherPacket Source #

Constructors

OtherPacket |

Fields

- _otherPacketType :: Word8
- _otherPacketPayload :: ByteString

#### Instances

Instances details

Data OtherPacket Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OtherPacket -> c OtherPacket Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OtherPacket Source #

toConstr :: OtherPacket -> Constr Source #

dataTypeOf :: OtherPacket -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OtherPacket) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OtherPacket) Source #

gmapT :: (forall b. Data b => b -> b) -> OtherPacket -> OtherPacket Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OtherPacket -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OtherPacket -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> OtherPacket -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OtherPacket -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OtherPacket -> m OtherPacket Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OtherPacket -> m OtherPacket Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OtherPacket -> m OtherPacket Source #

Show OtherPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> OtherPacket -> ShowS Source # show :: OtherPacket -> String Source # showList :: [OtherPacket] -> ShowS Source #
Binary OtherPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: OtherPacket -> Put Source # get :: Get OtherPacket Source # putList :: [OtherPacket] -> Put Source #
Eq OtherPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: OtherPacket -> OtherPacket -> Bool Source # (/=) :: OtherPacket -> OtherPacket -> Bool Source #
Packet OtherPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType OtherPacket Source # Methods packetType :: OtherPacket -> PacketType OtherPacket Source # packetCode :: PacketType OtherPacket -> Word8 Source # toPkt :: OtherPacket -> Pkt Source # fromPkt :: Pkt -> OtherPacket Source #
Pretty OtherPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: OtherPacket -> Doc ann Source # prettyList :: [OtherPacket] -> Doc ann Source #
Show (PacketType OtherPacket) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType OtherPacket -> ShowS Source # show :: PacketType OtherPacket -> String Source # showList :: [PacketType OtherPacket] -> ShowS Source #
Eq (PacketType OtherPacket) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType OtherPacket -> PacketType OtherPacket -> Bool Source # (/=) :: PacketType OtherPacket -> PacketType OtherPacket -> Bool Source #
data PacketType OtherPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType OtherPacket = OtherPacketType

data BrokenPacket Source #

Constructors

BrokenPacket |

Fields

- _brokenPacketParseError :: String
- _brokenPacketType :: Word8
- _brokenPacketPayload :: ByteString

#### Instances

Instances details

Data BrokenPacket Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BrokenPacket -> c BrokenPacket Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BrokenPacket Source #

toConstr :: BrokenPacket -> Constr Source #

dataTypeOf :: BrokenPacket -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BrokenPacket) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BrokenPacket) Source #

gmapT :: (forall b. Data b => b -> b) -> BrokenPacket -> BrokenPacket Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BrokenPacket -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BrokenPacket -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> BrokenPacket -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BrokenPacket -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BrokenPacket -> m BrokenPacket Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BrokenPacket -> m BrokenPacket Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BrokenPacket -> m BrokenPacket Source #

Show BrokenPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> BrokenPacket -> ShowS Source # show :: BrokenPacket -> String Source # showList :: [BrokenPacket] -> ShowS Source #
Eq BrokenPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: BrokenPacket -> BrokenPacket -> Bool Source # (/=) :: BrokenPacket -> BrokenPacket -> Bool Source #
Packet BrokenPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types data PacketType BrokenPacket Source # Methods packetType :: BrokenPacket -> PacketType BrokenPacket Source # packetCode :: PacketType BrokenPacket -> Word8 Source # toPkt :: BrokenPacket -> Pkt Source # fromPkt :: Pkt -> BrokenPacket Source #
Pretty BrokenPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: BrokenPacket -> Doc ann Source # prettyList :: [BrokenPacket] -> Doc ann Source #
Show (PacketType BrokenPacket) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType BrokenPacket -> ShowS Source # show :: PacketType BrokenPacket -> String Source # showList :: [PacketType BrokenPacket] -> ShowS Source #
Eq (PacketType BrokenPacket) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType BrokenPacket -> PacketType BrokenPacket -> Bool Source # (/=) :: PacketType BrokenPacket -> PacketType BrokenPacket -> Bool Source #
data PacketType BrokenPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass data PacketType BrokenPacket = BrokenPacketType

pkeskPubKeyAlgorithm :: Lens' PKESK PubKeyAlgorithm Source #

pkeskPacketVersion :: Lens' PKESK PacketVersion Source #

pkeskMPIs :: Lens' PKESK (NonEmpty MPI) Source #

pkeskEightOctetKeyId :: Lens' PKESK EightOctetKeyId Source #

signaturePayload :: Iso' Signature SignaturePayload Source #

skeskSymmetricAlgorithm :: Lens' SKESK SymmetricAlgorithm Source #

skeskS2K :: Lens' SKESK S2K Source #

skeskPacketVersion :: Lens' SKESK PacketVersion Source #

skeskESK :: Lens' SKESK (Maybe ByteString) Source #

onePassSignatureSigType :: Lens' OnePassSignature SigType Source #

onePassSignaturePubKeyAlgorithm :: Lens' OnePassSignature PubKeyAlgorithm Source #

onePassSignaturePacketVersion :: Lens' OnePassSignature PacketVersion Source #

onePassSignatureNestedFlag :: Lens' OnePassSignature NestedFlag Source #

onePassSignatureHashAlgorithm :: Lens' OnePassSignature HashAlgorithm Source #

onePassSignatureEightOctetKeyId :: Lens' OnePassSignature EightOctetKeyId Source #

secretKeySKAddendum :: Lens' SecretKey SKAddendum Source #

secretKeyPKPayload :: Lens' SecretKey PKPayload Source #

v3exp :: Lens' PKPayload V3Expiration Source #

timestamp :: Lens' PKPayload ThirtyTwoBitTimeStamp Source #

pubkey :: Lens' PKPayload PKey Source #

pkalgo :: Lens' PKPayload PubKeyAlgorithm Source #

keyVersion :: Lens' PKPayload KeyVersion Source #

publicKeyPKPayload :: Iso' PublicKey PKPayload Source #

secretSubkeySKAddendum :: Lens' SecretSubkey SKAddendum Source #

secretSubkeyPKPayload :: Lens' SecretSubkey PKPayload Source #

compressedDataPayload :: Lens' CompressedData CompressedDataPayload Source #

compressedDataCompressionAlgorithm :: Lens' CompressedData CompressionAlgorithm Source #

symEncDataPayload :: Iso' SymEncData ByteString Source #

markerPayload :: Iso' Marker ByteString Source #

literalDataTimeStamp :: Lens' LiteralData ThirtyTwoBitTimeStamp Source #

literalDataPayload :: Lens' LiteralData ByteString Source #

literalDataFileName :: Lens' LiteralData FileName Source #

literalDataDataType :: Lens' LiteralData DataType Source #

trustPayload :: Iso' Trust ByteString Source #

userIdPayload :: Iso' UserId Text Source #

publicSubkeyPKPayload :: Iso' PublicSubkey PKPayload Source #

userAttributeSubPackets :: Iso' UserAttribute [UserAttrSubPacket] Source #

symEncIntegrityProtectedDataPayload :: Lens' SymEncIntegrityProtectedData ByteString Source #

symEncIntegrityProtectedDataPacketVersion :: Lens' SymEncIntegrityProtectedData PacketVersion Source #

modificationDetectionCodePayload :: Iso' ModificationDetectionCode ByteString Source #

otherPacketType :: Lens' OtherPacket Word8 Source #

otherPacketPayload :: Lens' OtherPacket ByteString Source #

brokenPacketType :: Lens' BrokenPacket Word8 Source #

brokenPacketPayload :: Lens' BrokenPacket ByteString Source #

brokenPacketParseError :: Lens' BrokenPacket String Source #

data EdSigningCurve Source #

Constructors

Ed25519 |

#### Instances

Instances details

FromJSON EdSigningCurve Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods parseJSON :: Value -> Parser EdSigningCurve Source # parseJSONList :: Value -> Parser [EdSigningCurve] Source #
ToJSON EdSigningCurve Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods toJSON :: EdSigningCurve -> Value Source # toEncoding :: EdSigningCurve -> Encoding Source # toJSONList :: [EdSigningCurve] -> Value Source # toEncodingList :: [EdSigningCurve] -> Encoding Source #
Data EdSigningCurve Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EdSigningCurve -> c EdSigningCurve Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EdSigningCurve Source #

toConstr :: EdSigningCurve -> Constr Source #

dataTypeOf :: EdSigningCurve -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EdSigningCurve) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EdSigningCurve) Source #

gmapT :: (forall b. Data b => b -> b) -> EdSigningCurve -> EdSigningCurve Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EdSigningCurve -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EdSigningCurve -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> EdSigningCurve -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EdSigningCurve -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EdSigningCurve -> m EdSigningCurve Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EdSigningCurve -> m EdSigningCurve Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EdSigningCurve -> m EdSigningCurve Source #

Generic EdSigningCurve Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Associated Types type Rep EdSigningCurve :: Type -> Type Source # Methods from :: EdSigningCurve -> Rep EdSigningCurve x Source # to :: Rep EdSigningCurve x -> EdSigningCurve Source #
Show EdSigningCurve Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods showsPrec :: Int -> EdSigningCurve -> ShowS Source # show :: EdSigningCurve -> String Source # showList :: [EdSigningCurve] -> ShowS Source #
Eq EdSigningCurve Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods (==) :: EdSigningCurve -> EdSigningCurve -> Bool Source # (/=) :: EdSigningCurve -> EdSigningCurve -> Bool Source #
Ord EdSigningCurve Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes

Methods

compare :: EdSigningCurve -> EdSigningCurve -> Ordering Source #

(<) :: EdSigningCurve -> EdSigningCurve -> Bool Source #

(<=) :: EdSigningCurve -> EdSigningCurve -> Bool Source #

(>) :: EdSigningCurve -> EdSigningCurve -> Bool Source #

(>=) :: EdSigningCurve -> EdSigningCurve -> Bool Source #

max :: EdSigningCurve -> EdSigningCurve -> EdSigningCurve Source #

min :: EdSigningCurve -> EdSigningCurve -> EdSigningCurve Source #

Hashable EdSigningCurve Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods hashWithSalt :: Int -> EdSigningCurve -> Int Source # hash :: EdSigningCurve -> Int Source #
Pretty EdSigningCurve Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods pretty :: EdSigningCurve -> Doc ann Source # prettyList :: [EdSigningCurve] -> Doc ann Source #
type Rep EdSigningCurve Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes type Rep EdSigningCurve = D1 ('MetaData "EdSigningCurve" "Codec.Encryption.OpenPGP.Types.Internal.PKITypes" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) (C1 ('MetaCons "Ed25519" 'PrefixI 'False) (U1 :: Type -> Type))

newtype EPoint Source #

Constructors

EPoint |

Fields

- unEPoint :: Integer

#### Instances

Instances details

FromJSON EPoint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods parseJSON :: Value -> Parser EPoint Source # parseJSONList :: Value -> Parser [EPoint] Source #
ToJSON EPoint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods toJSON :: EPoint -> Value Source # toEncoding :: EPoint -> Encoding Source # toJSONList :: [EPoint] -> Value Source # toEncodingList :: [EPoint] -> Encoding Source #
Data EPoint Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EPoint -> c EPoint Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EPoint Source #

toConstr :: EPoint -> Constr Source #

dataTypeOf :: EPoint -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EPoint) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EPoint) Source #

gmapT :: (forall b. Data b => b -> b) -> EPoint -> EPoint Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EPoint -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EPoint -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> EPoint -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EPoint -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EPoint -> m EPoint Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EPoint -> m EPoint Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EPoint -> m EPoint Source #

Generic EPoint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Associated Types type Rep EPoint :: Type -> Type Source # Methods from :: EPoint -> Rep EPoint x Source # to :: Rep EPoint x -> EPoint Source #
Show EPoint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods showsPrec :: Int -> EPoint -> ShowS Source # show :: EPoint -> String Source # showList :: [EPoint] -> ShowS Source #
Eq EPoint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods (==) :: EPoint -> EPoint -> Bool Source # (/=) :: EPoint -> EPoint -> Bool Source #
Ord EPoint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods compare :: EPoint -> EPoint -> Ordering Source # (<) :: EPoint -> EPoint -> Bool Source # (<=) :: EPoint -> EPoint -> Bool Source # (>) :: EPoint -> EPoint -> Bool Source # (>=) :: EPoint -> EPoint -> Bool Source # max :: EPoint -> EPoint -> EPoint Source # min :: EPoint -> EPoint -> EPoint Source #
Hashable EPoint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods hashWithSalt :: Int -> EPoint -> Int Source # hash :: EPoint -> Int Source #
Pretty EPoint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods pretty :: EPoint -> Doc ann Source # prettyList :: [EPoint] -> Doc ann Source #
type Rep EPoint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes type Rep EPoint = D1 ('MetaData "EPoint" "Codec.Encryption.OpenPGP.Types.Internal.PKITypes" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "EPoint" 'PrefixI 'True) (S1 ('MetaSel ('Just "unEPoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))

data PKey Source #

Constructors

RSAPubKey RSA_PublicKey |
DSAPubKey DSA_PublicKey |
ElGamalPubKey Integer Integer Integer |
ECDHPubKey PKey HashAlgorithm SymmetricAlgorithm |
ECDSAPubKey ECDSA_PublicKey |
EdDSAPubKey EdSigningCurve EPoint |
UnknownPKey ByteString |

#### Instances

Instances details

ToJSON PKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods toJSON :: PKey -> Value Source # toEncoding :: PKey -> Encoding Source # toJSONList :: [PKey] -> Value Source # toEncodingList :: [PKey] -> Encoding Source #
Data PKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PKey -> c PKey Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PKey Source #

toConstr :: PKey -> Constr Source #

dataTypeOf :: PKey -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PKey) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PKey) Source #

gmapT :: (forall b. Data b => b -> b) -> PKey -> PKey Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PKey -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PKey -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> PKey -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PKey -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PKey -> m PKey Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PKey -> m PKey Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PKey -> m PKey Source #

Generic PKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Associated Types type Rep PKey :: Type -> Type Source # Methods from :: PKey -> Rep PKey x Source # to :: Rep PKey x -> PKey Source #
Show PKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods showsPrec :: Int -> PKey -> ShowS Source # show :: PKey -> String Source # showList :: [PKey] -> ShowS Source #
Eq PKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods (==) :: PKey -> PKey -> Bool Source # (/=) :: PKey -> PKey -> Bool Source #
Ord PKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods compare :: PKey -> PKey -> Ordering Source # (<) :: PKey -> PKey -> Bool Source # (<=) :: PKey -> PKey -> Bool Source # (>) :: PKey -> PKey -> Bool Source # (>=) :: PKey -> PKey -> Bool Source # max :: PKey -> PKey -> PKey Source # min :: PKey -> PKey -> PKey Source #
Hashable PKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods hashWithSalt :: Int -> PKey -> Int Source # hash :: PKey -> Int Source #
Pretty PKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods pretty :: PKey -> Doc ann Source # prettyList :: [PKey] -> Doc ann Source #
type Rep PKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes

type Rep PKey = D1 ('MetaData "PKey" "Codec.Encryption.OpenPGP.Types.Internal.PKITypes" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) ((C1 ('MetaCons "RSAPubKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RSA_PublicKey)) :+: (C1 ('MetaCons "DSAPubKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DSA_PublicKey)) :+: C1 ('MetaCons "ElGamalPubKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))))) :+: ((C1 ('MetaCons "ECDHPubKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PKey) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HashAlgorithm) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SymmetricAlgorithm))) :+: C1 ('MetaCons "ECDSAPubKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ECDSA_PublicKey))) :+: (C1 ('MetaCons "EdDSAPubKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EdSigningCurve) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EPoint)) :+: C1 ('MetaCons "UnknownPKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))))

data SKey Source #

Constructors

RSAPrivateKey RSA_PrivateKey |
DSAPrivateKey DSA_PrivateKey |
ElGamalPrivateKey Integer |
ECDHPrivateKey ECDSA_PrivateKey |
ECDSAPrivateKey ECDSA_PrivateKey |
EdDSAPrivateKey EdSigningCurve ByteString |
UnknownSKey ByteString |

#### Instances

Instances details

ToJSON SKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods toJSON :: SKey -> Value Source # toEncoding :: SKey -> Encoding Source # toJSONList :: [SKey] -> Value Source # toEncodingList :: [SKey] -> Encoding Source #
Data SKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SKey -> c SKey Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SKey Source #

toConstr :: SKey -> Constr Source #

dataTypeOf :: SKey -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SKey) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SKey) Source #

gmapT :: (forall b. Data b => b -> b) -> SKey -> SKey Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SKey -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SKey -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SKey -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SKey -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SKey -> m SKey Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SKey -> m SKey Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SKey -> m SKey Source #

Generic SKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Associated Types type Rep SKey :: Type -> Type Source # Methods from :: SKey -> Rep SKey x Source # to :: Rep SKey x -> SKey Source #
Show SKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods showsPrec :: Int -> SKey -> ShowS Source # show :: SKey -> String Source # showList :: [SKey] -> ShowS Source #
Eq SKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods (==) :: SKey -> SKey -> Bool Source # (/=) :: SKey -> SKey -> Bool Source #
Hashable SKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods hashWithSalt :: Int -> SKey -> Int Source # hash :: SKey -> Int Source #
Pretty SKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods pretty :: SKey -> Doc ann Source # prettyList :: [SKey] -> Doc ann Source #
type Rep SKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes

type Rep SKey = D1 ('MetaData "SKey" "Codec.Encryption.OpenPGP.Types.Internal.PKITypes" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) ((C1 ('MetaCons "RSAPrivateKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RSA_PrivateKey)) :+: (C1 ('MetaCons "DSAPrivateKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DSA_PrivateKey)) :+: C1 ('MetaCons "ElGamalPrivateKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))) :+: ((C1 ('MetaCons "ECDHPrivateKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ECDSA_PrivateKey)) :+: C1 ('MetaCons "ECDSAPrivateKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ECDSA_PrivateKey))) :+: (C1 ('MetaCons "EdDSAPrivateKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EdSigningCurve) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)) :+: C1 ('MetaCons "UnknownSKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))))

data PKPayload Source #

Constructors

PKPayload |

Fields

- _keyVersion :: KeyVersion
- _timestamp :: ThirtyTwoBitTimeStamp
- _v3exp :: V3Expiration
- _pkalgo :: PubKeyAlgorithm
- _pubkey :: PKey

#### Instances

Instances details

ToJSON PKPayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods toJSON :: PKPayload -> Value Source # toEncoding :: PKPayload -> Encoding Source # toJSONList :: [PKPayload] -> Value Source # toEncodingList :: [PKPayload] -> Encoding Source #
Data PKPayload Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PKPayload -> c PKPayload Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PKPayload Source #

toConstr :: PKPayload -> Constr Source #

dataTypeOf :: PKPayload -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PKPayload) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PKPayload) Source #

gmapT :: (forall b. Data b => b -> b) -> PKPayload -> PKPayload Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PKPayload -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PKPayload -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> PKPayload -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PKPayload -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PKPayload -> m PKPayload Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PKPayload -> m PKPayload Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PKPayload -> m PKPayload Source #

Generic PKPayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Associated Types type Rep PKPayload :: Type -> Type Source # Methods from :: PKPayload -> Rep PKPayload x Source # to :: Rep PKPayload x -> PKPayload Source #
Show PKPayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods showsPrec :: Int -> PKPayload -> ShowS Source # show :: PKPayload -> String Source # showList :: [PKPayload] -> ShowS Source #
Binary PKPayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: PKPayload -> Put Source # get :: Get PKPayload Source # putList :: [PKPayload] -> Put Source #
Eq PKPayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods (==) :: PKPayload -> PKPayload -> Bool Source # (/=) :: PKPayload -> PKPayload -> Bool Source #
Ord PKPayload Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes

Methods

compare :: PKPayload -> PKPayload -> Ordering Source #

(<) :: PKPayload -> PKPayload -> Bool Source #

(<=) :: PKPayload -> PKPayload -> Bool Source #

(>) :: PKPayload -> PKPayload -> Bool Source #

(>=) :: PKPayload -> PKPayload -> Bool Source #

max :: PKPayload -> PKPayload -> PKPayload Source #

min :: PKPayload -> PKPayload -> PKPayload Source #

Hashable PKPayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods hashWithSalt :: Int -> PKPayload -> Int Source # hash :: PKPayload -> Int Source #
Pretty PKPayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods pretty :: PKPayload -> Doc ann Source # prettyList :: [PKPayload] -> Doc ann Source #
type Rep PKPayload Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes

type Rep PKPayload = D1 ('MetaData "PKPayload" "Codec.Encryption.OpenPGP.Types.Internal.PKITypes" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) (C1 ('MetaCons "PKPayload" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_keyVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 KeyVersion) :*: S1 ('MetaSel ('Just "_timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ThirtyTwoBitTimeStamp)) :*: (S1 ('MetaSel ('Just "_v3exp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 V3Expiration) :*: (S1 ('MetaSel ('Just "_pkalgo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PubKeyAlgorithm) :*: S1 ('MetaSel ('Just "_pubkey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PKey)))))

data SKAddendum Source #

Constructors

SUS16bit SymmetricAlgorithm S2K IV ByteString |
SUSSHA1 SymmetricAlgorithm S2K IV ByteString |
SUSym SymmetricAlgorithm IV ByteString |
SUUnencrypted SKey Word16 |

#### Instances

Instances details

ToJSON SKAddendum Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods toJSON :: SKAddendum -> Value Source # toEncoding :: SKAddendum -> Encoding Source # toJSONList :: [SKAddendum] -> Value Source # toEncodingList :: [SKAddendum] -> Encoding Source #
Data SKAddendum Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SKAddendum -> c SKAddendum Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SKAddendum Source #

toConstr :: SKAddendum -> Constr Source #

dataTypeOf :: SKAddendum -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SKAddendum) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SKAddendum) Source #

gmapT :: (forall b. Data b => b -> b) -> SKAddendum -> SKAddendum Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SKAddendum -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SKAddendum -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SKAddendum -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SKAddendum -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SKAddendum -> m SKAddendum Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SKAddendum -> m SKAddendum Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SKAddendum -> m SKAddendum Source #

Generic SKAddendum Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Associated Types type Rep SKAddendum :: Type -> Type Source # Methods from :: SKAddendum -> Rep SKAddendum x Source # to :: Rep SKAddendum x -> SKAddendum Source #
Show SKAddendum Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods showsPrec :: Int -> SKAddendum -> ShowS Source # show :: SKAddendum -> String Source # showList :: [SKAddendum] -> ShowS Source #
Eq SKAddendum Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods (==) :: SKAddendum -> SKAddendum -> Bool Source # (/=) :: SKAddendum -> SKAddendum -> Bool Source #
Ord SKAddendum Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes

Methods

compare :: SKAddendum -> SKAddendum -> Ordering Source #

(<) :: SKAddendum -> SKAddendum -> Bool Source #

(<=) :: SKAddendum -> SKAddendum -> Bool Source #

(>) :: SKAddendum -> SKAddendum -> Bool Source #

(>=) :: SKAddendum -> SKAddendum -> Bool Source #

max :: SKAddendum -> SKAddendum -> SKAddendum Source #

min :: SKAddendum -> SKAddendum -> SKAddendum Source #

Hashable SKAddendum Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods hashWithSalt :: Int -> SKAddendum -> Int Source # hash :: SKAddendum -> Int Source #
Pretty SKAddendum Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods pretty :: SKAddendum -> Doc ann Source # prettyList :: [SKAddendum] -> Doc ann Source #
type Rep SKAddendum Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes

type Rep SKAddendum = D1 ('MetaData "SKAddendum" "Codec.Encryption.OpenPGP.Types.Internal.PKITypes" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) ((C1 ('MetaCons "SUS16bit" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SymmetricAlgorithm) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 S2K)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IV) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))) :+: C1 ('MetaCons "SUSSHA1" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SymmetricAlgorithm) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 S2K)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IV) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))) :+: (C1 ('MetaCons "SUSym" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SymmetricAlgorithm) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IV) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))) :+: C1 ('MetaCons "SUUnencrypted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SKey) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word16))))

newtype DSA_PublicKey Source #

Constructors

DSA_PublicKey |

Fields

- unDSA_PublicKey :: PublicKey

#### Instances

Instances details

ToJSON DSA_PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods toJSON :: DSA_PublicKey -> Value Source # toEncoding :: DSA_PublicKey -> Encoding Source # toJSONList :: [DSA_PublicKey] -> Value Source # toEncodingList :: [DSA_PublicKey] -> Encoding Source #
Data DSA_PublicKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DSA_PublicKey -> c DSA_PublicKey Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DSA_PublicKey Source #

toConstr :: DSA_PublicKey -> Constr Source #

dataTypeOf :: DSA_PublicKey -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DSA_PublicKey) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DSA_PublicKey) Source #

gmapT :: (forall b. Data b => b -> b) -> DSA_PublicKey -> DSA_PublicKey Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DSA_PublicKey -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DSA_PublicKey -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> DSA_PublicKey -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DSA_PublicKey -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DSA_PublicKey -> m DSA_PublicKey Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DSA_PublicKey -> m DSA_PublicKey Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DSA_PublicKey -> m DSA_PublicKey Source #

Generic DSA_PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Associated Types type Rep DSA_PublicKey :: Type -> Type Source # Methods from :: DSA_PublicKey -> Rep DSA_PublicKey x Source # to :: Rep DSA_PublicKey x -> DSA_PublicKey Source #
Show DSA_PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods showsPrec :: Int -> DSA_PublicKey -> ShowS Source # show :: DSA_PublicKey -> String Source # showList :: [DSA_PublicKey] -> ShowS Source #
Eq DSA_PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods (==) :: DSA_PublicKey -> DSA_PublicKey -> Bool Source # (/=) :: DSA_PublicKey -> DSA_PublicKey -> Bool Source #
Ord DSA_PublicKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

Methods

compare :: DSA_PublicKey -> DSA_PublicKey -> Ordering Source #

(<) :: DSA_PublicKey -> DSA_PublicKey -> Bool Source #

(<=) :: DSA_PublicKey -> DSA_PublicKey -> Bool Source #

(>) :: DSA_PublicKey -> DSA_PublicKey -> Bool Source #

(>=) :: DSA_PublicKey -> DSA_PublicKey -> Bool Source #

max :: DSA_PublicKey -> DSA_PublicKey -> DSA_PublicKey Source #

min :: DSA_PublicKey -> DSA_PublicKey -> DSA_PublicKey Source #

Hashable DSA_PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods hashWithSalt :: Int -> DSA_PublicKey -> Int Source # hash :: DSA_PublicKey -> Int Source #
Pretty DSA_PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods pretty :: DSA_PublicKey -> Doc ann Source # prettyList :: [DSA_PublicKey] -> Doc ann Source #
type Rep DSA_PublicKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

type Rep DSA_PublicKey = D1 ('MetaData "DSA_PublicKey" "Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "DSA_PublicKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "unDSA_PublicKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PublicKey)))

newtype RSA_PublicKey Source #

Constructors

RSA_PublicKey |

Fields

- unRSA_PublicKey :: PublicKey

#### Instances

Instances details

ToJSON RSA_PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods toJSON :: RSA_PublicKey -> Value Source # toEncoding :: RSA_PublicKey -> Encoding Source # toJSONList :: [RSA_PublicKey] -> Value Source # toEncodingList :: [RSA_PublicKey] -> Encoding Source #
Data RSA_PublicKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RSA_PublicKey -> c RSA_PublicKey Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RSA_PublicKey Source #

toConstr :: RSA_PublicKey -> Constr Source #

dataTypeOf :: RSA_PublicKey -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RSA_PublicKey) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RSA_PublicKey) Source #

gmapT :: (forall b. Data b => b -> b) -> RSA_PublicKey -> RSA_PublicKey Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RSA_PublicKey -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RSA_PublicKey -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> RSA_PublicKey -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RSA_PublicKey -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RSA_PublicKey -> m RSA_PublicKey Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RSA_PublicKey -> m RSA_PublicKey Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RSA_PublicKey -> m RSA_PublicKey Source #

Generic RSA_PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Associated Types type Rep RSA_PublicKey :: Type -> Type Source # Methods from :: RSA_PublicKey -> Rep RSA_PublicKey x Source # to :: Rep RSA_PublicKey x -> RSA_PublicKey Source #
Show RSA_PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods showsPrec :: Int -> RSA_PublicKey -> ShowS Source # show :: RSA_PublicKey -> String Source # showList :: [RSA_PublicKey] -> ShowS Source #
Eq RSA_PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods (==) :: RSA_PublicKey -> RSA_PublicKey -> Bool Source # (/=) :: RSA_PublicKey -> RSA_PublicKey -> Bool Source #
Ord RSA_PublicKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

Methods

compare :: RSA_PublicKey -> RSA_PublicKey -> Ordering Source #

(<) :: RSA_PublicKey -> RSA_PublicKey -> Bool Source #

(<=) :: RSA_PublicKey -> RSA_PublicKey -> Bool Source #

(>) :: RSA_PublicKey -> RSA_PublicKey -> Bool Source #

(>=) :: RSA_PublicKey -> RSA_PublicKey -> Bool Source #

max :: RSA_PublicKey -> RSA_PublicKey -> RSA_PublicKey Source #

min :: RSA_PublicKey -> RSA_PublicKey -> RSA_PublicKey Source #

Hashable RSA_PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods hashWithSalt :: Int -> RSA_PublicKey -> Int Source # hash :: RSA_PublicKey -> Int Source #
Pretty RSA_PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods pretty :: RSA_PublicKey -> Doc ann Source # prettyList :: [RSA_PublicKey] -> Doc ann Source #
type Rep RSA_PublicKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

type Rep RSA_PublicKey = D1 ('MetaData "RSA_PublicKey" "Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "RSA_PublicKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "unRSA_PublicKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PublicKey)))

newtype ECDSA_PublicKey Source #

Constructors

ECDSA_PublicKey |

Fields

- unECDSA_PublicKey :: PublicKey

#### Instances

Instances details

ToJSON ECDSA_PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods toJSON :: ECDSA_PublicKey -> Value Source # toEncoding :: ECDSA_PublicKey -> Encoding Source # toJSONList :: [ECDSA_PublicKey] -> Value Source # toEncodingList :: [ECDSA_PublicKey] -> Encoding Source #
Data ECDSA_PublicKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ECDSA_PublicKey -> c ECDSA_PublicKey Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ECDSA_PublicKey Source #

toConstr :: ECDSA_PublicKey -> Constr Source #

dataTypeOf :: ECDSA_PublicKey -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ECDSA_PublicKey) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ECDSA_PublicKey) Source #

gmapT :: (forall b. Data b => b -> b) -> ECDSA_PublicKey -> ECDSA_PublicKey Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ECDSA_PublicKey -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ECDSA_PublicKey -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> ECDSA_PublicKey -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ECDSA_PublicKey -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ECDSA_PublicKey -> m ECDSA_PublicKey Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ECDSA_PublicKey -> m ECDSA_PublicKey Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ECDSA_PublicKey -> m ECDSA_PublicKey Source #

Generic ECDSA_PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Associated Types type Rep ECDSA_PublicKey :: Type -> Type Source # Methods from :: ECDSA_PublicKey -> Rep ECDSA_PublicKey x Source # to :: Rep ECDSA_PublicKey x -> ECDSA_PublicKey Source #
Show ECDSA_PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods showsPrec :: Int -> ECDSA_PublicKey -> ShowS Source # show :: ECDSA_PublicKey -> String Source # showList :: [ECDSA_PublicKey] -> ShowS Source #
Eq ECDSA_PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods (==) :: ECDSA_PublicKey -> ECDSA_PublicKey -> Bool Source # (/=) :: ECDSA_PublicKey -> ECDSA_PublicKey -> Bool Source #
Ord ECDSA_PublicKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

Methods

compare :: ECDSA_PublicKey -> ECDSA_PublicKey -> Ordering Source #

(<) :: ECDSA_PublicKey -> ECDSA_PublicKey -> Bool Source #

(<=) :: ECDSA_PublicKey -> ECDSA_PublicKey -> Bool Source #

(>) :: ECDSA_PublicKey -> ECDSA_PublicKey -> Bool Source #

(>=) :: ECDSA_PublicKey -> ECDSA_PublicKey -> Bool Source #

max :: ECDSA_PublicKey -> ECDSA_PublicKey -> ECDSA_PublicKey Source #

min :: ECDSA_PublicKey -> ECDSA_PublicKey -> ECDSA_PublicKey Source #

Hashable ECDSA_PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods hashWithSalt :: Int -> ECDSA_PublicKey -> Int Source # hash :: ECDSA_PublicKey -> Int Source #
Pretty ECDSA_PublicKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods pretty :: ECDSA_PublicKey -> Doc ann Source # prettyList :: [ECDSA_PublicKey] -> Doc ann Source #
type Rep ECDSA_PublicKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

type Rep ECDSA_PublicKey = D1 ('MetaData "ECDSA_PublicKey" "Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "ECDSA_PublicKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "unECDSA_PublicKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PublicKey)))

newtype DSA_PrivateKey Source #

Constructors

DSA_PrivateKey |

Fields

- unDSA_PrivateKey :: PrivateKey

#### Instances

Instances details

ToJSON DSA_PrivateKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods toJSON :: DSA_PrivateKey -> Value Source # toEncoding :: DSA_PrivateKey -> Encoding Source # toJSONList :: [DSA_PrivateKey] -> Value Source # toEncodingList :: [DSA_PrivateKey] -> Encoding Source #
Data DSA_PrivateKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DSA_PrivateKey -> c DSA_PrivateKey Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DSA_PrivateKey Source #

toConstr :: DSA_PrivateKey -> Constr Source #

dataTypeOf :: DSA_PrivateKey -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DSA_PrivateKey) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DSA_PrivateKey) Source #

gmapT :: (forall b. Data b => b -> b) -> DSA_PrivateKey -> DSA_PrivateKey Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DSA_PrivateKey -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DSA_PrivateKey -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> DSA_PrivateKey -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DSA_PrivateKey -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DSA_PrivateKey -> m DSA_PrivateKey Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DSA_PrivateKey -> m DSA_PrivateKey Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DSA_PrivateKey -> m DSA_PrivateKey Source #

Generic DSA_PrivateKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Associated Types type Rep DSA_PrivateKey :: Type -> Type Source # Methods from :: DSA_PrivateKey -> Rep DSA_PrivateKey x Source # to :: Rep DSA_PrivateKey x -> DSA_PrivateKey Source #
Show DSA_PrivateKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods showsPrec :: Int -> DSA_PrivateKey -> ShowS Source # show :: DSA_PrivateKey -> String Source # showList :: [DSA_PrivateKey] -> ShowS Source #
Eq DSA_PrivateKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods (==) :: DSA_PrivateKey -> DSA_PrivateKey -> Bool Source # (/=) :: DSA_PrivateKey -> DSA_PrivateKey -> Bool Source #
Ord DSA_PrivateKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

Methods

compare :: DSA_PrivateKey -> DSA_PrivateKey -> Ordering Source #

(<) :: DSA_PrivateKey -> DSA_PrivateKey -> Bool Source #

(<=) :: DSA_PrivateKey -> DSA_PrivateKey -> Bool Source #

(>) :: DSA_PrivateKey -> DSA_PrivateKey -> Bool Source #

(>=) :: DSA_PrivateKey -> DSA_PrivateKey -> Bool Source #

max :: DSA_PrivateKey -> DSA_PrivateKey -> DSA_PrivateKey Source #

min :: DSA_PrivateKey -> DSA_PrivateKey -> DSA_PrivateKey Source #

Hashable DSA_PrivateKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods hashWithSalt :: Int -> DSA_PrivateKey -> Int Source # hash :: DSA_PrivateKey -> Int Source #
Pretty DSA_PrivateKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods pretty :: DSA_PrivateKey -> Doc ann Source # prettyList :: [DSA_PrivateKey] -> Doc ann Source #
type Rep DSA_PrivateKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

type Rep DSA_PrivateKey = D1 ('MetaData "DSA_PrivateKey" "Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "DSA_PrivateKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "unDSA_PrivateKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PrivateKey)))

newtype RSA_PrivateKey Source #

Constructors

RSA_PrivateKey |

Fields

- unRSA_PrivateKey :: PrivateKey

#### Instances

Instances details

ToJSON RSA_PrivateKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods toJSON :: RSA_PrivateKey -> Value Source # toEncoding :: RSA_PrivateKey -> Encoding Source # toJSONList :: [RSA_PrivateKey] -> Value Source # toEncodingList :: [RSA_PrivateKey] -> Encoding Source #
Data RSA_PrivateKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RSA_PrivateKey -> c RSA_PrivateKey Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RSA_PrivateKey Source #

toConstr :: RSA_PrivateKey -> Constr Source #

dataTypeOf :: RSA_PrivateKey -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RSA_PrivateKey) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RSA_PrivateKey) Source #

gmapT :: (forall b. Data b => b -> b) -> RSA_PrivateKey -> RSA_PrivateKey Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RSA_PrivateKey -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RSA_PrivateKey -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> RSA_PrivateKey -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RSA_PrivateKey -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RSA_PrivateKey -> m RSA_PrivateKey Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RSA_PrivateKey -> m RSA_PrivateKey Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RSA_PrivateKey -> m RSA_PrivateKey Source #

Generic RSA_PrivateKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Associated Types type Rep RSA_PrivateKey :: Type -> Type Source # Methods from :: RSA_PrivateKey -> Rep RSA_PrivateKey x Source # to :: Rep RSA_PrivateKey x -> RSA_PrivateKey Source #
Show RSA_PrivateKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods showsPrec :: Int -> RSA_PrivateKey -> ShowS Source # show :: RSA_PrivateKey -> String Source # showList :: [RSA_PrivateKey] -> ShowS Source #
Eq RSA_PrivateKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods (==) :: RSA_PrivateKey -> RSA_PrivateKey -> Bool Source # (/=) :: RSA_PrivateKey -> RSA_PrivateKey -> Bool Source #
Ord RSA_PrivateKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

Methods

compare :: RSA_PrivateKey -> RSA_PrivateKey -> Ordering Source #

(<) :: RSA_PrivateKey -> RSA_PrivateKey -> Bool Source #

(<=) :: RSA_PrivateKey -> RSA_PrivateKey -> Bool Source #

(>) :: RSA_PrivateKey -> RSA_PrivateKey -> Bool Source #

(>=) :: RSA_PrivateKey -> RSA_PrivateKey -> Bool Source #

max :: RSA_PrivateKey -> RSA_PrivateKey -> RSA_PrivateKey Source #

min :: RSA_PrivateKey -> RSA_PrivateKey -> RSA_PrivateKey Source #

Hashable RSA_PrivateKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods hashWithSalt :: Int -> RSA_PrivateKey -> Int Source # hash :: RSA_PrivateKey -> Int Source #
Pretty RSA_PrivateKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods pretty :: RSA_PrivateKey -> Doc ann Source # prettyList :: [RSA_PrivateKey] -> Doc ann Source #
type Rep RSA_PrivateKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

type Rep RSA_PrivateKey = D1 ('MetaData "RSA_PrivateKey" "Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "RSA_PrivateKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "unRSA_PrivateKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PrivateKey)))

newtype ECDSA_PrivateKey Source #

Constructors

ECDSA_PrivateKey |

Fields

- unECDSA_PrivateKey :: PrivateKey

#### Instances

Instances details

ToJSON ECDSA_PrivateKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods toJSON :: ECDSA_PrivateKey -> Value Source # toEncoding :: ECDSA_PrivateKey -> Encoding Source # toJSONList :: [ECDSA_PrivateKey] -> Value Source # toEncodingList :: [ECDSA_PrivateKey] -> Encoding Source #
Data ECDSA_PrivateKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ECDSA_PrivateKey -> c ECDSA_PrivateKey Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ECDSA_PrivateKey Source #

toConstr :: ECDSA_PrivateKey -> Constr Source #

dataTypeOf :: ECDSA_PrivateKey -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ECDSA_PrivateKey) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ECDSA_PrivateKey) Source #

gmapT :: (forall b. Data b => b -> b) -> ECDSA_PrivateKey -> ECDSA_PrivateKey Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ECDSA_PrivateKey -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ECDSA_PrivateKey -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> ECDSA_PrivateKey -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ECDSA_PrivateKey -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ECDSA_PrivateKey -> m ECDSA_PrivateKey Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ECDSA_PrivateKey -> m ECDSA_PrivateKey Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ECDSA_PrivateKey -> m ECDSA_PrivateKey Source #

Generic ECDSA_PrivateKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Associated Types type Rep ECDSA_PrivateKey :: Type -> Type Source # Methods from :: ECDSA_PrivateKey -> Rep ECDSA_PrivateKey x Source # to :: Rep ECDSA_PrivateKey x -> ECDSA_PrivateKey Source #
Show ECDSA_PrivateKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods showsPrec :: Int -> ECDSA_PrivateKey -> ShowS Source # show :: ECDSA_PrivateKey -> String Source # showList :: [ECDSA_PrivateKey] -> ShowS Source #
Eq ECDSA_PrivateKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods (==) :: ECDSA_PrivateKey -> ECDSA_PrivateKey -> Bool Source # (/=) :: ECDSA_PrivateKey -> ECDSA_PrivateKey -> Bool Source #
Ord ECDSA_PrivateKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

Methods

compare :: ECDSA_PrivateKey -> ECDSA_PrivateKey -> Ordering Source #

(<) :: ECDSA_PrivateKey -> ECDSA_PrivateKey -> Bool Source #

(<=) :: ECDSA_PrivateKey -> ECDSA_PrivateKey -> Bool Source #

(>) :: ECDSA_PrivateKey -> ECDSA_PrivateKey -> Bool Source #

(>=) :: ECDSA_PrivateKey -> ECDSA_PrivateKey -> Bool Source #

max :: ECDSA_PrivateKey -> ECDSA_PrivateKey -> ECDSA_PrivateKey Source #

min :: ECDSA_PrivateKey -> ECDSA_PrivateKey -> ECDSA_PrivateKey Source #

Hashable ECDSA_PrivateKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods hashWithSalt :: Int -> ECDSA_PrivateKey -> Int Source # hash :: ECDSA_PrivateKey -> Int Source #
Pretty ECDSA_PrivateKey Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods pretty :: ECDSA_PrivateKey -> Doc ann Source # prettyList :: [ECDSA_PrivateKey] -> Doc ann Source #
type Rep ECDSA_PrivateKey Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

type Rep ECDSA_PrivateKey = D1 ('MetaData "ECDSA_PrivateKey" "Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "ECDSA_PrivateKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "unECDSA_PrivateKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PrivateKey)))

newtype DSA_Params Source #

Constructors

DSA_Params |

Fields

- unDSA_Params :: Params

#### Instances

Instances details

ToJSON DSA_Params Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods toJSON :: DSA_Params -> Value Source # toEncoding :: DSA_Params -> Encoding Source # toJSONList :: [DSA_Params] -> Value Source # toEncodingList :: [DSA_Params] -> Encoding Source #
Data DSA_Params Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DSA_Params -> c DSA_Params Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DSA_Params Source #

toConstr :: DSA_Params -> Constr Source #

dataTypeOf :: DSA_Params -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DSA_Params) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DSA_Params) Source #

gmapT :: (forall b. Data b => b -> b) -> DSA_Params -> DSA_Params Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DSA_Params -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DSA_Params -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> DSA_Params -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DSA_Params -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DSA_Params -> m DSA_Params Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DSA_Params -> m DSA_Params Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DSA_Params -> m DSA_Params Source #

Generic DSA_Params Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Associated Types type Rep DSA_Params :: Type -> Type Source # Methods from :: DSA_Params -> Rep DSA_Params x Source # to :: Rep DSA_Params x -> DSA_Params Source #
Show DSA_Params Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods showsPrec :: Int -> DSA_Params -> ShowS Source # show :: DSA_Params -> String Source # showList :: [DSA_Params] -> ShowS Source #
Eq DSA_Params Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods (==) :: DSA_Params -> DSA_Params -> Bool Source # (/=) :: DSA_Params -> DSA_Params -> Bool Source #
Hashable DSA_Params Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods hashWithSalt :: Int -> DSA_Params -> Int Source # hash :: DSA_Params -> Int Source #
Pretty DSA_Params Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods pretty :: DSA_Params -> Doc ann Source # prettyList :: [DSA_Params] -> Doc ann Source #
type Rep DSA_Params Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes type Rep DSA_Params = D1 ('MetaData "DSA_Params" "Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "DSA_Params" 'PrefixI 'True) (S1 ('MetaSel ('Just "unDSA_Params") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Params)))

newtype ECurvePoint Source #

Constructors

ECurvePoint |

Fields

- unECurvepoint :: Point

#### Instances

Instances details

FromJSON ECurvePoint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods parseJSON :: Value -> Parser ECurvePoint Source # parseJSONList :: Value -> Parser [ECurvePoint] Source #
ToJSON ECurvePoint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods toJSON :: ECurvePoint -> Value Source # toEncoding :: ECurvePoint -> Encoding Source # toJSONList :: [ECurvePoint] -> Value Source # toEncodingList :: [ECurvePoint] -> Encoding Source #
Data ECurvePoint Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ECurvePoint -> c ECurvePoint Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ECurvePoint Source #

toConstr :: ECurvePoint -> Constr Source #

dataTypeOf :: ECurvePoint -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ECurvePoint) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ECurvePoint) Source #

gmapT :: (forall b. Data b => b -> b) -> ECurvePoint -> ECurvePoint Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ECurvePoint -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ECurvePoint -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> ECurvePoint -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ECurvePoint -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ECurvePoint -> m ECurvePoint Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ECurvePoint -> m ECurvePoint Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ECurvePoint -> m ECurvePoint Source #

Generic ECurvePoint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Associated Types type Rep ECurvePoint :: Type -> Type Source # Methods from :: ECurvePoint -> Rep ECurvePoint x Source # to :: Rep ECurvePoint x -> ECurvePoint Source #
Show ECurvePoint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods showsPrec :: Int -> ECurvePoint -> ShowS Source # show :: ECurvePoint -> String Source # showList :: [ECurvePoint] -> ShowS Source #
Eq ECurvePoint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods (==) :: ECurvePoint -> ECurvePoint -> Bool Source # (/=) :: ECurvePoint -> ECurvePoint -> Bool Source #
type Rep ECurvePoint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes type Rep ECurvePoint = D1 ('MetaData "ECurvePoint" "Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "ECurvePoint" 'PrefixI 'True) (S1 ('MetaSel ('Just "unECurvepoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Point)))

type Exportability = Bool Source #

type TrustLevel = Word8 Source #

type TrustAmount = Word8 Source #

type AlmostPublicDomainRegex = ByteString Source #

type Revocability = Bool Source #

type RevocationReason = Text Source #

type KeyServer = ByteString Source #

type SignatureHash = ByteString Source #

type PacketVersion = Word8 Source #

type V3Expiration = Word16 Source #

type CompressedDataPayload = ByteString Source #

type FileName = ByteString Source #

type ImageData = ByteString Source #

type NestedFlag = Bool Source #

class (Eq a, Ord a) => FutureFlag a where Source #

Methods

fromFFlag :: a -> Int Source #

toFFlag :: Int -> a Source #

#### Instances

Instances details

FutureFlag FeatureFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFFlag :: FeatureFlag -> Int Source # toFFlag :: Int -> FeatureFlag Source #
FutureFlag KSPFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFFlag :: KSPFlag -> Int Source # toFFlag :: Int -> KSPFlag Source #
FutureFlag KeyFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFFlag :: KeyFlag -> Int Source # toFFlag :: Int -> KeyFlag Source #
FutureFlag NotationFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFFlag :: NotationFlag -> Int Source # toFFlag :: Int -> NotationFlag Source #
FutureFlag RevocationClass Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFFlag :: RevocationClass -> Int Source # toFFlag :: Int -> RevocationClass Source #

class (Eq a, Ord a) => FutureVal a where Source #

Methods

fromFVal :: a -> Word8 Source #

toFVal :: Word8 -> a Source #

#### Instances

Instances details

FutureVal CompressionAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: CompressionAlgorithm -> Word8 Source # toFVal :: Word8 -> CompressionAlgorithm Source #
FutureVal DataType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: DataType -> Word8 Source # toFVal :: Word8 -> DataType Source #
FutureVal HashAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: HashAlgorithm -> Word8 Source # toFVal :: Word8 -> HashAlgorithm Source #
FutureVal ImageFormat Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: ImageFormat -> Word8 Source # toFVal :: Word8 -> ImageFormat Source #
FutureVal PubKeyAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: PubKeyAlgorithm -> Word8 Source # toFVal :: Word8 -> PubKeyAlgorithm Source #
FutureVal RevocationCode Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: RevocationCode -> Word8 Source # toFVal :: Word8 -> RevocationCode Source #
FutureVal SigType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: SigType -> Word8 Source # toFVal :: Word8 -> SigType Source #
FutureVal SymmetricAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: SymmetricAlgorithm -> Word8 Source # toFVal :: Word8 -> SymmetricAlgorithm Source #

data SymmetricAlgorithm Source #

Constructors

Plaintext |
IDEA |
TripleDES |
CAST5 |
Blowfish |
ReservedSAFER |
ReservedDES |
AES128 |
AES192 |
AES256 |
Twofish |
Camellia128 |
Camellia192 |
Camellia256 |
OtherSA Word8 |

#### Instances

Instances details

FromJSON SymmetricAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser SymmetricAlgorithm Source # parseJSONList :: Value -> Parser [SymmetricAlgorithm] Source #
ToJSON SymmetricAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: SymmetricAlgorithm -> Value Source # toEncoding :: SymmetricAlgorithm -> Encoding Source # toJSONList :: [SymmetricAlgorithm] -> Value Source # toEncodingList :: [SymmetricAlgorithm] -> Encoding Source #
Data SymmetricAlgorithm Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SymmetricAlgorithm -> c SymmetricAlgorithm Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SymmetricAlgorithm Source #

toConstr :: SymmetricAlgorithm -> Constr Source #

dataTypeOf :: SymmetricAlgorithm -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SymmetricAlgorithm) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SymmetricAlgorithm) Source #

gmapT :: (forall b. Data b => b -> b) -> SymmetricAlgorithm -> SymmetricAlgorithm Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SymmetricAlgorithm -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SymmetricAlgorithm -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SymmetricAlgorithm -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SymmetricAlgorithm -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SymmetricAlgorithm -> m SymmetricAlgorithm Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SymmetricAlgorithm -> m SymmetricAlgorithm Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SymmetricAlgorithm -> m SymmetricAlgorithm Source #

Generic SymmetricAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep SymmetricAlgorithm :: Type -> Type Source # Methods from :: SymmetricAlgorithm -> Rep SymmetricAlgorithm x Source # to :: Rep SymmetricAlgorithm x -> SymmetricAlgorithm Source #
Show SymmetricAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> SymmetricAlgorithm -> ShowS Source # show :: SymmetricAlgorithm -> String Source # showList :: [SymmetricAlgorithm] -> ShowS Source #
Binary SymmetricAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: SymmetricAlgorithm -> Put Source # get :: Get SymmetricAlgorithm Source # putList :: [SymmetricAlgorithm] -> Put Source #
Eq SymmetricAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: SymmetricAlgorithm -> SymmetricAlgorithm -> Bool Source # (/=) :: SymmetricAlgorithm -> SymmetricAlgorithm -> Bool Source #
Ord SymmetricAlgorithm Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: SymmetricAlgorithm -> SymmetricAlgorithm -> Ordering Source #

(<) :: SymmetricAlgorithm -> SymmetricAlgorithm -> Bool Source #

(<=) :: SymmetricAlgorithm -> SymmetricAlgorithm -> Bool Source #

(>) :: SymmetricAlgorithm -> SymmetricAlgorithm -> Bool Source #

(>=) :: SymmetricAlgorithm -> SymmetricAlgorithm -> Bool Source #

max :: SymmetricAlgorithm -> SymmetricAlgorithm -> SymmetricAlgorithm Source #

min :: SymmetricAlgorithm -> SymmetricAlgorithm -> SymmetricAlgorithm Source #

FutureVal SymmetricAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: SymmetricAlgorithm -> Word8 Source # toFVal :: Word8 -> SymmetricAlgorithm Source #
Hashable SymmetricAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> SymmetricAlgorithm -> Int Source # hash :: SymmetricAlgorithm -> Int Source #
Pretty SymmetricAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: SymmetricAlgorithm -> Doc ann Source # prettyList :: [SymmetricAlgorithm] -> Doc ann Source #
type Rep SymmetricAlgorithm Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep SymmetricAlgorithm = D1 ('MetaData "SymmetricAlgorithm" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) (((C1 ('MetaCons "Plaintext" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "IDEA" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TripleDES" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "CAST5" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Blowfish" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ReservedSAFER" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ReservedDES" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "AES128" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AES192" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AES256" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Twofish" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Camellia128" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Camellia192" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Camellia256" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OtherSA" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8))))))

data NotationFlag Source #

Constructors

HumanReadable |
OtherNF Word8 |

#### Instances

Instances details

FromJSON NotationFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser NotationFlag Source # parseJSONList :: Value -> Parser [NotationFlag] Source #
ToJSON NotationFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: NotationFlag -> Value Source # toEncoding :: NotationFlag -> Encoding Source # toJSONList :: [NotationFlag] -> Value Source # toEncodingList :: [NotationFlag] -> Encoding Source #
Data NotationFlag Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NotationFlag -> c NotationFlag Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NotationFlag Source #

toConstr :: NotationFlag -> Constr Source #

dataTypeOf :: NotationFlag -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NotationFlag) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NotationFlag) Source #

gmapT :: (forall b. Data b => b -> b) -> NotationFlag -> NotationFlag Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NotationFlag -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NotationFlag -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> NotationFlag -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NotationFlag -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NotationFlag -> m NotationFlag Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NotationFlag -> m NotationFlag Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NotationFlag -> m NotationFlag Source #

Generic NotationFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep NotationFlag :: Type -> Type Source # Methods from :: NotationFlag -> Rep NotationFlag x Source # to :: Rep NotationFlag x -> NotationFlag Source #
Show NotationFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> NotationFlag -> ShowS Source # show :: NotationFlag -> String Source # showList :: [NotationFlag] -> ShowS Source #
Eq NotationFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: NotationFlag -> NotationFlag -> Bool Source # (/=) :: NotationFlag -> NotationFlag -> Bool Source #
Ord NotationFlag Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: NotationFlag -> NotationFlag -> Ordering Source #

(<) :: NotationFlag -> NotationFlag -> Bool Source #

(<=) :: NotationFlag -> NotationFlag -> Bool Source #

(>) :: NotationFlag -> NotationFlag -> Bool Source #

(>=) :: NotationFlag -> NotationFlag -> Bool Source #

max :: NotationFlag -> NotationFlag -> NotationFlag Source #

min :: NotationFlag -> NotationFlag -> NotationFlag Source #

FutureFlag NotationFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFFlag :: NotationFlag -> Int Source # toFFlag :: Int -> NotationFlag Source #
Hashable NotationFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> NotationFlag -> Int Source # hash :: NotationFlag -> Int Source #
Pretty NotationFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: NotationFlag -> Doc ann Source # prettyList :: [NotationFlag] -> Doc ann Source #
type Rep NotationFlag Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep NotationFlag = D1 ('MetaData "NotationFlag" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) (C1 ('MetaCons "HumanReadable" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OtherNF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8)))

newtype ThirtyTwoBitTimeStamp Source #

Constructors

ThirtyTwoBitTimeStamp |

Fields

- unThirtyTwoBitTimeStamp :: Word32

#### Instances

Instances details

FromJSON ThirtyTwoBitTimeStamp Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser ThirtyTwoBitTimeStamp Source # parseJSONList :: Value -> Parser [ThirtyTwoBitTimeStamp] Source #
ToJSON ThirtyTwoBitTimeStamp Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: ThirtyTwoBitTimeStamp -> Value Source # toEncoding :: ThirtyTwoBitTimeStamp -> Encoding Source # toJSONList :: [ThirtyTwoBitTimeStamp] -> Value Source # toEncodingList :: [ThirtyTwoBitTimeStamp] -> Encoding Source #
Data ThirtyTwoBitTimeStamp Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ThirtyTwoBitTimeStamp -> c ThirtyTwoBitTimeStamp Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ThirtyTwoBitTimeStamp Source #

toConstr :: ThirtyTwoBitTimeStamp -> Constr Source #

dataTypeOf :: ThirtyTwoBitTimeStamp -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ThirtyTwoBitTimeStamp) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ThirtyTwoBitTimeStamp) Source #

gmapT :: (forall b. Data b => b -> b) -> ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ThirtyTwoBitTimeStamp -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ThirtyTwoBitTimeStamp -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> ThirtyTwoBitTimeStamp -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ThirtyTwoBitTimeStamp -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ThirtyTwoBitTimeStamp -> m ThirtyTwoBitTimeStamp Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ThirtyTwoBitTimeStamp -> m ThirtyTwoBitTimeStamp Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ThirtyTwoBitTimeStamp -> m ThirtyTwoBitTimeStamp Source #

Bounded ThirtyTwoBitTimeStamp Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods minBound :: ThirtyTwoBitTimeStamp Source # maxBound :: ThirtyTwoBitTimeStamp Source #
Enum ThirtyTwoBitTimeStamp Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

succ :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp Source #

pred :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp Source #

toEnum :: Int -> ThirtyTwoBitTimeStamp Source #

fromEnum :: ThirtyTwoBitTimeStamp -> Int Source #

enumFrom :: ThirtyTwoBitTimeStamp -> [ThirtyTwoBitTimeStamp] Source #

enumFromThen :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> [ThirtyTwoBitTimeStamp] Source #

enumFromTo :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> [ThirtyTwoBitTimeStamp] Source #

enumFromThenTo :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> [ThirtyTwoBitTimeStamp] Source #

Generic ThirtyTwoBitTimeStamp Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep ThirtyTwoBitTimeStamp :: Type -> Type Source # Methods from :: ThirtyTwoBitTimeStamp -> Rep ThirtyTwoBitTimeStamp x Source # to :: Rep ThirtyTwoBitTimeStamp x -> ThirtyTwoBitTimeStamp Source #
Num ThirtyTwoBitTimeStamp Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

(+) :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp Source #

(-) :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp Source #

(*) :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp Source #

negate :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp Source #

abs :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp Source #

signum :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp Source #

fromInteger :: Integer -> ThirtyTwoBitTimeStamp Source #

Integral ThirtyTwoBitTimeStamp Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

quot :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp Source #

rem :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp Source #

div :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp Source #

mod :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp Source #

quotRem :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> (ThirtyTwoBitTimeStamp, ThirtyTwoBitTimeStamp) Source #

divMod :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> (ThirtyTwoBitTimeStamp, ThirtyTwoBitTimeStamp) Source #

toInteger :: ThirtyTwoBitTimeStamp -> Integer Source #

Real ThirtyTwoBitTimeStamp Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toRational :: ThirtyTwoBitTimeStamp -> Rational Source #
Show ThirtyTwoBitTimeStamp Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> ThirtyTwoBitTimeStamp -> ShowS Source # show :: ThirtyTwoBitTimeStamp -> String Source # showList :: [ThirtyTwoBitTimeStamp] -> ShowS Source #
Eq ThirtyTwoBitTimeStamp Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> Bool Source # (/=) :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> Bool Source #
Ord ThirtyTwoBitTimeStamp Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> Ordering Source #

(<) :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> Bool Source #

(<=) :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> Bool Source #

(>) :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> Bool Source #

(>=) :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> Bool Source #

max :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp Source #

min :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp Source #

Hashable ThirtyTwoBitTimeStamp Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> ThirtyTwoBitTimeStamp -> Int Source # hash :: ThirtyTwoBitTimeStamp -> Int Source #
Wrapped ThirtyTwoBitTimeStamp Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Unwrapped ThirtyTwoBitTimeStamp Source # Methods _Wrapped' :: Iso' ThirtyTwoBitTimeStamp (Unwrapped ThirtyTwoBitTimeStamp) Source #
Pretty ThirtyTwoBitTimeStamp Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: ThirtyTwoBitTimeStamp -> Doc ann Source # prettyList :: [ThirtyTwoBitTimeStamp] -> Doc ann Source #
type Rep ThirtyTwoBitTimeStamp Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep ThirtyTwoBitTimeStamp = D1 ('MetaData "ThirtyTwoBitTimeStamp" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "ThirtyTwoBitTimeStamp" 'PrefixI 'True) (S1 ('MetaSel ('Just "unThirtyTwoBitTimeStamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32)))

type Unwrapped ThirtyTwoBitTimeStamp Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Unwrapped ThirtyTwoBitTimeStamp = GUnwrapped (Rep ThirtyTwoBitTimeStamp)

durU :: (Integral a, Show a) => a -> Maybe (String, a) Source #

newtype ThirtyTwoBitDuration Source #

Constructors

ThirtyTwoBitDuration |

Fields

- unThirtyTwoBitDuration :: Word32

#### Instances

Instances details

FromJSON ThirtyTwoBitDuration Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser ThirtyTwoBitDuration Source # parseJSONList :: Value -> Parser [ThirtyTwoBitDuration] Source #
ToJSON ThirtyTwoBitDuration Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: ThirtyTwoBitDuration -> Value Source # toEncoding :: ThirtyTwoBitDuration -> Encoding Source # toJSONList :: [ThirtyTwoBitDuration] -> Value Source # toEncodingList :: [ThirtyTwoBitDuration] -> Encoding Source #
Data ThirtyTwoBitDuration Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ThirtyTwoBitDuration -> c ThirtyTwoBitDuration Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ThirtyTwoBitDuration Source #

toConstr :: ThirtyTwoBitDuration -> Constr Source #

dataTypeOf :: ThirtyTwoBitDuration -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ThirtyTwoBitDuration) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ThirtyTwoBitDuration) Source #

gmapT :: (forall b. Data b => b -> b) -> ThirtyTwoBitDuration -> ThirtyTwoBitDuration Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ThirtyTwoBitDuration -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ThirtyTwoBitDuration -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> ThirtyTwoBitDuration -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ThirtyTwoBitDuration -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ThirtyTwoBitDuration -> m ThirtyTwoBitDuration Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ThirtyTwoBitDuration -> m ThirtyTwoBitDuration Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ThirtyTwoBitDuration -> m ThirtyTwoBitDuration Source #

Bounded ThirtyTwoBitDuration Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods minBound :: ThirtyTwoBitDuration Source # maxBound :: ThirtyTwoBitDuration Source #
Enum ThirtyTwoBitDuration Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

succ :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration Source #

pred :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration Source #

toEnum :: Int -> ThirtyTwoBitDuration Source #

fromEnum :: ThirtyTwoBitDuration -> Int Source #

enumFrom :: ThirtyTwoBitDuration -> [ThirtyTwoBitDuration] Source #

enumFromThen :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> [ThirtyTwoBitDuration] Source #

enumFromTo :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> [ThirtyTwoBitDuration] Source #

enumFromThenTo :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> [ThirtyTwoBitDuration] Source #

Generic ThirtyTwoBitDuration Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep ThirtyTwoBitDuration :: Type -> Type Source # Methods from :: ThirtyTwoBitDuration -> Rep ThirtyTwoBitDuration x Source # to :: Rep ThirtyTwoBitDuration x -> ThirtyTwoBitDuration Source #
Num ThirtyTwoBitDuration Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

(+) :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> ThirtyTwoBitDuration Source #

(-) :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> ThirtyTwoBitDuration Source #

(*) :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> ThirtyTwoBitDuration Source #

negate :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration Source #

abs :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration Source #

signum :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration Source #

fromInteger :: Integer -> ThirtyTwoBitDuration Source #

Integral ThirtyTwoBitDuration Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

quot :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> ThirtyTwoBitDuration Source #

rem :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> ThirtyTwoBitDuration Source #

div :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> ThirtyTwoBitDuration Source #

mod :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> ThirtyTwoBitDuration Source #

quotRem :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> (ThirtyTwoBitDuration, ThirtyTwoBitDuration) Source #

divMod :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> (ThirtyTwoBitDuration, ThirtyTwoBitDuration) Source #

toInteger :: ThirtyTwoBitDuration -> Integer Source #

Real ThirtyTwoBitDuration Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toRational :: ThirtyTwoBitDuration -> Rational Source #
Show ThirtyTwoBitDuration Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> ThirtyTwoBitDuration -> ShowS Source # show :: ThirtyTwoBitDuration -> String Source # showList :: [ThirtyTwoBitDuration] -> ShowS Source #
Eq ThirtyTwoBitDuration Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> Bool Source # (/=) :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> Bool Source #
Ord ThirtyTwoBitDuration Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> Ordering Source #

(<) :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> Bool Source #

(<=) :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> Bool Source #

(>) :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> Bool Source #

(>=) :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> Bool Source #

max :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> ThirtyTwoBitDuration Source #

min :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> ThirtyTwoBitDuration Source #

Hashable ThirtyTwoBitDuration Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> ThirtyTwoBitDuration -> Int Source # hash :: ThirtyTwoBitDuration -> Int Source #
Wrapped ThirtyTwoBitDuration Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Unwrapped ThirtyTwoBitDuration Source # Methods _Wrapped' :: Iso' ThirtyTwoBitDuration (Unwrapped ThirtyTwoBitDuration) Source #
Pretty ThirtyTwoBitDuration Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: ThirtyTwoBitDuration -> Doc ann Source # prettyList :: [ThirtyTwoBitDuration] -> Doc ann Source #
type Rep ThirtyTwoBitDuration Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep ThirtyTwoBitDuration = D1 ('MetaData "ThirtyTwoBitDuration" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "ThirtyTwoBitDuration" 'PrefixI 'True) (S1 ('MetaSel ('Just "unThirtyTwoBitDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32)))

type Unwrapped ThirtyTwoBitDuration Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Unwrapped ThirtyTwoBitDuration = GUnwrapped (Rep ThirtyTwoBitDuration)

data RevocationClass Source #

Constructors

SensitiveRK |
RClOther Word8 |

#### Instances

Instances details

FromJSON RevocationClass Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser RevocationClass Source # parseJSONList :: Value -> Parser [RevocationClass] Source #
ToJSON RevocationClass Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: RevocationClass -> Value Source # toEncoding :: RevocationClass -> Encoding Source # toJSONList :: [RevocationClass] -> Value Source # toEncodingList :: [RevocationClass] -> Encoding Source #
Data RevocationClass Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RevocationClass -> c RevocationClass Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RevocationClass Source #

toConstr :: RevocationClass -> Constr Source #

dataTypeOf :: RevocationClass -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RevocationClass) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RevocationClass) Source #

gmapT :: (forall b. Data b => b -> b) -> RevocationClass -> RevocationClass Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RevocationClass -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RevocationClass -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> RevocationClass -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RevocationClass -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RevocationClass -> m RevocationClass Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RevocationClass -> m RevocationClass Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RevocationClass -> m RevocationClass Source #

Generic RevocationClass Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep RevocationClass :: Type -> Type Source # Methods from :: RevocationClass -> Rep RevocationClass x Source # to :: Rep RevocationClass x -> RevocationClass Source #
Show RevocationClass Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> RevocationClass -> ShowS Source # show :: RevocationClass -> String Source # showList :: [RevocationClass] -> ShowS Source #
Eq RevocationClass Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: RevocationClass -> RevocationClass -> Bool Source # (/=) :: RevocationClass -> RevocationClass -> Bool Source #
Ord RevocationClass Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: RevocationClass -> RevocationClass -> Ordering Source #

(<) :: RevocationClass -> RevocationClass -> Bool Source #

(<=) :: RevocationClass -> RevocationClass -> Bool Source #

(>) :: RevocationClass -> RevocationClass -> Bool Source #

(>=) :: RevocationClass -> RevocationClass -> Bool Source #

max :: RevocationClass -> RevocationClass -> RevocationClass Source #

min :: RevocationClass -> RevocationClass -> RevocationClass Source #

FutureFlag RevocationClass Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFFlag :: RevocationClass -> Int Source # toFFlag :: Int -> RevocationClass Source #
Hashable RevocationClass Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> RevocationClass -> Int Source # hash :: RevocationClass -> Int Source #
Pretty RevocationClass Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: RevocationClass -> Doc ann Source # prettyList :: [RevocationClass] -> Doc ann Source #
type Rep RevocationClass Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep RevocationClass = D1 ('MetaData "RevocationClass" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) (C1 ('MetaCons "SensitiveRK" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RClOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8)))

data PubKeyAlgorithm Source #

Constructors

RSA |
DeprecatedRSAEncryptOnly |
DeprecatedRSASignOnly |
ElgamalEncryptOnly |
DSA |
ECDH |
ECDSA |
ForbiddenElgamal |
DH |
EdDSA |
OtherPKA Word8 |

#### Instances

Instances details

FromJSON PubKeyAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser PubKeyAlgorithm Source # parseJSONList :: Value -> Parser [PubKeyAlgorithm] Source #
ToJSON PubKeyAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: PubKeyAlgorithm -> Value Source # toEncoding :: PubKeyAlgorithm -> Encoding Source # toJSONList :: [PubKeyAlgorithm] -> Value Source # toEncodingList :: [PubKeyAlgorithm] -> Encoding Source #
Data PubKeyAlgorithm Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PubKeyAlgorithm -> c PubKeyAlgorithm Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PubKeyAlgorithm Source #

toConstr :: PubKeyAlgorithm -> Constr Source #

dataTypeOf :: PubKeyAlgorithm -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PubKeyAlgorithm) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PubKeyAlgorithm) Source #

gmapT :: (forall b. Data b => b -> b) -> PubKeyAlgorithm -> PubKeyAlgorithm Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PubKeyAlgorithm -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PubKeyAlgorithm -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> PubKeyAlgorithm -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PubKeyAlgorithm -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PubKeyAlgorithm -> m PubKeyAlgorithm Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PubKeyAlgorithm -> m PubKeyAlgorithm Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PubKeyAlgorithm -> m PubKeyAlgorithm Source #

Generic PubKeyAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep PubKeyAlgorithm :: Type -> Type Source # Methods from :: PubKeyAlgorithm -> Rep PubKeyAlgorithm x Source # to :: Rep PubKeyAlgorithm x -> PubKeyAlgorithm Source #
Show PubKeyAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> PubKeyAlgorithm -> ShowS Source # show :: PubKeyAlgorithm -> String Source # showList :: [PubKeyAlgorithm] -> ShowS Source #
Binary PubKeyAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: PubKeyAlgorithm -> Put Source # get :: Get PubKeyAlgorithm Source # putList :: [PubKeyAlgorithm] -> Put Source #
Eq PubKeyAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: PubKeyAlgorithm -> PubKeyAlgorithm -> Bool Source # (/=) :: PubKeyAlgorithm -> PubKeyAlgorithm -> Bool Source #
Ord PubKeyAlgorithm Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: PubKeyAlgorithm -> PubKeyAlgorithm -> Ordering Source #

(<) :: PubKeyAlgorithm -> PubKeyAlgorithm -> Bool Source #

(<=) :: PubKeyAlgorithm -> PubKeyAlgorithm -> Bool Source #

(>) :: PubKeyAlgorithm -> PubKeyAlgorithm -> Bool Source #

(>=) :: PubKeyAlgorithm -> PubKeyAlgorithm -> Bool Source #

max :: PubKeyAlgorithm -> PubKeyAlgorithm -> PubKeyAlgorithm Source #

min :: PubKeyAlgorithm -> PubKeyAlgorithm -> PubKeyAlgorithm Source #

FutureVal PubKeyAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: PubKeyAlgorithm -> Word8 Source # toFVal :: Word8 -> PubKeyAlgorithm Source #
Hashable PubKeyAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> PubKeyAlgorithm -> Int Source # hash :: PubKeyAlgorithm -> Int Source #
Pretty PubKeyAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: PubKeyAlgorithm -> Doc ann Source # prettyList :: [PubKeyAlgorithm] -> Doc ann Source #
type Rep PubKeyAlgorithm Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep PubKeyAlgorithm = D1 ('MetaData "PubKeyAlgorithm" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) (((C1 ('MetaCons "RSA" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DeprecatedRSAEncryptOnly" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DeprecatedRSASignOnly" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ElgamalEncryptOnly" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DSA" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "ECDH" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ECDSA" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ForbiddenElgamal" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "DH" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "EdDSA" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OtherPKA" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8))))))

newtype TwentyOctetFingerprint Source #

Constructors

TwentyOctetFingerprint |

Fields

- unTOF :: ByteString

#### Instances

Instances details

FromJSON TwentyOctetFingerprint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser TwentyOctetFingerprint Source # parseJSONList :: Value -> Parser [TwentyOctetFingerprint] Source #
ToJSON TwentyOctetFingerprint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: TwentyOctetFingerprint -> Value Source # toEncoding :: TwentyOctetFingerprint -> Encoding Source # toJSONList :: [TwentyOctetFingerprint] -> Value Source # toEncodingList :: [TwentyOctetFingerprint] -> Encoding Source #
Data TwentyOctetFingerprint Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TwentyOctetFingerprint -> c TwentyOctetFingerprint Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TwentyOctetFingerprint Source #

toConstr :: TwentyOctetFingerprint -> Constr Source #

dataTypeOf :: TwentyOctetFingerprint -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TwentyOctetFingerprint) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TwentyOctetFingerprint) Source #

gmapT :: (forall b. Data b => b -> b) -> TwentyOctetFingerprint -> TwentyOctetFingerprint Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TwentyOctetFingerprint -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TwentyOctetFingerprint -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> TwentyOctetFingerprint -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TwentyOctetFingerprint -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TwentyOctetFingerprint -> m TwentyOctetFingerprint Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TwentyOctetFingerprint -> m TwentyOctetFingerprint Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TwentyOctetFingerprint -> m TwentyOctetFingerprint Source #

Generic TwentyOctetFingerprint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep TwentyOctetFingerprint :: Type -> Type Source # Methods from :: TwentyOctetFingerprint -> Rep TwentyOctetFingerprint x Source # to :: Rep TwentyOctetFingerprint x -> TwentyOctetFingerprint Source #
Read TwentyOctetFingerprint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods readsPrec :: Int -> ReadS TwentyOctetFingerprint Source # readList :: ReadS [TwentyOctetFingerprint] Source # readPrec :: ReadPrec TwentyOctetFingerprint Source # readListPrec :: ReadPrec [TwentyOctetFingerprint] Source #
Show TwentyOctetFingerprint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> TwentyOctetFingerprint -> ShowS Source # show :: TwentyOctetFingerprint -> String Source # showList :: [TwentyOctetFingerprint] -> ShowS Source #
Eq TwentyOctetFingerprint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: TwentyOctetFingerprint -> TwentyOctetFingerprint -> Bool Source # (/=) :: TwentyOctetFingerprint -> TwentyOctetFingerprint -> Bool Source #
Ord TwentyOctetFingerprint Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: TwentyOctetFingerprint -> TwentyOctetFingerprint -> Ordering Source #

(<) :: TwentyOctetFingerprint -> TwentyOctetFingerprint -> Bool Source #

(<=) :: TwentyOctetFingerprint -> TwentyOctetFingerprint -> Bool Source #

(>) :: TwentyOctetFingerprint -> TwentyOctetFingerprint -> Bool Source #

(>=) :: TwentyOctetFingerprint -> TwentyOctetFingerprint -> Bool Source #

max :: TwentyOctetFingerprint -> TwentyOctetFingerprint -> TwentyOctetFingerprint Source #

min :: TwentyOctetFingerprint -> TwentyOctetFingerprint -> TwentyOctetFingerprint Source #

Hashable TwentyOctetFingerprint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> TwentyOctetFingerprint -> Int Source # hash :: TwentyOctetFingerprint -> Int Source #
Wrapped TwentyOctetFingerprint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Unwrapped TwentyOctetFingerprint Source # Methods _Wrapped' :: Iso' TwentyOctetFingerprint (Unwrapped TwentyOctetFingerprint) Source #
Pretty TwentyOctetFingerprint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: TwentyOctetFingerprint -> Doc ann Source # prettyList :: [TwentyOctetFingerprint] -> Doc ann Source #
Indexable KeyringIxs TK Source # |
Instance details Defined in Data.Conduit.OpenPGP.Keyring.Instances Methods indices :: IxList KeyringIxs TK Source #
type Rep TwentyOctetFingerprint Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep TwentyOctetFingerprint = D1 ('MetaData "TwentyOctetFingerprint" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "TwentyOctetFingerprint" 'PrefixI 'True) (S1 ('MetaSel ('Just "unTOF") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))

type Unwrapped TwentyOctetFingerprint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Unwrapped TwentyOctetFingerprint = GUnwrapped (Rep TwentyOctetFingerprint)

key :: String -> Key Source #

newtype SpacedFingerprint Source #

Constructors

SpacedFingerprint |

Fields

- unSpacedFingerprint :: TwentyOctetFingerprint

#### Instances

Instances details

Data SpacedFingerprint Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SpacedFingerprint -> c SpacedFingerprint Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SpacedFingerprint Source #

toConstr :: SpacedFingerprint -> Constr Source #

dataTypeOf :: SpacedFingerprint -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SpacedFingerprint) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SpacedFingerprint) Source #

gmapT :: (forall b. Data b => b -> b) -> SpacedFingerprint -> SpacedFingerprint Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SpacedFingerprint -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SpacedFingerprint -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SpacedFingerprint -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SpacedFingerprint -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SpacedFingerprint -> m SpacedFingerprint Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SpacedFingerprint -> m SpacedFingerprint Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SpacedFingerprint -> m SpacedFingerprint Source #

Generic SpacedFingerprint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep SpacedFingerprint :: Type -> Type Source # Methods from :: SpacedFingerprint -> Rep SpacedFingerprint x Source # to :: Rep SpacedFingerprint x -> SpacedFingerprint Source #
Show SpacedFingerprint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> SpacedFingerprint -> ShowS Source # show :: SpacedFingerprint -> String Source # showList :: [SpacedFingerprint] -> ShowS Source #
Eq SpacedFingerprint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: SpacedFingerprint -> SpacedFingerprint -> Bool Source # (/=) :: SpacedFingerprint -> SpacedFingerprint -> Bool Source #
Ord SpacedFingerprint Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: SpacedFingerprint -> SpacedFingerprint -> Ordering Source #

(<) :: SpacedFingerprint -> SpacedFingerprint -> Bool Source #

(<=) :: SpacedFingerprint -> SpacedFingerprint -> Bool Source #

(>) :: SpacedFingerprint -> SpacedFingerprint -> Bool Source #

(>=) :: SpacedFingerprint -> SpacedFingerprint -> Bool Source #

max :: SpacedFingerprint -> SpacedFingerprint -> SpacedFingerprint Source #

min :: SpacedFingerprint -> SpacedFingerprint -> SpacedFingerprint Source #

Wrapped SpacedFingerprint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Unwrapped SpacedFingerprint Source # Methods _Wrapped' :: Iso' SpacedFingerprint (Unwrapped SpacedFingerprint) Source #
Pretty SpacedFingerprint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: SpacedFingerprint -> Doc ann Source # prettyList :: [SpacedFingerprint] -> Doc ann Source #
type Rep SpacedFingerprint Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep SpacedFingerprint = D1 ('MetaData "SpacedFingerprint" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "SpacedFingerprint" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSpacedFingerprint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TwentyOctetFingerprint)))

type Unwrapped SpacedFingerprint Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Unwrapped SpacedFingerprint = GUnwrapped (Rep SpacedFingerprint)

bsToHexUpper :: ByteString -> String Source #

hexToW8s :: ReadS Word8 Source #

newtype EightOctetKeyId Source #

Constructors

EightOctetKeyId |

Fields

- unEOKI :: ByteString

#### Instances

Instances details

FromJSON EightOctetKeyId Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser EightOctetKeyId Source # parseJSONList :: Value -> Parser [EightOctetKeyId] Source #
ToJSON EightOctetKeyId Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: EightOctetKeyId -> Value Source # toEncoding :: EightOctetKeyId -> Encoding Source # toJSONList :: [EightOctetKeyId] -> Value Source # toEncodingList :: [EightOctetKeyId] -> Encoding Source #
Data EightOctetKeyId Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EightOctetKeyId -> c EightOctetKeyId Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EightOctetKeyId Source #

toConstr :: EightOctetKeyId -> Constr Source #

dataTypeOf :: EightOctetKeyId -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EightOctetKeyId) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EightOctetKeyId) Source #

gmapT :: (forall b. Data b => b -> b) -> EightOctetKeyId -> EightOctetKeyId Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EightOctetKeyId -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EightOctetKeyId -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> EightOctetKeyId -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EightOctetKeyId -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EightOctetKeyId -> m EightOctetKeyId Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EightOctetKeyId -> m EightOctetKeyId Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EightOctetKeyId -> m EightOctetKeyId Source #

Generic EightOctetKeyId Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep EightOctetKeyId :: Type -> Type Source # Methods from :: EightOctetKeyId -> Rep EightOctetKeyId x Source # to :: Rep EightOctetKeyId x -> EightOctetKeyId Source #
Read EightOctetKeyId Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods readsPrec :: Int -> ReadS EightOctetKeyId Source # readList :: ReadS [EightOctetKeyId] Source # readPrec :: ReadPrec EightOctetKeyId Source # readListPrec :: ReadPrec [EightOctetKeyId] Source #
Show EightOctetKeyId Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> EightOctetKeyId -> ShowS Source # show :: EightOctetKeyId -> String Source # showList :: [EightOctetKeyId] -> ShowS Source #
Eq EightOctetKeyId Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: EightOctetKeyId -> EightOctetKeyId -> Bool Source # (/=) :: EightOctetKeyId -> EightOctetKeyId -> Bool Source #
Ord EightOctetKeyId Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: EightOctetKeyId -> EightOctetKeyId -> Ordering Source #

(<) :: EightOctetKeyId -> EightOctetKeyId -> Bool Source #

(<=) :: EightOctetKeyId -> EightOctetKeyId -> Bool Source #

(>) :: EightOctetKeyId -> EightOctetKeyId -> Bool Source #

(>=) :: EightOctetKeyId -> EightOctetKeyId -> Bool Source #

max :: EightOctetKeyId -> EightOctetKeyId -> EightOctetKeyId Source #

min :: EightOctetKeyId -> EightOctetKeyId -> EightOctetKeyId Source #

Hashable EightOctetKeyId Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> EightOctetKeyId -> Int Source # hash :: EightOctetKeyId -> Int Source #
Wrapped EightOctetKeyId Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Unwrapped EightOctetKeyId Source # Methods _Wrapped' :: Iso' EightOctetKeyId (Unwrapped EightOctetKeyId) Source #
Pretty EightOctetKeyId Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: EightOctetKeyId -> Doc ann Source # prettyList :: [EightOctetKeyId] -> Doc ann Source #
Indexable KeyringIxs TK Source # |
Instance details Defined in Data.Conduit.OpenPGP.Keyring.Instances Methods indices :: IxList KeyringIxs TK Source #
type Rep EightOctetKeyId Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep EightOctetKeyId = D1 ('MetaData "EightOctetKeyId" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "EightOctetKeyId" 'PrefixI 'True) (S1 ('MetaSel ('Just "unEOKI") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))
type Unwrapped EightOctetKeyId Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Unwrapped EightOctetKeyId = GUnwrapped (Rep EightOctetKeyId)

newtype NotationName Source #

Constructors

NotationName |

Fields

- unNotationName :: ByteString

#### Instances

Instances details

FromJSON NotationName Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser NotationName Source # parseJSONList :: Value -> Parser [NotationName] Source #
ToJSON NotationName Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: NotationName -> Value Source # toEncoding :: NotationName -> Encoding Source # toJSONList :: [NotationName] -> Value Source # toEncodingList :: [NotationName] -> Encoding Source #
Data NotationName Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NotationName -> c NotationName Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NotationName Source #

toConstr :: NotationName -> Constr Source #

dataTypeOf :: NotationName -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NotationName) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NotationName) Source #

gmapT :: (forall b. Data b => b -> b) -> NotationName -> NotationName Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NotationName -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NotationName -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> NotationName -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NotationName -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NotationName -> m NotationName Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NotationName -> m NotationName Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NotationName -> m NotationName Source #

Generic NotationName Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep NotationName :: Type -> Type Source # Methods from :: NotationName -> Rep NotationName x Source # to :: Rep NotationName x -> NotationName Source #
Show NotationName Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> NotationName -> ShowS Source # show :: NotationName -> String Source # showList :: [NotationName] -> ShowS Source #
Eq NotationName Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: NotationName -> NotationName -> Bool Source # (/=) :: NotationName -> NotationName -> Bool Source #
Ord NotationName Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: NotationName -> NotationName -> Ordering Source #

(<) :: NotationName -> NotationName -> Bool Source #

(<=) :: NotationName -> NotationName -> Bool Source #

(>) :: NotationName -> NotationName -> Bool Source #

(>=) :: NotationName -> NotationName -> Bool Source #

max :: NotationName -> NotationName -> NotationName Source #

min :: NotationName -> NotationName -> NotationName Source #

Hashable NotationName Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> NotationName -> Int Source # hash :: NotationName -> Int Source #
Wrapped NotationName Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Unwrapped NotationName Source # Methods _Wrapped' :: Iso' NotationName (Unwrapped NotationName) Source #
Pretty NotationName Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: NotationName -> Doc ann Source # prettyList :: [NotationName] -> Doc ann Source #
type Rep NotationName Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep NotationName = D1 ('MetaData "NotationName" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "NotationName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unNotationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))
type Unwrapped NotationName Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Unwrapped NotationName = GUnwrapped (Rep NotationName)

newtype NotationValue Source #

Constructors

NotationValue |

Fields

- unNotationValue :: ByteString

#### Instances

Instances details

FromJSON NotationValue Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser NotationValue Source # parseJSONList :: Value -> Parser [NotationValue] Source #
ToJSON NotationValue Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: NotationValue -> Value Source # toEncoding :: NotationValue -> Encoding Source # toJSONList :: [NotationValue] -> Value Source # toEncodingList :: [NotationValue] -> Encoding Source #
Data NotationValue Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NotationValue -> c NotationValue Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NotationValue Source #

toConstr :: NotationValue -> Constr Source #

dataTypeOf :: NotationValue -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NotationValue) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NotationValue) Source #

gmapT :: (forall b. Data b => b -> b) -> NotationValue -> NotationValue Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NotationValue -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NotationValue -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> NotationValue -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NotationValue -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NotationValue -> m NotationValue Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NotationValue -> m NotationValue Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NotationValue -> m NotationValue Source #

Generic NotationValue Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep NotationValue :: Type -> Type Source # Methods from :: NotationValue -> Rep NotationValue x Source # to :: Rep NotationValue x -> NotationValue Source #
Show NotationValue Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> NotationValue -> ShowS Source # show :: NotationValue -> String Source # showList :: [NotationValue] -> ShowS Source #
Eq NotationValue Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: NotationValue -> NotationValue -> Bool Source # (/=) :: NotationValue -> NotationValue -> Bool Source #
Ord NotationValue Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: NotationValue -> NotationValue -> Ordering Source #

(<) :: NotationValue -> NotationValue -> Bool Source #

(<=) :: NotationValue -> NotationValue -> Bool Source #

(>) :: NotationValue -> NotationValue -> Bool Source #

(>=) :: NotationValue -> NotationValue -> Bool Source #

max :: NotationValue -> NotationValue -> NotationValue Source #

min :: NotationValue -> NotationValue -> NotationValue Source #

Hashable NotationValue Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> NotationValue -> Int Source # hash :: NotationValue -> Int Source #
Wrapped NotationValue Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Unwrapped NotationValue Source # Methods _Wrapped' :: Iso' NotationValue (Unwrapped NotationValue) Source #
Pretty NotationValue Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: NotationValue -> Doc ann Source # prettyList :: [NotationValue] -> Doc ann Source #
type Rep NotationValue Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep NotationValue = D1 ('MetaData "NotationValue" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "NotationValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "unNotationValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))
type Unwrapped NotationValue Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Unwrapped NotationValue = GUnwrapped (Rep NotationValue)

data HashAlgorithm Source #

Constructors

DeprecatedMD5 |
SHA1 |
RIPEMD160 |
SHA256 |
SHA384 |
SHA512 |
SHA224 |
OtherHA Word8 |

#### Instances

Instances details

FromJSON HashAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser HashAlgorithm Source # parseJSONList :: Value -> Parser [HashAlgorithm] Source #
ToJSON HashAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: HashAlgorithm -> Value Source # toEncoding :: HashAlgorithm -> Encoding Source # toJSONList :: [HashAlgorithm] -> Value Source # toEncodingList :: [HashAlgorithm] -> Encoding Source #
Data HashAlgorithm Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HashAlgorithm -> c HashAlgorithm Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HashAlgorithm Source #

toConstr :: HashAlgorithm -> Constr Source #

dataTypeOf :: HashAlgorithm -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c HashAlgorithm) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HashAlgorithm) Source #

gmapT :: (forall b. Data b => b -> b) -> HashAlgorithm -> HashAlgorithm Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HashAlgorithm -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HashAlgorithm -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> HashAlgorithm -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HashAlgorithm -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HashAlgorithm -> m HashAlgorithm Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HashAlgorithm -> m HashAlgorithm Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HashAlgorithm -> m HashAlgorithm Source #

Generic HashAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep HashAlgorithm :: Type -> Type Source # Methods from :: HashAlgorithm -> Rep HashAlgorithm x Source # to :: Rep HashAlgorithm x -> HashAlgorithm Source #
Show HashAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> HashAlgorithm -> ShowS Source # show :: HashAlgorithm -> String Source # showList :: [HashAlgorithm] -> ShowS Source #
Binary HashAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: HashAlgorithm -> Put Source # get :: Get HashAlgorithm Source # putList :: [HashAlgorithm] -> Put Source #
Eq HashAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: HashAlgorithm -> HashAlgorithm -> Bool Source # (/=) :: HashAlgorithm -> HashAlgorithm -> Bool Source #
Ord HashAlgorithm Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: HashAlgorithm -> HashAlgorithm -> Ordering Source #

(<) :: HashAlgorithm -> HashAlgorithm -> Bool Source #

(<=) :: HashAlgorithm -> HashAlgorithm -> Bool Source #

(>) :: HashAlgorithm -> HashAlgorithm -> Bool Source #

(>=) :: HashAlgorithm -> HashAlgorithm -> Bool Source #

max :: HashAlgorithm -> HashAlgorithm -> HashAlgorithm Source #

min :: HashAlgorithm -> HashAlgorithm -> HashAlgorithm Source #

FutureVal HashAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: HashAlgorithm -> Word8 Source # toFVal :: Word8 -> HashAlgorithm Source #
Hashable HashAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> HashAlgorithm -> Int Source # hash :: HashAlgorithm -> Int Source #
Pretty HashAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: HashAlgorithm -> Doc ann Source # prettyList :: [HashAlgorithm] -> Doc ann Source #
type Rep HashAlgorithm Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep HashAlgorithm = D1 ('MetaData "HashAlgorithm" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) (((C1 ('MetaCons "DeprecatedMD5" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SHA1" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "RIPEMD160" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SHA256" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "SHA384" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SHA512" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SHA224" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OtherHA" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8)))))

data CompressionAlgorithm Source #

Constructors

Uncompressed |
ZIP |
ZLIB |
BZip2 |
OtherCA Word8 |

#### Instances

Instances details

FromJSON CompressionAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser CompressionAlgorithm Source # parseJSONList :: Value -> Parser [CompressionAlgorithm] Source #
ToJSON CompressionAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: CompressionAlgorithm -> Value Source # toEncoding :: CompressionAlgorithm -> Encoding Source # toJSONList :: [CompressionAlgorithm] -> Value Source # toEncodingList :: [CompressionAlgorithm] -> Encoding Source #
Data CompressionAlgorithm Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CompressionAlgorithm -> c CompressionAlgorithm Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CompressionAlgorithm Source #

toConstr :: CompressionAlgorithm -> Constr Source #

dataTypeOf :: CompressionAlgorithm -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CompressionAlgorithm) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CompressionAlgorithm) Source #

gmapT :: (forall b. Data b => b -> b) -> CompressionAlgorithm -> CompressionAlgorithm Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CompressionAlgorithm -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CompressionAlgorithm -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> CompressionAlgorithm -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CompressionAlgorithm -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CompressionAlgorithm -> m CompressionAlgorithm Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CompressionAlgorithm -> m CompressionAlgorithm Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CompressionAlgorithm -> m CompressionAlgorithm Source #

Generic CompressionAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep CompressionAlgorithm :: Type -> Type Source # Methods from :: CompressionAlgorithm -> Rep CompressionAlgorithm x Source # to :: Rep CompressionAlgorithm x -> CompressionAlgorithm Source #
Show CompressionAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> CompressionAlgorithm -> ShowS Source # show :: CompressionAlgorithm -> String Source # showList :: [CompressionAlgorithm] -> ShowS Source #
Binary CompressionAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: CompressionAlgorithm -> Put Source # get :: Get CompressionAlgorithm Source # putList :: [CompressionAlgorithm] -> Put Source #
Eq CompressionAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: CompressionAlgorithm -> CompressionAlgorithm -> Bool Source # (/=) :: CompressionAlgorithm -> CompressionAlgorithm -> Bool Source #
Ord CompressionAlgorithm Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: CompressionAlgorithm -> CompressionAlgorithm -> Ordering Source #

(<) :: CompressionAlgorithm -> CompressionAlgorithm -> Bool Source #

(<=) :: CompressionAlgorithm -> CompressionAlgorithm -> Bool Source #

(>) :: CompressionAlgorithm -> CompressionAlgorithm -> Bool Source #

(>=) :: CompressionAlgorithm -> CompressionAlgorithm -> Bool Source #

max :: CompressionAlgorithm -> CompressionAlgorithm -> CompressionAlgorithm Source #

min :: CompressionAlgorithm -> CompressionAlgorithm -> CompressionAlgorithm Source #

FutureVal CompressionAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: CompressionAlgorithm -> Word8 Source # toFVal :: Word8 -> CompressionAlgorithm Source #
Hashable CompressionAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> CompressionAlgorithm -> Int Source # hash :: CompressionAlgorithm -> Int Source #
Pretty CompressionAlgorithm Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: CompressionAlgorithm -> Doc ann Source # prettyList :: [CompressionAlgorithm] -> Doc ann Source #
type Rep CompressionAlgorithm Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep CompressionAlgorithm = D1 ('MetaData "CompressionAlgorithm" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) ((C1 ('MetaCons "Uncompressed" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ZIP" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ZLIB" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BZip2" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OtherCA" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8)))))

data KSPFlag Source #

Constructors

NoModify |
KSPOther Int |

#### Instances

Instances details

FromJSON KSPFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser KSPFlag Source # parseJSONList :: Value -> Parser [KSPFlag] Source #
ToJSON KSPFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: KSPFlag -> Value Source # toEncoding :: KSPFlag -> Encoding Source # toJSONList :: [KSPFlag] -> Value Source # toEncodingList :: [KSPFlag] -> Encoding Source #
Data KSPFlag Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> KSPFlag -> c KSPFlag Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c KSPFlag Source #

toConstr :: KSPFlag -> Constr Source #

dataTypeOf :: KSPFlag -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c KSPFlag) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c KSPFlag) Source #

gmapT :: (forall b. Data b => b -> b) -> KSPFlag -> KSPFlag Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> KSPFlag -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> KSPFlag -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> KSPFlag -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> KSPFlag -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> KSPFlag -> m KSPFlag Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> KSPFlag -> m KSPFlag Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> KSPFlag -> m KSPFlag Source #

Generic KSPFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep KSPFlag :: Type -> Type Source # Methods from :: KSPFlag -> Rep KSPFlag x Source # to :: Rep KSPFlag x -> KSPFlag Source #
Show KSPFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> KSPFlag -> ShowS Source # show :: KSPFlag -> String Source # showList :: [KSPFlag] -> ShowS Source #
Eq KSPFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: KSPFlag -> KSPFlag -> Bool Source # (/=) :: KSPFlag -> KSPFlag -> Bool Source #
Ord KSPFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods compare :: KSPFlag -> KSPFlag -> Ordering Source # (<) :: KSPFlag -> KSPFlag -> Bool Source # (<=) :: KSPFlag -> KSPFlag -> Bool Source # (>) :: KSPFlag -> KSPFlag -> Bool Source # (>=) :: KSPFlag -> KSPFlag -> Bool Source # max :: KSPFlag -> KSPFlag -> KSPFlag Source # min :: KSPFlag -> KSPFlag -> KSPFlag Source #
FutureFlag KSPFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFFlag :: KSPFlag -> Int Source # toFFlag :: Int -> KSPFlag Source #
Hashable KSPFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> KSPFlag -> Int Source # hash :: KSPFlag -> Int Source #
Pretty KSPFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: KSPFlag -> Doc ann Source # prettyList :: [KSPFlag] -> Doc ann Source #
type Rep KSPFlag Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep KSPFlag = D1 ('MetaData "KSPFlag" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) (C1 ('MetaCons "NoModify" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "KSPOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

data KeyFlag Source #

Constructors

GroupKey |
AuthKey |
SplitKey |
EncryptStorageKey |
EncryptCommunicationsKey |
SignDataKey |
CertifyKeysKey |
KFOther Int |

#### Instances

Instances details

FromJSON KeyFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser KeyFlag Source # parseJSONList :: Value -> Parser [KeyFlag] Source #
ToJSON KeyFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: KeyFlag -> Value Source # toEncoding :: KeyFlag -> Encoding Source # toJSONList :: [KeyFlag] -> Value Source # toEncodingList :: [KeyFlag] -> Encoding Source #
Data KeyFlag Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> KeyFlag -> c KeyFlag Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c KeyFlag Source #

toConstr :: KeyFlag -> Constr Source #

dataTypeOf :: KeyFlag -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c KeyFlag) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c KeyFlag) Source #

gmapT :: (forall b. Data b => b -> b) -> KeyFlag -> KeyFlag Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> KeyFlag -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> KeyFlag -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> KeyFlag -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> KeyFlag -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> KeyFlag -> m KeyFlag Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyFlag -> m KeyFlag Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyFlag -> m KeyFlag Source #

Generic KeyFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep KeyFlag :: Type -> Type Source # Methods from :: KeyFlag -> Rep KeyFlag x Source # to :: Rep KeyFlag x -> KeyFlag Source #
Show KeyFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> KeyFlag -> ShowS Source # show :: KeyFlag -> String Source # showList :: [KeyFlag] -> ShowS Source #
Eq KeyFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: KeyFlag -> KeyFlag -> Bool Source # (/=) :: KeyFlag -> KeyFlag -> Bool Source #
Ord KeyFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods compare :: KeyFlag -> KeyFlag -> Ordering Source # (<) :: KeyFlag -> KeyFlag -> Bool Source # (<=) :: KeyFlag -> KeyFlag -> Bool Source # (>) :: KeyFlag -> KeyFlag -> Bool Source # (>=) :: KeyFlag -> KeyFlag -> Bool Source # max :: KeyFlag -> KeyFlag -> KeyFlag Source # min :: KeyFlag -> KeyFlag -> KeyFlag Source #
FutureFlag KeyFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFFlag :: KeyFlag -> Int Source # toFFlag :: Int -> KeyFlag Source #
Hashable KeyFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> KeyFlag -> Int Source # hash :: KeyFlag -> Int Source #
Pretty KeyFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: KeyFlag -> Doc ann Source # prettyList :: [KeyFlag] -> Doc ann Source #
type Rep KeyFlag Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep KeyFlag = D1 ('MetaData "KeyFlag" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) (((C1 ('MetaCons "GroupKey" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AuthKey" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SplitKey" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EncryptStorageKey" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "EncryptCommunicationsKey" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SignDataKey" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CertifyKeysKey" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "KFOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))))

data RevocationCode Source #

Constructors

NoReason |
KeySuperseded |
KeyMaterialCompromised |
KeyRetiredAndNoLongerUsed |
UserIdInfoNoLongerValid |
RCoOther Word8 |

#### Instances

Instances details

FromJSON RevocationCode Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser RevocationCode Source # parseJSONList :: Value -> Parser [RevocationCode] Source #
ToJSON RevocationCode Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: RevocationCode -> Value Source # toEncoding :: RevocationCode -> Encoding Source # toJSONList :: [RevocationCode] -> Value Source # toEncodingList :: [RevocationCode] -> Encoding Source #
Data RevocationCode Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RevocationCode -> c RevocationCode Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RevocationCode Source #

toConstr :: RevocationCode -> Constr Source #

dataTypeOf :: RevocationCode -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RevocationCode) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RevocationCode) Source #

gmapT :: (forall b. Data b => b -> b) -> RevocationCode -> RevocationCode Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RevocationCode -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RevocationCode -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> RevocationCode -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RevocationCode -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RevocationCode -> m RevocationCode Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RevocationCode -> m RevocationCode Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RevocationCode -> m RevocationCode Source #

Generic RevocationCode Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep RevocationCode :: Type -> Type Source # Methods from :: RevocationCode -> Rep RevocationCode x Source # to :: Rep RevocationCode x -> RevocationCode Source #
Show RevocationCode Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> RevocationCode -> ShowS Source # show :: RevocationCode -> String Source # showList :: [RevocationCode] -> ShowS Source #
Eq RevocationCode Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: RevocationCode -> RevocationCode -> Bool Source # (/=) :: RevocationCode -> RevocationCode -> Bool Source #
Ord RevocationCode Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: RevocationCode -> RevocationCode -> Ordering Source #

(<) :: RevocationCode -> RevocationCode -> Bool Source #

(<=) :: RevocationCode -> RevocationCode -> Bool Source #

(>) :: RevocationCode -> RevocationCode -> Bool Source #

(>=) :: RevocationCode -> RevocationCode -> Bool Source #

max :: RevocationCode -> RevocationCode -> RevocationCode Source #

min :: RevocationCode -> RevocationCode -> RevocationCode Source #

FutureVal RevocationCode Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: RevocationCode -> Word8 Source # toFVal :: Word8 -> RevocationCode Source #
Hashable RevocationCode Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> RevocationCode -> Int Source # hash :: RevocationCode -> Int Source #
Pretty RevocationCode Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: RevocationCode -> Doc ann Source # prettyList :: [RevocationCode] -> Doc ann Source #
type Rep RevocationCode Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep RevocationCode = D1 ('MetaData "RevocationCode" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) ((C1 ('MetaCons "NoReason" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "KeySuperseded" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "KeyMaterialCompromised" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "KeyRetiredAndNoLongerUsed" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UserIdInfoNoLongerValid" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RCoOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8)))))

data FeatureFlag Source #

Constructors

ModificationDetection |
FeatureOther Int |

#### Instances

Instances details

FromJSON FeatureFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser FeatureFlag Source # parseJSONList :: Value -> Parser [FeatureFlag] Source #
ToJSON FeatureFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: FeatureFlag -> Value Source # toEncoding :: FeatureFlag -> Encoding Source # toJSONList :: [FeatureFlag] -> Value Source # toEncodingList :: [FeatureFlag] -> Encoding Source #
Data FeatureFlag Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FeatureFlag -> c FeatureFlag Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FeatureFlag Source #

toConstr :: FeatureFlag -> Constr Source #

dataTypeOf :: FeatureFlag -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FeatureFlag) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FeatureFlag) Source #

gmapT :: (forall b. Data b => b -> b) -> FeatureFlag -> FeatureFlag Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FeatureFlag -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FeatureFlag -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> FeatureFlag -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FeatureFlag -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FeatureFlag -> m FeatureFlag Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FeatureFlag -> m FeatureFlag Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FeatureFlag -> m FeatureFlag Source #

Generic FeatureFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep FeatureFlag :: Type -> Type Source # Methods from :: FeatureFlag -> Rep FeatureFlag x Source # to :: Rep FeatureFlag x -> FeatureFlag Source #
Show FeatureFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> FeatureFlag -> ShowS Source # show :: FeatureFlag -> String Source # showList :: [FeatureFlag] -> ShowS Source #
Eq FeatureFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: FeatureFlag -> FeatureFlag -> Bool Source # (/=) :: FeatureFlag -> FeatureFlag -> Bool Source #
Ord FeatureFlag Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: FeatureFlag -> FeatureFlag -> Ordering Source #

(<) :: FeatureFlag -> FeatureFlag -> Bool Source #

(<=) :: FeatureFlag -> FeatureFlag -> Bool Source #

(>) :: FeatureFlag -> FeatureFlag -> Bool Source #

(>=) :: FeatureFlag -> FeatureFlag -> Bool Source #

max :: FeatureFlag -> FeatureFlag -> FeatureFlag Source #

min :: FeatureFlag -> FeatureFlag -> FeatureFlag Source #

FutureFlag FeatureFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFFlag :: FeatureFlag -> Int Source # toFFlag :: Int -> FeatureFlag Source #
Hashable FeatureFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> FeatureFlag -> Int Source # hash :: FeatureFlag -> Int Source #
Pretty FeatureFlag Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: FeatureFlag -> Doc ann Source # prettyList :: [FeatureFlag] -> Doc ann Source #
type Rep FeatureFlag Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep FeatureFlag = D1 ('MetaData "FeatureFlag" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) (C1 ('MetaCons "ModificationDetection" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FeatureOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

newtype URL Source #

Constructors

URL |

Fields

- unURL :: URI

#### Instances

Instances details

FromJSON URL Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser URL Source # parseJSONList :: Value -> Parser [URL] Source #
ToJSON URL Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: URL -> Value Source # toEncoding :: URL -> Encoding Source # toJSONList :: [URL] -> Value Source # toEncodingList :: [URL] -> Encoding Source #
Data URL Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> URL -> c URL Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c URL Source #

toConstr :: URL -> Constr Source #

dataTypeOf :: URL -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c URL) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c URL) Source #

gmapT :: (forall b. Data b => b -> b) -> URL -> URL Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> URL -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> URL -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> URL -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> URL -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> URL -> m URL Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> URL -> m URL Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> URL -> m URL Source #

Generic URL Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep URL :: Type -> Type Source # Methods from :: URL -> Rep URL x Source # to :: Rep URL x -> URL Source #
Show URL Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> URL -> ShowS Source # show :: URL -> String Source # showList :: [URL] -> ShowS Source #
Eq URL Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: URL -> URL -> Bool Source # (/=) :: URL -> URL -> Bool Source #
Ord URL Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods compare :: URL -> URL -> Ordering Source # (<) :: URL -> URL -> Bool Source # (<=) :: URL -> URL -> Bool Source # (>) :: URL -> URL -> Bool Source # (>=) :: URL -> URL -> Bool Source # max :: URL -> URL -> URL Source # min :: URL -> URL -> URL Source #
Hashable URL Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> URL -> Int Source # hash :: URL -> Int Source #
Wrapped URL Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Unwrapped URL Source # Methods _Wrapped' :: Iso' URL (Unwrapped URL) Source #
Pretty URL Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: URL -> Doc ann Source # prettyList :: [URL] -> Doc ann Source #
type Rep URL Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep URL = D1 ('MetaData "URL" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "URL" 'PrefixI 'True) (S1 ('MetaSel ('Just "unURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URI)))
type Unwrapped URL Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Unwrapped URL = GUnwrapped (Rep URL)

data SigType Source #

Constructors

BinarySig |
CanonicalTextSig |
StandaloneSig |
GenericCert |
PersonaCert |
CasualCert |
PositiveCert |
SubkeyBindingSig |
PrimaryKeyBindingSig |
SignatureDirectlyOnAKey |
KeyRevocationSig |
SubkeyRevocationSig |
CertRevocationSig |
TimestampSig |
ThirdPartyConfirmationSig |
OtherSig Word8 |

#### Instances

Instances details

FromJSON SigType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser SigType Source # parseJSONList :: Value -> Parser [SigType] Source #
ToJSON SigType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: SigType -> Value Source # toEncoding :: SigType -> Encoding Source # toJSONList :: [SigType] -> Value Source # toEncodingList :: [SigType] -> Encoding Source #
Data SigType Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SigType -> c SigType Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SigType Source #

toConstr :: SigType -> Constr Source #

dataTypeOf :: SigType -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SigType) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SigType) Source #

gmapT :: (forall b. Data b => b -> b) -> SigType -> SigType Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SigType -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SigType -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SigType -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SigType -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SigType -> m SigType Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SigType -> m SigType Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SigType -> m SigType Source #

Generic SigType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep SigType :: Type -> Type Source # Methods from :: SigType -> Rep SigType x Source # to :: Rep SigType x -> SigType Source #
Show SigType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> SigType -> ShowS Source # show :: SigType -> String Source # showList :: [SigType] -> ShowS Source #
Binary SigType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: SigType -> Put Source # get :: Get SigType Source # putList :: [SigType] -> Put Source #
Eq SigType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: SigType -> SigType -> Bool Source # (/=) :: SigType -> SigType -> Bool Source #
Ord SigType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods compare :: SigType -> SigType -> Ordering Source # (<) :: SigType -> SigType -> Bool Source # (<=) :: SigType -> SigType -> Bool Source # (>) :: SigType -> SigType -> Bool Source # (>=) :: SigType -> SigType -> Bool Source # max :: SigType -> SigType -> SigType Source # min :: SigType -> SigType -> SigType Source #
FutureVal SigType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: SigType -> Word8 Source # toFVal :: Word8 -> SigType Source #
Hashable SigType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> SigType -> Int Source # hash :: SigType -> Int Source #
Pretty SigType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: SigType -> Doc ann Source # prettyList :: [SigType] -> Doc ann Source #
type Rep SigType Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep SigType = D1 ('MetaData "SigType" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) ((((C1 ('MetaCons "BinarySig" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CanonicalTextSig" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "StandaloneSig" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GenericCert" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "PersonaCert" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CasualCert" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PositiveCert" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SubkeyBindingSig" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "PrimaryKeyBindingSig" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SignatureDirectlyOnAKey" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "KeyRevocationSig" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SubkeyRevocationSig" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "CertRevocationSig" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TimestampSig" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ThirdPartyConfirmationSig" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OtherSig" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8))))))

newtype MPI Source #

Constructors

MPI |

Fields

- unMPI :: Integer

#### Instances

Instances details

FromJSON MPI Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser MPI Source # parseJSONList :: Value -> Parser [MPI] Source #
ToJSON MPI Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: MPI -> Value Source # toEncoding :: MPI -> Encoding Source # toJSONList :: [MPI] -> Value Source # toEncodingList :: [MPI] -> Encoding Source #
Data MPI Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MPI -> c MPI Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MPI Source #

toConstr :: MPI -> Constr Source #

dataTypeOf :: MPI -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MPI) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MPI) Source #

gmapT :: (forall b. Data b => b -> b) -> MPI -> MPI Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MPI -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MPI -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> MPI -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MPI -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MPI -> m MPI Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MPI -> m MPI Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MPI -> m MPI Source #

Generic MPI Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep MPI :: Type -> Type Source # Methods from :: MPI -> Rep MPI x Source # to :: Rep MPI x -> MPI Source #
Show MPI Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> MPI -> ShowS Source # show :: MPI -> String Source # showList :: [MPI] -> ShowS Source #
Binary MPI Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: MPI -> Put Source # get :: Get MPI Source # putList :: [MPI] -> Put Source #
Eq MPI Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: MPI -> MPI -> Bool Source # (/=) :: MPI -> MPI -> Bool Source #
Hashable MPI Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> MPI -> Int Source # hash :: MPI -> Int Source #
Wrapped MPI Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Unwrapped MPI Source # Methods _Wrapped' :: Iso' MPI (Unwrapped MPI) Source #
Pretty MPI Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: MPI -> Doc ann Source # prettyList :: [MPI] -> Doc ann Source #
type Rep MPI Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep MPI = D1 ('MetaData "MPI" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "MPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "unMPI") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))
type Unwrapped MPI Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Unwrapped MPI = GUnwrapped (Rep MPI)

data SignaturePayload Source #

Constructors

SigV3 SigType ThirtyTwoBitTimeStamp EightOctetKeyId PubKeyAlgorithm HashAlgorithm Word16 (NonEmpty MPI) |
SigV4 SigType PubKeyAlgorithm HashAlgorithm [SigSubPacket] [SigSubPacket] Word16 (NonEmpty MPI) |
SigVOther Word8 ByteString |

#### Instances

Instances details

ToJSON SignaturePayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: SignaturePayload -> Value Source # toEncoding :: SignaturePayload -> Encoding Source # toJSONList :: [SignaturePayload] -> Value Source # toEncodingList :: [SignaturePayload] -> Encoding Source #
Data SignaturePayload Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SignaturePayload -> c SignaturePayload Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SignaturePayload Source #

toConstr :: SignaturePayload -> Constr Source #

dataTypeOf :: SignaturePayload -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SignaturePayload) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SignaturePayload) Source #

gmapT :: (forall b. Data b => b -> b) -> SignaturePayload -> SignaturePayload Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SignaturePayload -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SignaturePayload -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SignaturePayload -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SignaturePayload -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SignaturePayload -> m SignaturePayload Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SignaturePayload -> m SignaturePayload Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SignaturePayload -> m SignaturePayload Source #

Generic SignaturePayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep SignaturePayload :: Type -> Type Source # Methods from :: SignaturePayload -> Rep SignaturePayload x Source # to :: Rep SignaturePayload x -> SignaturePayload Source #
Show SignaturePayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> SignaturePayload -> ShowS Source # show :: SignaturePayload -> String Source # showList :: [SignaturePayload] -> ShowS Source #
Binary SignaturePayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: SignaturePayload -> Put Source # get :: Get SignaturePayload Source # putList :: [SignaturePayload] -> Put Source #
Eq SignaturePayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: SignaturePayload -> SignaturePayload -> Bool Source # (/=) :: SignaturePayload -> SignaturePayload -> Bool Source #
Ord SignaturePayload Source # |

Instance details

Defined in Data.Conduit.OpenPGP.Keyring.Instances

Methods

compare :: SignaturePayload -> SignaturePayload -> Ordering Source #

(<) :: SignaturePayload -> SignaturePayload -> Bool Source #

(<=) :: SignaturePayload -> SignaturePayload -> Bool Source #

(>) :: SignaturePayload -> SignaturePayload -> Bool Source #

(>=) :: SignaturePayload -> SignaturePayload -> Bool Source #

max :: SignaturePayload -> SignaturePayload -> SignaturePayload Source #

min :: SignaturePayload -> SignaturePayload -> SignaturePayload Source #

Hashable SignaturePayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> SignaturePayload -> Int Source # hash :: SignaturePayload -> Int Source #
Pretty SignaturePayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: SignaturePayload -> Doc ann Source # prettyList :: [SignaturePayload] -> Doc ann Source #
type Rep SignaturePayload Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep SignaturePayload = D1 ('MetaData "SignaturePayload" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) (C1 ('MetaCons "SigV3" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SigType) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ThirtyTwoBitTimeStamp) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EightOctetKeyId))) :*: ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PubKeyAlgorithm) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HashAlgorithm)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word16) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty MPI))))) :+: (C1 ('MetaCons "SigV4" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SigType) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PubKeyAlgorithm) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HashAlgorithm))) :*: ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SigSubPacket]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SigSubPacket])) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word16) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty MPI))))) :+: C1 ('MetaCons "SigVOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))))

data SigSubPacketPayload Source #

Constructors

SigCreationTime ThirtyTwoBitTimeStamp |
SigExpirationTime ThirtyTwoBitDuration |
ExportableCertification Exportability |
TrustSignature TrustLevel TrustAmount |
RegularExpression AlmostPublicDomainRegex |
Revocable Revocability |
KeyExpirationTime ThirtyTwoBitDuration |
PreferredSymmetricAlgorithms [SymmetricAlgorithm] |
RevocationKey (Set RevocationClass) PubKeyAlgorithm TwentyOctetFingerprint |
Issuer EightOctetKeyId |
NotationData (Set NotationFlag) NotationName NotationValue |
PreferredHashAlgorithms [HashAlgorithm] |
PreferredCompressionAlgorithms [CompressionAlgorithm] |
KeyServerPreferences (Set KSPFlag) |
PreferredKeyServer KeyServer |
PrimaryUserId Bool |
PolicyURL URL |
KeyFlags (Set KeyFlag) |
SignersUserId Text |
ReasonForRevocation RevocationCode RevocationReason |
Features (Set FeatureFlag) |
SignatureTarget PubKeyAlgorithm HashAlgorithm SignatureHash |
EmbeddedSignature SignaturePayload |
IssuerFingerprint Word8 TwentyOctetFingerprint |
UserDefinedSigSub Word8 ByteString |
OtherSigSub Word8 ByteString |

#### Instances

Instances details

FromJSON SigSubPacketPayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser SigSubPacketPayload Source # parseJSONList :: Value -> Parser [SigSubPacketPayload] Source #
ToJSON SigSubPacketPayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: SigSubPacketPayload -> Value Source # toEncoding :: SigSubPacketPayload -> Encoding Source # toJSONList :: [SigSubPacketPayload] -> Value Source # toEncodingList :: [SigSubPacketPayload] -> Encoding Source #
Data SigSubPacketPayload Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SigSubPacketPayload -> c SigSubPacketPayload Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SigSubPacketPayload Source #

toConstr :: SigSubPacketPayload -> Constr Source #

dataTypeOf :: SigSubPacketPayload -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SigSubPacketPayload) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SigSubPacketPayload) Source #

gmapT :: (forall b. Data b => b -> b) -> SigSubPacketPayload -> SigSubPacketPayload Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SigSubPacketPayload -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SigSubPacketPayload -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SigSubPacketPayload -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SigSubPacketPayload -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SigSubPacketPayload -> m SigSubPacketPayload Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SigSubPacketPayload -> m SigSubPacketPayload Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SigSubPacketPayload -> m SigSubPacketPayload Source #

Generic SigSubPacketPayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep SigSubPacketPayload :: Type -> Type Source # Methods from :: SigSubPacketPayload -> Rep SigSubPacketPayload x Source # to :: Rep SigSubPacketPayload x -> SigSubPacketPayload Source #
Show SigSubPacketPayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> SigSubPacketPayload -> ShowS Source # show :: SigSubPacketPayload -> String Source # showList :: [SigSubPacketPayload] -> ShowS Source #
Eq SigSubPacketPayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: SigSubPacketPayload -> SigSubPacketPayload -> Bool Source # (/=) :: SigSubPacketPayload -> SigSubPacketPayload -> Bool Source #
Hashable SigSubPacketPayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> SigSubPacketPayload -> Int Source # hash :: SigSubPacketPayload -> Int Source #
Pretty SigSubPacketPayload Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: SigSubPacketPayload -> Doc ann Source # prettyList :: [SigSubPacketPayload] -> Doc ann Source #
type Rep SigSubPacketPayload Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep SigSubPacketPayload = D1 ('MetaData "SigSubPacketPayload" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) ((((C1 ('MetaCons "SigCreationTime" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ThirtyTwoBitTimeStamp)) :+: (C1 ('MetaCons "SigExpirationTime" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ThirtyTwoBitDuration)) :+: C1 ('MetaCons "ExportableCertification" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Exportability)))) :+: (C1 ('MetaCons "TrustSignature" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TrustLevel) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TrustAmount)) :+: (C1 ('MetaCons "RegularExpression" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AlmostPublicDomainRegex)) :+: C1 ('MetaCons "Revocable" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Revocability))))) :+: ((C1 ('MetaCons "KeyExpirationTime" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ThirtyTwoBitDuration)) :+: (C1 ('MetaCons "PreferredSymmetricAlgorithms" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SymmetricAlgorithm])) :+: C1 ('MetaCons "RevocationKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set RevocationClass)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PubKeyAlgorithm) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TwentyOctetFingerprint))))) :+: ((C1 ('MetaCons "Issuer" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EightOctetKeyId)) :+: C1 ('MetaCons "NotationData" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set NotationFlag)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NotationName) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NotationValue)))) :+: (C1 ('MetaCons "PreferredHashAlgorithms" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [HashAlgorithm])) :+: C1 ('MetaCons "PreferredCompressionAlgorithms" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CompressionAlgorithm])))))) :+: (((C1 ('MetaCons "KeyServerPreferences" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set KSPFlag))) :+: (C1 ('MetaCons "PreferredKeyServer" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 KeyServer)) :+: C1 ('MetaCons "PrimaryUserId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :+: (C1 ('MetaCons "PolicyURL" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URL)) :+: (C1 ('MetaCons "KeyFlags" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set KeyFlag))) :+: C1 ('MetaCons "SignersUserId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))) :+: ((C1 ('MetaCons "ReasonForRevocation" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RevocationCode) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RevocationReason)) :+: (C1 ('MetaCons "Features" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set FeatureFlag))) :+: C1 ('MetaCons "SignatureTarget" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PubKeyAlgorithm) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HashAlgorithm) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SignatureHash))))) :+: ((C1 ('MetaCons "EmbeddedSignature" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SignaturePayload)) :+: C1 ('MetaCons "IssuerFingerprint" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TwentyOctetFingerprint))) :+: (C1 ('MetaCons "UserDefinedSigSub" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)) :+: C1 ('MetaCons "OtherSigSub" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))))))

uc3 :: (a -> b -> c -> d) -> (a, b, c) -> d Source #

data SigSubPacket Source #

Constructors

SigSubPacket |

Fields

- _sspCriticality :: Bool
- _sspPayload :: SigSubPacketPayload

#### Instances

Instances details

FromJSON SigSubPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser SigSubPacket Source # parseJSONList :: Value -> Parser [SigSubPacket] Source #
ToJSON SigSubPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: SigSubPacket -> Value Source # toEncoding :: SigSubPacket -> Encoding Source # toJSONList :: [SigSubPacket] -> Value Source # toEncodingList :: [SigSubPacket] -> Encoding Source #
Data SigSubPacket Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SigSubPacket -> c SigSubPacket Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SigSubPacket Source #

toConstr :: SigSubPacket -> Constr Source #

dataTypeOf :: SigSubPacket -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SigSubPacket) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SigSubPacket) Source #

gmapT :: (forall b. Data b => b -> b) -> SigSubPacket -> SigSubPacket Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SigSubPacket -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SigSubPacket -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> SigSubPacket -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SigSubPacket -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SigSubPacket -> m SigSubPacket Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SigSubPacket -> m SigSubPacket Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SigSubPacket -> m SigSubPacket Source #

Generic SigSubPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep SigSubPacket :: Type -> Type Source # Methods from :: SigSubPacket -> Rep SigSubPacket x Source # to :: Rep SigSubPacket x -> SigSubPacket Source #
Show SigSubPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> SigSubPacket -> ShowS Source # show :: SigSubPacket -> String Source # showList :: [SigSubPacket] -> ShowS Source #
Binary SigSubPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: SigSubPacket -> Put Source # get :: Get SigSubPacket Source # putList :: [SigSubPacket] -> Put Source #
Eq SigSubPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: SigSubPacket -> SigSubPacket -> Bool Source # (/=) :: SigSubPacket -> SigSubPacket -> Bool Source #
Hashable SigSubPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> SigSubPacket -> Int Source # hash :: SigSubPacket -> Int Source #
Pretty SigSubPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: SigSubPacket -> Doc ann Source # prettyList :: [SigSubPacket] -> Doc ann Source #
type Rep SigSubPacket Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep SigSubPacket = D1 ('MetaData "SigSubPacket" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) (C1 ('MetaCons "SigSubPacket" 'PrefixI 'True) (S1 ('MetaSel ('Just "_sspCriticality") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_sspPayload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SigSubPacketPayload)))

sspPayload :: Lens' SigSubPacket SigSubPacketPayload Source #

sspCriticality :: Lens' SigSubPacket Bool Source #

data KeyVersion Source #

Constructors

DeprecatedV3 |
V4 |

#### Instances

Instances details

FromJSON KeyVersion Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser KeyVersion Source # parseJSONList :: Value -> Parser [KeyVersion] Source #
ToJSON KeyVersion Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: KeyVersion -> Value Source # toEncoding :: KeyVersion -> Encoding Source # toJSONList :: [KeyVersion] -> Value Source # toEncodingList :: [KeyVersion] -> Encoding Source #
Data KeyVersion Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> KeyVersion -> c KeyVersion Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c KeyVersion Source #

toConstr :: KeyVersion -> Constr Source #

dataTypeOf :: KeyVersion -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c KeyVersion) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c KeyVersion) Source #

gmapT :: (forall b. Data b => b -> b) -> KeyVersion -> KeyVersion Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> KeyVersion -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> KeyVersion -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> KeyVersion -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> KeyVersion -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> KeyVersion -> m KeyVersion Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyVersion -> m KeyVersion Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyVersion -> m KeyVersion Source #

Generic KeyVersion Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep KeyVersion :: Type -> Type Source # Methods from :: KeyVersion -> Rep KeyVersion x Source # to :: Rep KeyVersion x -> KeyVersion Source #
Show KeyVersion Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> KeyVersion -> ShowS Source # show :: KeyVersion -> String Source # showList :: [KeyVersion] -> ShowS Source #
Eq KeyVersion Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: KeyVersion -> KeyVersion -> Bool Source # (/=) :: KeyVersion -> KeyVersion -> Bool Source #
Ord KeyVersion Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: KeyVersion -> KeyVersion -> Ordering Source #

(<) :: KeyVersion -> KeyVersion -> Bool Source #

(<=) :: KeyVersion -> KeyVersion -> Bool Source #

(>) :: KeyVersion -> KeyVersion -> Bool Source #

(>=) :: KeyVersion -> KeyVersion -> Bool Source #

max :: KeyVersion -> KeyVersion -> KeyVersion Source #

min :: KeyVersion -> KeyVersion -> KeyVersion Source #

Hashable KeyVersion Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> KeyVersion -> Int Source # hash :: KeyVersion -> Int Source #
Pretty KeyVersion Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: KeyVersion -> Doc ann Source # prettyList :: [KeyVersion] -> Doc ann Source #
type Rep KeyVersion Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep KeyVersion = D1 ('MetaData "KeyVersion" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) (C1 ('MetaCons "DeprecatedV3" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "V4" 'PrefixI 'False) (U1 :: Type -> Type))

newtype IV Source #

Constructors

IV |

Fields

- unIV :: ByteString

#### Instances

Instances details

ToJSON IV Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: IV -> Value Source # toEncoding :: IV -> Encoding Source # toJSONList :: [IV] -> Value Source # toEncodingList :: [IV] -> Encoding Source #
Data IV Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IV -> c IV Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IV Source #

toConstr :: IV -> Constr Source #

dataTypeOf :: IV -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IV) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IV) Source #

gmapT :: (forall b. Data b => b -> b) -> IV -> IV Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IV -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IV -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> IV -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> IV -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> IV -> m IV Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IV -> m IV Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IV -> m IV Source #

Monoid IV Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods mempty :: IV Source # mappend :: IV -> IV -> IV Source # mconcat :: [IV] -> IV Source #
Semigroup IV Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (<>) :: IV -> IV -> IV Source # sconcat :: NonEmpty IV -> IV Source # stimes :: Integral b => b -> IV -> IV Source #
Generic IV Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep IV :: Type -> Type Source # Methods from :: IV -> Rep IV x Source # to :: Rep IV x -> IV Source #
Show IV Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> IV -> ShowS Source # show :: IV -> String Source # showList :: [IV] -> ShowS Source #
Eq IV Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: IV -> IV -> Bool Source # (/=) :: IV -> IV -> Bool Source #
Hashable IV Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> IV -> Int Source # hash :: IV -> Int Source #
Wrapped IV Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Unwrapped IV Source # Methods _Wrapped' :: Iso' IV (Unwrapped IV) Source #
ByteArrayAccess IV Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods length :: IV -> Int Source # withByteArray :: IV -> (Ptr p -> IO a) -> IO a Source # copyByteArrayToPtr :: IV -> Ptr p -> IO () Source #
Pretty IV Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: IV -> Doc ann Source # prettyList :: [IV] -> Doc ann Source #
type Rep IV Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep IV = D1 ('MetaData "IV" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "IV" 'PrefixI 'True) (S1 ('MetaSel ('Just "unIV") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))
type Unwrapped IV Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Unwrapped IV = GUnwrapped (Rep IV)

data DataType Source #

Constructors

BinaryData |
TextData |
UTF8Data |
OtherData Word8 |

#### Instances

Instances details

FromJSON DataType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser DataType Source # parseJSONList :: Value -> Parser [DataType] Source #
ToJSON DataType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: DataType -> Value Source # toEncoding :: DataType -> Encoding Source # toJSONList :: [DataType] -> Value Source # toEncodingList :: [DataType] -> Encoding Source #
Data DataType Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DataType -> c DataType Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DataType Source #

toConstr :: DataType -> Constr Source #

dataTypeOf :: DataType -> DataType0 Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DataType) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DataType) Source #

gmapT :: (forall b. Data b => b -> b) -> DataType -> DataType Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DataType -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DataType -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> DataType -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DataType -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DataType -> m DataType Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DataType -> m DataType Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DataType -> m DataType Source #

Generic DataType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep DataType :: Type -> Type Source # Methods from :: DataType -> Rep DataType x Source # to :: Rep DataType x -> DataType Source #
Show DataType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> DataType -> ShowS Source # show :: DataType -> String Source # showList :: [DataType] -> ShowS Source #
Eq DataType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: DataType -> DataType -> Bool Source # (/=) :: DataType -> DataType -> Bool Source #
Ord DataType Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: DataType -> DataType -> Ordering Source #

(<) :: DataType -> DataType -> Bool Source #

(<=) :: DataType -> DataType -> Bool Source #

(>) :: DataType -> DataType -> Bool Source #

(>=) :: DataType -> DataType -> Bool Source #

max :: DataType -> DataType -> DataType Source #

min :: DataType -> DataType -> DataType Source #

FutureVal DataType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: DataType -> Word8 Source # toFVal :: Word8 -> DataType Source #
Hashable DataType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> DataType -> Int Source # hash :: DataType -> Int Source #
Pretty DataType Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: DataType -> Doc ann Source # prettyList :: [DataType] -> Doc ann Source #
type Rep DataType Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep DataType = D1 ('MetaData "DataType" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) ((C1 ('MetaCons "BinaryData" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TextData" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "UTF8Data" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OtherData" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8))))

newtype Salt Source #

Constructors

Salt |

Fields

- unSalt :: ByteString

#### Instances

Instances details

ToJSON Salt Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: Salt -> Value Source # toEncoding :: Salt -> Encoding Source # toJSONList :: [Salt] -> Value Source # toEncodingList :: [Salt] -> Encoding Source #
Data Salt Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Salt -> c Salt Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Salt Source #

toConstr :: Salt -> Constr Source #

dataTypeOf :: Salt -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Salt) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Salt) Source #

gmapT :: (forall b. Data b => b -> b) -> Salt -> Salt Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Salt -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Salt -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Salt -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Salt -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Salt -> m Salt Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Salt -> m Salt Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Salt -> m Salt Source #

Generic Salt Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep Salt :: Type -> Type Source # Methods from :: Salt -> Rep Salt x Source # to :: Rep Salt x -> Salt Source #
Show Salt Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> Salt -> ShowS Source # show :: Salt -> String Source # showList :: [Salt] -> ShowS Source #
Eq Salt Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: Salt -> Salt -> Bool Source # (/=) :: Salt -> Salt -> Bool Source #
Hashable Salt Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> Salt -> Int Source # hash :: Salt -> Int Source #
Wrapped Salt Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Unwrapped Salt Source # Methods _Wrapped' :: Iso' Salt (Unwrapped Salt) Source #
Pretty Salt Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: Salt -> Doc ann Source # prettyList :: [Salt] -> Doc ann Source #
type Rep Salt Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep Salt = D1 ('MetaData "Salt" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "Salt" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSalt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))
type Unwrapped Salt Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Unwrapped Salt = GUnwrapped (Rep Salt)

newtype IterationCount Source #

Constructors

IterationCount |

Fields

- unIterationCount :: Int

#### Instances

Instances details

FromJSON IterationCount Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser IterationCount Source # parseJSONList :: Value -> Parser [IterationCount] Source #
ToJSON IterationCount Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: IterationCount -> Value Source # toEncoding :: IterationCount -> Encoding Source # toJSONList :: [IterationCount] -> Value Source # toEncodingList :: [IterationCount] -> Encoding Source #
Data IterationCount Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IterationCount -> c IterationCount Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IterationCount Source #

toConstr :: IterationCount -> Constr Source #

dataTypeOf :: IterationCount -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IterationCount) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IterationCount) Source #

gmapT :: (forall b. Data b => b -> b) -> IterationCount -> IterationCount Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IterationCount -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IterationCount -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> IterationCount -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> IterationCount -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> IterationCount -> m IterationCount Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IterationCount -> m IterationCount Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IterationCount -> m IterationCount Source #

Bounded IterationCount Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods minBound :: IterationCount Source # maxBound :: IterationCount Source #
Enum IterationCount Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

succ :: IterationCount -> IterationCount Source #

pred :: IterationCount -> IterationCount Source #

toEnum :: Int -> IterationCount Source #

fromEnum :: IterationCount -> Int Source #

enumFrom :: IterationCount -> [IterationCount] Source #

enumFromThen :: IterationCount -> IterationCount -> [IterationCount] Source #

enumFromTo :: IterationCount -> IterationCount -> [IterationCount] Source #

enumFromThenTo :: IterationCount -> IterationCount -> IterationCount -> [IterationCount] Source #

Generic IterationCount Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep IterationCount :: Type -> Type Source # Methods from :: IterationCount -> Rep IterationCount x Source # to :: Rep IterationCount x -> IterationCount Source #
Num IterationCount Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

(+) :: IterationCount -> IterationCount -> IterationCount Source #

(-) :: IterationCount -> IterationCount -> IterationCount Source #

(*) :: IterationCount -> IterationCount -> IterationCount Source #

negate :: IterationCount -> IterationCount Source #

abs :: IterationCount -> IterationCount Source #

signum :: IterationCount -> IterationCount Source #

fromInteger :: Integer -> IterationCount Source #

Integral IterationCount Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

quot :: IterationCount -> IterationCount -> IterationCount Source #

rem :: IterationCount -> IterationCount -> IterationCount Source #

div :: IterationCount -> IterationCount -> IterationCount Source #

mod :: IterationCount -> IterationCount -> IterationCount Source #

quotRem :: IterationCount -> IterationCount -> (IterationCount, IterationCount) Source #

divMod :: IterationCount -> IterationCount -> (IterationCount, IterationCount) Source #

toInteger :: IterationCount -> Integer Source #

Real IterationCount Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toRational :: IterationCount -> Rational Source #
Show IterationCount Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> IterationCount -> ShowS Source # show :: IterationCount -> String Source # showList :: [IterationCount] -> ShowS Source #
Eq IterationCount Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: IterationCount -> IterationCount -> Bool Source # (/=) :: IterationCount -> IterationCount -> Bool Source #
Ord IterationCount Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: IterationCount -> IterationCount -> Ordering Source #

(<) :: IterationCount -> IterationCount -> Bool Source #

(<=) :: IterationCount -> IterationCount -> Bool Source #

(>) :: IterationCount -> IterationCount -> Bool Source #

(>=) :: IterationCount -> IterationCount -> Bool Source #

max :: IterationCount -> IterationCount -> IterationCount Source #

min :: IterationCount -> IterationCount -> IterationCount Source #

Hashable IterationCount Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> IterationCount -> Int Source # hash :: IterationCount -> Int Source #
Wrapped IterationCount Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Unwrapped IterationCount Source # Methods _Wrapped' :: Iso' IterationCount (Unwrapped IterationCount) Source #
Pretty IterationCount Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: IterationCount -> Doc ann Source # prettyList :: [IterationCount] -> Doc ann Source #
type Rep IterationCount Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep IterationCount = D1 ('MetaData "IterationCount" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "IterationCount" 'PrefixI 'True) (S1 ('MetaSel ('Just "unIterationCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))
type Unwrapped IterationCount Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Unwrapped IterationCount = GUnwrapped (Rep IterationCount)

data S2K Source #

Constructors

Simple HashAlgorithm |
Salted HashAlgorithm Salt |
IteratedSalted HashAlgorithm Salt IterationCount |
OtherS2K Word8 ByteString |

#### Instances

Instances details

ToJSON S2K Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: S2K -> Value Source # toEncoding :: S2K -> Encoding Source # toJSONList :: [S2K] -> Value Source # toEncodingList :: [S2K] -> Encoding Source #
Data S2K Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> S2K -> c S2K Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c S2K Source #

toConstr :: S2K -> Constr Source #

dataTypeOf :: S2K -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c S2K) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c S2K) Source #

gmapT :: (forall b. Data b => b -> b) -> S2K -> S2K Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> S2K -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> S2K -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> S2K -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> S2K -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> S2K -> m S2K Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> S2K -> m S2K Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> S2K -> m S2K Source #

Generic S2K Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep S2K :: Type -> Type Source # Methods from :: S2K -> Rep S2K x Source # to :: Rep S2K x -> S2K Source #
Show S2K Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> S2K -> ShowS Source # show :: S2K -> String Source # showList :: [S2K] -> ShowS Source #
Binary S2K Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: S2K -> Put Source # get :: Get S2K Source # putList :: [S2K] -> Put Source #
Eq S2K Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: S2K -> S2K -> Bool Source # (/=) :: S2K -> S2K -> Bool Source #
Hashable S2K Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> S2K -> Int Source # hash :: S2K -> Int Source #
Pretty S2K Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: S2K -> Doc ann Source # prettyList :: [S2K] -> Doc ann Source #
type Rep S2K Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep S2K = D1 ('MetaData "S2K" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) ((C1 ('MetaCons "Simple" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HashAlgorithm)) :+: C1 ('MetaCons "Salted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HashAlgorithm) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Salt))) :+: (C1 ('MetaCons "IteratedSalted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HashAlgorithm) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Salt) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IterationCount))) :+: C1 ('MetaCons "OtherS2K" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))))

data ImageFormat Source #

Constructors

JPEG |
OtherImage Word8 |

#### Instances

Instances details

FromJSON ImageFormat Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser ImageFormat Source # parseJSONList :: Value -> Parser [ImageFormat] Source #
ToJSON ImageFormat Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: ImageFormat -> Value Source # toEncoding :: ImageFormat -> Encoding Source # toJSONList :: [ImageFormat] -> Value Source # toEncodingList :: [ImageFormat] -> Encoding Source #
Data ImageFormat Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ImageFormat -> c ImageFormat Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ImageFormat Source #

toConstr :: ImageFormat -> Constr Source #

dataTypeOf :: ImageFormat -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ImageFormat) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ImageFormat) Source #

gmapT :: (forall b. Data b => b -> b) -> ImageFormat -> ImageFormat Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ImageFormat -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ImageFormat -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> ImageFormat -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ImageFormat -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ImageFormat -> m ImageFormat Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageFormat -> m ImageFormat Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageFormat -> m ImageFormat Source #

Generic ImageFormat Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep ImageFormat :: Type -> Type Source # Methods from :: ImageFormat -> Rep ImageFormat x Source # to :: Rep ImageFormat x -> ImageFormat Source #
Show ImageFormat Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> ImageFormat -> ShowS Source # show :: ImageFormat -> String Source # showList :: [ImageFormat] -> ShowS Source #
Eq ImageFormat Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: ImageFormat -> ImageFormat -> Bool Source # (/=) :: ImageFormat -> ImageFormat -> Bool Source #
Ord ImageFormat Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: ImageFormat -> ImageFormat -> Ordering Source #

(<) :: ImageFormat -> ImageFormat -> Bool Source #

(<=) :: ImageFormat -> ImageFormat -> Bool Source #

(>) :: ImageFormat -> ImageFormat -> Bool Source #

(>=) :: ImageFormat -> ImageFormat -> Bool Source #

max :: ImageFormat -> ImageFormat -> ImageFormat Source #

min :: ImageFormat -> ImageFormat -> ImageFormat Source #

FutureVal ImageFormat Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: ImageFormat -> Word8 Source # toFVal :: Word8 -> ImageFormat Source #
Hashable ImageFormat Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> ImageFormat -> Int Source # hash :: ImageFormat -> Int Source #
Pretty ImageFormat Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: ImageFormat -> Doc ann Source # prettyList :: [ImageFormat] -> Doc ann Source #
type Rep ImageFormat Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep ImageFormat = D1 ('MetaData "ImageFormat" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) (C1 ('MetaCons "JPEG" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OtherImage" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8)))

newtype ImageHeader Source #

Constructors

ImageHV1 ImageFormat |

#### Instances

Instances details

FromJSON ImageHeader Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser ImageHeader Source # parseJSONList :: Value -> Parser [ImageHeader] Source #
ToJSON ImageHeader Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: ImageHeader -> Value Source # toEncoding :: ImageHeader -> Encoding Source # toJSONList :: [ImageHeader] -> Value Source # toEncodingList :: [ImageHeader] -> Encoding Source #
Data ImageHeader Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ImageHeader -> c ImageHeader Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ImageHeader Source #

toConstr :: ImageHeader -> Constr Source #

dataTypeOf :: ImageHeader -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ImageHeader) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ImageHeader) Source #

gmapT :: (forall b. Data b => b -> b) -> ImageHeader -> ImageHeader Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ImageHeader -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ImageHeader -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> ImageHeader -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ImageHeader -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ImageHeader -> m ImageHeader Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageHeader -> m ImageHeader Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageHeader -> m ImageHeader Source #

Generic ImageHeader Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep ImageHeader :: Type -> Type Source # Methods from :: ImageHeader -> Rep ImageHeader x Source # to :: Rep ImageHeader x -> ImageHeader Source #
Show ImageHeader Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> ImageHeader -> ShowS Source # show :: ImageHeader -> String Source # showList :: [ImageHeader] -> ShowS Source #
Eq ImageHeader Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: ImageHeader -> ImageHeader -> Bool Source # (/=) :: ImageHeader -> ImageHeader -> Bool Source #
Ord ImageHeader Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: ImageHeader -> ImageHeader -> Ordering Source #

(<) :: ImageHeader -> ImageHeader -> Bool Source #

(<=) :: ImageHeader -> ImageHeader -> Bool Source #

(>) :: ImageHeader -> ImageHeader -> Bool Source #

(>=) :: ImageHeader -> ImageHeader -> Bool Source #

max :: ImageHeader -> ImageHeader -> ImageHeader Source #

min :: ImageHeader -> ImageHeader -> ImageHeader Source #

Hashable ImageHeader Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> ImageHeader -> Int Source # hash :: ImageHeader -> Int Source #
Pretty ImageHeader Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: ImageHeader -> Doc ann Source # prettyList :: [ImageHeader] -> Doc ann Source #
type Rep ImageHeader Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep ImageHeader = D1 ('MetaData "ImageHeader" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'True) (C1 ('MetaCons "ImageHV1" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ImageFormat)))

data UserAttrSubPacket Source #

Constructors

ImageAttribute ImageHeader ImageData |
OtherUASub Word8 ByteString |

#### Instances

Instances details

ToJSON UserAttrSubPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: UserAttrSubPacket -> Value Source # toEncoding :: UserAttrSubPacket -> Encoding Source # toJSONList :: [UserAttrSubPacket] -> Value Source # toEncodingList :: [UserAttrSubPacket] -> Encoding Source #
Data UserAttrSubPacket Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UserAttrSubPacket -> c UserAttrSubPacket Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UserAttrSubPacket Source #

toConstr :: UserAttrSubPacket -> Constr Source #

dataTypeOf :: UserAttrSubPacket -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UserAttrSubPacket) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UserAttrSubPacket) Source #

gmapT :: (forall b. Data b => b -> b) -> UserAttrSubPacket -> UserAttrSubPacket Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UserAttrSubPacket -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UserAttrSubPacket -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> UserAttrSubPacket -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UserAttrSubPacket -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UserAttrSubPacket -> m UserAttrSubPacket Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UserAttrSubPacket -> m UserAttrSubPacket Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UserAttrSubPacket -> m UserAttrSubPacket Source #

Generic UserAttrSubPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep UserAttrSubPacket :: Type -> Type Source # Methods from :: UserAttrSubPacket -> Rep UserAttrSubPacket x Source # to :: Rep UserAttrSubPacket x -> UserAttrSubPacket Source #
Show UserAttrSubPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> UserAttrSubPacket -> ShowS Source # show :: UserAttrSubPacket -> String Source # showList :: [UserAttrSubPacket] -> ShowS Source #
Binary UserAttrSubPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: UserAttrSubPacket -> Put Source # get :: Get UserAttrSubPacket Source # putList :: [UserAttrSubPacket] -> Put Source #
Eq UserAttrSubPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: UserAttrSubPacket -> UserAttrSubPacket -> Bool Source # (/=) :: UserAttrSubPacket -> UserAttrSubPacket -> Bool Source #
Ord UserAttrSubPacket Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: UserAttrSubPacket -> UserAttrSubPacket -> Ordering Source #

(<) :: UserAttrSubPacket -> UserAttrSubPacket -> Bool Source #

(<=) :: UserAttrSubPacket -> UserAttrSubPacket -> Bool Source #

(>) :: UserAttrSubPacket -> UserAttrSubPacket -> Bool Source #

(>=) :: UserAttrSubPacket -> UserAttrSubPacket -> Bool Source #

max :: UserAttrSubPacket -> UserAttrSubPacket -> UserAttrSubPacket Source #

min :: UserAttrSubPacket -> UserAttrSubPacket -> UserAttrSubPacket Source #

Hashable UserAttrSubPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> UserAttrSubPacket -> Int Source # hash :: UserAttrSubPacket -> Int Source #
Pretty UserAttrSubPacket Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: UserAttrSubPacket -> Doc ann Source # prettyList :: [UserAttrSubPacket] -> Doc ann Source #
type Rep UserAttrSubPacket Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep UserAttrSubPacket = D1 ('MetaData "UserAttrSubPacket" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) (C1 ('MetaCons "ImageAttribute" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ImageHeader) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ImageData)) :+: C1 ('MetaCons "OtherUASub" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))

data ECCCurve Source #

Constructors

NISTP256 |
NISTP384 |
NISTP521 |
Curve25519 |

#### Instances

Instances details

Data ECCCurve Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ECCCurve -> c ECCCurve Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ECCCurve Source #

toConstr :: ECCCurve -> Constr Source #

dataTypeOf :: ECCCurve -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ECCCurve) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ECCCurve) Source #

gmapT :: (forall b. Data b => b -> b) -> ECCCurve -> ECCCurve Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ECCCurve -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ECCCurve -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> ECCCurve -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ECCCurve -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ECCCurve -> m ECCCurve Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ECCCurve -> m ECCCurve Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ECCCurve -> m ECCCurve Source #

Generic ECCCurve Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types type Rep ECCCurve :: Type -> Type Source # Methods from :: ECCCurve -> Rep ECCCurve x Source # to :: Rep ECCCurve x -> ECCCurve Source #
Show ECCCurve Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> ECCCurve -> ShowS Source # show :: ECCCurve -> String Source # showList :: [ECCCurve] -> ShowS Source #
Eq ECCCurve Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: ECCCurve -> ECCCurve -> Bool Source # (/=) :: ECCCurve -> ECCCurve -> Bool Source #
Ord ECCCurve Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

Methods

compare :: ECCCurve -> ECCCurve -> Ordering Source #

(<) :: ECCCurve -> ECCCurve -> Bool Source #

(<=) :: ECCCurve -> ECCCurve -> Bool Source #

(>) :: ECCCurve -> ECCCurve -> Bool Source #

(>=) :: ECCCurve -> ECCCurve -> Bool Source #

max :: ECCCurve -> ECCCurve -> ECCCurve Source #

min :: ECCCurve -> ECCCurve -> ECCCurve Source #

Hashable ECCCurve Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> ECCCurve -> Int Source # hash :: ECCCurve -> Int Source #
Pretty ECCCurve Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: ECCCurve -> Doc ann Source # prettyList :: [ECCCurve] -> Doc ann Source #
type Rep ECCCurve Source # |

Instance details

Defined in Codec.Encryption.OpenPGP.Types.Internal.Base

type Rep ECCCurve = D1 ('MetaData "ECCCurve" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-2.10.1-1XRZovyvW2f1LMg2JovUmK" 'False) ((C1 ('MetaCons "NISTP256" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NISTP384" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "NISTP521" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Curve25519" 'PrefixI 'False) (U1 :: Type -> Type)))

newtype Block a Source #

Constructors

Block |

Fields

- unBlock :: [a]

#### Instances

Instances details

Show a => Show (Block a) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods showsPrec :: Int -> Block a -> ShowS Source # show :: Block a -> String Source # showList :: [Block a] -> ShowS Source #
Binary a => Binary (Block a) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: Block a -> Put Source # get :: Get (Block a) Source # putList :: [Block a] -> Put Source #
Eq a => Eq (Block a) Source # |
Instance details Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: Block a -> Block a -> Bool Source # (/=) :: Block a -> Block a -> Bool Source #