| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Codec.Encryption.OpenPGP.Types
Synopsis
- key :: String -> Key
- newtype Fingerprint = Fingerprint {}
- data TK (k :: TKKind) = TK {
- _tkPrimaryKey :: KeyPkt (TKKindToKeyPktKind k)
- _tkRevs :: [SignaturePayload]
- _tkUIDs :: [(Text, [SignaturePayload])]
- _tkUAts :: [([UserAttrSubPacket], [SignaturePayload])]
- _tkSubs :: [(KeyPkt (TKKindToKeyPktKind k), [SignaturePayload])]
- data DataType
- newtype IV = IV {
- unIV :: ByteString
- newtype PublicKey = PublicKey {}
- data SymmetricAlgorithm
- data HashAlgorithm
- newtype Signature = Signature {}
- data SecretKey = SecretKey {}
- newtype Block a = Block {
- unBlock :: [a]
- data Hashed
- newtype Salt = Salt {
- unSalt :: ByteString
- data S2K
- data EdSigningCurve
- data Pkt
- = PKESKPkt PKESKPayload
- | SignaturePkt SignaturePayload
- | SKESKPkt SKESKPayload
- | OnePassSignaturePkt OnePassSignaturePayload
- | SecretKeyPkt SomePKPayload SKAddendum
- | PublicKeyPkt SomePKPayload
- | SecretSubkeyPkt SomePKPayload SKAddendum
- | CompressedDataPkt CompressionAlgorithm CompressedDataPayload
- | SymEncDataPkt ByteString
- | MarkerPkt ByteString
- | LiteralDataPkt DataType FileName ThirtyTwoBitTimeStamp ByteString
- | TrustPkt ByteString
- | UserIdPkt Text
- | PublicSubkeyPkt SomePKPayload
- | UserAttributePkt [UserAttrSubPacket]
- | SymEncIntegrityProtectedDataPkt SEIPDPayload
- | ModificationDetectionCodePkt ByteString
- | OtherPacketPkt Word8 ByteString
- | BrokenPacketPkt String Word8 ByteString
- data ECCCurve
- data PubKeyAlgorithm
- data Unhashed
- data V4Sig
- data V6Sig
- newtype EightOctetKeyId = EightOctetKeyId {
- unEOKI :: ByteString
- newtype ThirtyTwoBitTimeStamp = ThirtyTwoBitTimeStamp {}
- newtype MPI = MPI {}
- data SigSubPacket = SigSubPacket {}
- data SigSubPacketPayload
- = SigCreationTime ThirtyTwoBitTimeStamp
- | SigExpirationTime ThirtyTwoBitDuration
- | ExportableCertification Exportability
- | TrustSignature TrustLevel TrustAmount
- | RegularExpression AlmostPublicDomainRegex
- | Revocable Revocability
- | KeyExpirationTime ThirtyTwoBitDuration
- | PreferredSymmetricAlgorithms [SymmetricAlgorithm]
- | RevocationKey (Set RevocationClass) PubKeyAlgorithm Fingerprint
- | 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 IssuerFingerprintVersion Fingerprint
- | UserDefinedSigSub Word8 ByteString
- | OtherSigSub Word8 ByteString
- data SignaturePayload
- = SigV3 SigType ThirtyTwoBitTimeStamp EightOctetKeyId PubKeyAlgorithm HashAlgorithm Word16 (NonEmpty MPI)
- | SigV4 SigType PubKeyAlgorithm HashAlgorithm [SigSubPacket] [SigSubPacket] Word16 (NonEmpty MPI)
- | SigV6 SigType PubKeyAlgorithm HashAlgorithm SignatureSalt [SigSubPacket] [SigSubPacket] Word16 (NonEmpty MPI)
- | SigVOther Word8 ByteString
- newtype SignatureSalt = SignatureSalt {}
- data SigType
- newtype SubpacketList hashedness version = SubpacketList [SigSubPacket]
- data IssuerFingerprintVersion
- newtype DSA_PublicKey = DSA_PublicKey {}
- newtype DSA_Params = DSA_Params {}
- newtype RSA_PublicKey = RSA_PublicKey {}
- newtype ECDSA_PublicKey = ECDSA_PublicKey {}
- compareCurve :: Curve -> Curve -> Ordering
- compareECPoint :: Point -> Point -> Ordering
- newtype DSA_PrivateKey = DSA_PrivateKey {}
- newtype RSA_PrivateKey = RSA_PrivateKey {}
- newtype ECDSA_PrivateKey = ECDSA_PrivateKey {}
- hashWithCurve :: Int -> Curve -> Int
- hashWithECPoint :: Int -> Point -> Int
- hashWithCurveCommon :: Int -> CurveCommon -> Int
- compareCurveCommon :: CurveCommon -> CurveCommon -> Ordering
- newtype ECurvePoint = ECurvePoint {}
- type Exportability = Bool
- type TrustLevel = Word8
- type TrustAmount = Word8
- type AlmostPublicDomainRegex = ByteString
- type Revocability = Bool
- type RevocationReason = Text
- type KeyServer = ByteString
- type SignatureHash = ByteString
- type PacketVersion = Word8
- type V3Expiration = Word16
- type CompressedDataPayload = ByteString
- type FileName = ByteString
- type ImageData = ByteString
- type NestedFlag = Bool
- data ByteRange = ByteRange {}
- newtype WireRepSourceId = WireRepSourceId {}
- data WireRepRef = WireRepRef {}
- type WireRepRefs = NonEmpty WireRepRef
- wireRepRef :: ByteString -> WireRepRef
- mkWireRepRefWithLength :: Maybe Text -> Bool -> Int64 -> WireRepRef
- namedWireRepRef :: Text -> ByteString -> WireRepRef
- freshWireRepSourceId :: Int64 -> WireRepSourceId
- mkWireRepRef :: Maybe Text -> Bool -> ByteString -> WireRepRef
- wireRepSourceCounter :: IORef Int64
- rangeEnd :: ByteRange -> Int64
- spanByteRanges :: [ByteRange] -> Maybe ByteRange
- class (Eq a, Ord a) => FutureFlag a where
- class (Eq a, Ord a) => FutureVal a where
- data NotationFlag
- mkNotationFlag :: Word8 -> NotationFlag
- durU :: (Integral a, Show a) => a -> Maybe (String, a)
- newtype ThirtyTwoBitDuration = ThirtyTwoBitDuration {}
- data RevocationClass
- mkRevocationClass :: Word8 -> RevocationClass
- hexToW8s :: ReadS Word8
- bsToHexUpper :: ByteString -> String
- newtype SpacedFingerprint = SpacedFingerprint {}
- data KeyIdentifier
- newtype NotationName = NotationName {}
- newtype NotationValue = NotationValue {}
- data CompressionAlgorithm
- data AEADAlgorithm
- = EAX
- | OCB
- | GCM
- | OtherAEADAlgo Word8
- data KSPFlag
- data KeyFlag
- data RevocationCode
- data FeatureFlag
- newtype URL = URL {
- unURL :: URI
- data SignaturePayloadVersion
- data SignaturePayloadV (v :: SignaturePayloadVersion) where
- SigPayloadV3Data :: SigType -> ThirtyTwoBitTimeStamp -> EightOctetKeyId -> PubKeyAlgorithm -> HashAlgorithm -> Word16 -> NonEmpty MPI -> SignaturePayloadV 'SigPayloadV3
- SigPayloadV4Data :: SigType -> PubKeyAlgorithm -> HashAlgorithm -> [SigSubPacket] -> [SigSubPacket] -> Word16 -> NonEmpty MPI -> SignaturePayloadV 'SigPayloadV4
- SigPayloadV6Data :: SigType -> PubKeyAlgorithm -> HashAlgorithm -> SignatureSalt -> [SigSubPacket] -> [SigSubPacket] -> Word16 -> NonEmpty MPI -> SignaturePayloadV 'SigPayloadV6
- SigPayloadOtherData :: Word8 -> ByteString -> SignaturePayloadV 'SigPayloadVOther
- data SomeSignaturePayload where
- SomeSignaturePayload :: forall (v :: SignaturePayloadVersion). SignaturePayloadV v -> SomeSignaturePayload
- toSignaturePayload :: forall (v :: SignaturePayloadVersion). SignaturePayloadV v -> SignaturePayload
- toSomeSignaturePayload :: SignaturePayload -> SomeSignaturePayload
- signaturePayloadVersion :: SignaturePayload -> SignaturePayloadVersion
- asSignaturePayloadV3 :: SignaturePayload -> Either String (SignaturePayloadV 'SigPayloadV3)
- asSignaturePayloadV4 :: SignaturePayload -> Either String (SignaturePayloadV 'SigPayloadV4)
- asSignaturePayloadV6 :: SignaturePayload -> Either String (SignaturePayloadV 'SigPayloadV6)
- asSignaturePayloadOther :: SignaturePayload -> Either String (SignaturePayloadV 'SigPayloadVOther)
- issuerFingerprintVersionToPacketVersion :: IssuerFingerprintVersion -> PacketVersion
- packetVersionToIssuerFingerprintVersion :: PacketVersion -> Maybe IssuerFingerprintVersion
- uc3 :: (a -> b -> c -> d) -> (a, b, c) -> d
- fromSubpacketList :: SubpacketList h v -> [SigSubPacket]
- toSubpacketList :: [SigSubPacket] -> SubpacketList h v
- emptyHashedSubpackets :: SubpacketList Hashed v
- emptyUnhashedSubpackets :: SubpacketList Unhashed v
- consHashedSubpacket :: SigSubPacket -> SubpacketList Hashed v -> SubpacketList Hashed v
- consUnhashedSubpacket :: SigSubPacket -> SubpacketList Unhashed v -> SubpacketList Unhashed v
- data KeyVersion
- = DeprecatedV3
- | V4
- | V6
- newtype SessionKey = SessionKey {}
- newtype Salt8 = Salt8 {}
- newtype Salt16 = Salt16 {}
- salt8FromSalt :: Salt -> Maybe Salt8
- salt16FromSalt :: Salt -> Maybe Salt16
- saltFromSalt8 :: Salt8 -> Salt
- saltFromSalt16 :: Salt16 -> Salt
- newtype IterationCount = IterationCount {}
- data ImageFormat
- = JPEG
- | OtherImage Word8
- newtype ImageHeader = ImageHV1 ImageFormat
- data UserAttrSubPacket
- rangeLength :: Lens' ByteRange Int64
- rangeOffset :: Lens' ByteRange Int64
- wireRepLength :: Lens' WireRepRef Int64
- wireRepName :: Lens' WireRepRef (Maybe Text)
- wireRepSourceId :: Lens' WireRepRef WireRepSourceId
- wireRepWasOriginallyArmored :: Lens' WireRepRef Bool
- sspCriticality :: Lens' SigSubPacket Bool
- sspPayload :: Lens' SigSubPacket SigSubPacketPayload
- newtype EPoint = EPoint {}
- data EdPoint
- data PKey
- data SKey
- data PKPayload (v :: KeyVersion) where
- PKPayloadV3 :: ThirtyTwoBitTimeStamp -> V3Expiration -> PubKeyAlgorithm -> PKey -> PKPayload 'DeprecatedV3
- PKPayloadV4 :: ThirtyTwoBitTimeStamp -> PubKeyAlgorithm -> PKey -> PKPayload 'V4
- PKPayloadV6 :: ThirtyTwoBitTimeStamp -> PubKeyAlgorithm -> PKey -> PKPayload 'V6
- pattern PKPayload :: KeyVersion -> ThirtyTwoBitTimeStamp -> V3Expiration -> PubKeyAlgorithm -> PKey -> SomePKPayload
- pkPayloadFields :: forall (v :: KeyVersion). PKPayload v -> (KeyVersion, ThirtyTwoBitTimeStamp, V3Expiration, PubKeyAlgorithm, PKey)
- data SomePKPayload where
- SomePKPayload :: forall (v :: KeyVersion). PKPayload v -> SomePKPayload
- pkPayloadDataType :: DataType
- pkPayloadConstr :: Constr
- somePKPayloadFields :: SomePKPayload -> (KeyVersion, ThirtyTwoBitTimeStamp, V3Expiration, PubKeyAlgorithm, PKey)
- _keyVersion :: SomePKPayload -> KeyVersion
- _timestamp :: SomePKPayload -> ThirtyTwoBitTimeStamp
- _v3exp :: SomePKPayload -> V3Expiration
- _pkalgo :: SomePKPayload -> PubKeyAlgorithm
- _pubkey :: SomePKPayload -> PKey
- data SKAddendum
- class LegacyKeyVersion (v :: KeyVersion)
- data SKAddendumV (v :: KeyVersion) where
- SKA16bit :: forall (v :: KeyVersion). LegacyKeyVersion v => SymmetricAlgorithm -> S2K -> IV -> ByteString -> SKAddendumV v
- SKASHA1Legacy :: forall (v :: KeyVersion). LegacyKeyVersion v => SymmetricAlgorithm -> S2K -> IV -> ByteString -> SKAddendumV v
- SKASHA1V6 :: SymmetricAlgorithm -> S2K -> IV -> ByteString -> SKAddendumV 'V6
- SKAAEADV6 :: SymmetricAlgorithm -> AEADAlgorithm -> S2K -> IV -> ByteString -> SKAddendumV 'V6
- SKAAEADLegacy :: forall (v :: KeyVersion). LegacyKeyVersion v => SymmetricAlgorithm -> AEADAlgorithm -> S2K -> IV -> ByteString -> SKAddendumV v
- SKASymLegacy :: forall (v :: KeyVersion). LegacyKeyVersion v => SymmetricAlgorithm -> IV -> ByteString -> SKAddendumV v
- SKASymV6 :: SymmetricAlgorithm -> IV -> ByteString -> SKAddendumV 'V6
- SKAUnencryptedLegacy :: forall (v :: KeyVersion). LegacyKeyVersion v => SKey -> Word16 -> SKAddendumV v
- SKAUnencryptedV6 :: SKey -> SKAddendumV 'V6
- data SomeSKAddendumV where
- SomeSKAddendumV :: forall (v :: KeyVersion). SKAddendumV v -> SomeSKAddendumV
- toSKAddendum :: forall (v :: KeyVersion). SKAddendumV v -> SKAddendum
- fromSKAddendumForKeyVersion :: KeyVersion -> SKAddendum -> Either String SomeSKAddendumV
- fromSKAddendumForPKPayload :: SomePKPayload -> SKAddendum -> Either String SomeSKAddendumV
- data PKESKPayloadVersion
- data PKESKPayloadV3 = PKESKPayloadV3 PacketVersion EightOctetKeyId PubKeyAlgorithm (NonEmpty MPI)
- data PKESKPayloadV6 = PKESKPayloadV6 ByteString PubKeyAlgorithm ByteString
- data PKESKPayload
- data SKESKPayloadVersion
- data SKESKPayloadV4 = SKESKPayloadV4 SymmetricAlgorithm S2K (Maybe ByteString)
- data SKESKPayloadV6 = SKESKPayloadV6 SymmetricAlgorithm AEADAlgorithm S2K ByteString ByteString ByteString
- data SKESKPayload
- data OnePassSignatureVersion
- data OPSPayloadV3 = OPSPayloadV3 PacketVersion SigType HashAlgorithm PubKeyAlgorithm EightOctetKeyId NestedFlag
- data OPSPayloadV6 = OPSPayloadV6 SigType HashAlgorithm PubKeyAlgorithm SignatureSalt ByteString NestedFlag
- data OnePassSignaturePayload
- data SEIPDPayload
- data KeyPktKind
- data KeyPktRole
- data KeyPkt (k :: KeyPktKind) where
- keyPktToPkt :: forall (k :: KeyPktKind). KeyPkt k -> Pkt
- conKeyPktPublicPrimary :: Constr
- conKeyPktPublicSubkey :: Constr
- conKeyPktSecretPrimary :: Constr
- conKeyPktSecretSubkey :: Constr
- tyKeyPkt :: DataType
- data SomeKeyPkt where
- SomeKeyPkt :: forall (k :: KeyPktKind). KeyPkt k -> SomeKeyPkt
- someKeyPktToPkt :: SomeKeyPkt -> Pkt
- data KeyPktCoercionError
- data PktWithWireRep = PktWithWireRep {}
- pktTag :: Pkt -> Word8
- wireRepOfPkt :: PktWithWireRep -> WireRepRef
- packetsFromWireRep :: WireRepRef -> [PktWithWireRep] -> [PktWithWireRep]
- renderKeyPktCoercionError :: KeyPktCoercionError -> String
- keyPktRole :: forall (k :: KeyPktKind). KeyPkt k -> KeyPktRole
- keyPktPKPayload :: forall (k :: KeyPktKind). KeyPkt k -> SomePKPayload
- keyPktMaybeSKAddendum :: forall (k :: KeyPktKind). KeyPkt k -> Maybe SKAddendum
- keyPktTKKey :: forall (k :: KeyPktKind). KeyPkt k -> (SomePKPayload, Maybe SKAddendum)
- secretKeyPktSKAddendum :: KeyPkt 'SecretPkt -> SKAddendum
- mkPrimaryKeyPkt :: SomePKPayload -> Maybe SKAddendum -> SomeKeyPkt
- mkSubkeyKeyPkt :: SomePKPayload -> Maybe SKAddendum -> SomeKeyPkt
- keyPktToPublicView :: KeyPkt 'SecretPkt -> KeyPkt 'PublicPkt
- pktToSomeKeyPktEither :: Pkt -> Either KeyPktCoercionError SomeKeyPkt
- pktToSomeKeyPkt :: Pkt -> Maybe SomeKeyPkt
- pktToPublicKeyPktEither :: Pkt -> Either KeyPktCoercionError (KeyPkt 'PublicPkt)
- pktToPublicKeyPkt :: Pkt -> Maybe (KeyPkt 'PublicPkt)
- pktToSecretKeyPktEither :: Pkt -> Either KeyPktCoercionError (KeyPkt 'SecretPkt)
- pktToSecretKeyPkt :: Pkt -> Maybe (KeyPkt 'SecretPkt)
- publicKeyPacketOf :: Pkt -> Pkt
- data Verification = Verification {}
- data VerificationWarning = MissingSubkeyBackSignatureWarning
- data SOPVVerification = SOPVVerification {}
- verificationSignature :: Lens' Verification SignaturePayload
- verificationSigner :: Lens' Verification SomePKPayload
- verificationWarnings :: Lens' Verification [VerificationWarning]
- sopvvDateStamp :: Lens' SOPVVerification UTCTime
- sopvvDescription :: Lens' SOPVVerification String
- sopvvFingerprint :: Lens' SOPVVerification Fingerprint
- sopvvMode :: Lens' SOPVVerification String
- sopvvPrimaryFingerprint :: Lens' SOPVVerification Fingerprint
- pktIndex :: Lens' PktWithWireRep Int
- pktRange :: Lens' PktWithWireRep ByteRange
- pktRaw :: Lens' PktWithWireRep ByteString
- pktValue :: Lens' PktWithWireRep Pkt
- pktWireRepRef :: Lens' PktWithWireRep WireRepRef
- class Packet a where
- data PacketType a
- packetType :: a -> PacketType a
- packetCode :: PacketType a -> Word8
- dynamicPacketCode :: a -> Word8
- toPkt :: a -> Pkt
- fromPktMaybe :: Pkt -> Maybe a
- fromPktEither :: Pkt -> Either String a
- data family PacketType a
- coercionError :: String -> Pkt -> Either String a
- data PKESK (v :: PKESKPayloadVersion) where
- PKESK3Packet :: PacketVersion -> EightOctetKeyId -> PubKeyAlgorithm -> NonEmpty MPI -> PKESK 'PKESKV3
- PKESK6Packet :: ByteString -> PubKeyAlgorithm -> ByteString -> PKESK 'PKESKV6
- data SignatureV (v :: SignaturePayloadVersion) where
- SignatureV3Packet :: SignaturePayloadV 'SigPayloadV3 -> SignatureV 'SigPayloadV3
- SignatureV4Packet :: SignaturePayloadV 'SigPayloadV4 -> SignatureV 'SigPayloadV4
- SignatureV6Packet :: SignaturePayloadV 'SigPayloadV6 -> SignatureV 'SigPayloadV6
- SignatureVOtherPacket :: SignaturePayloadV 'SigPayloadVOther -> SignatureV 'SigPayloadVOther
- data SomeSignatureV where
- SomeSignatureV :: forall (v :: SignaturePayloadVersion). SignatureV v -> SomeSignatureV
- signaturePayloadFromSignatureV :: forall (v :: SignaturePayloadVersion). SignatureV v -> SignaturePayload
- fromPktEitherSomeSignatureV :: Pkt -> Either String SomeSignatureV
- someSignatureVFromPayload :: SignaturePayload -> SomeSignatureV
- data SKESK (v :: SKESKPayloadVersion) where
- SKESK4Packet :: SymmetricAlgorithm -> S2K -> Maybe ByteString -> SKESK 'SKESKV4
- SKESK6Packet :: SymmetricAlgorithm -> AEADAlgorithm -> S2K -> ByteString -> ByteString -> ByteString -> SKESK 'SKESKV6
- data OnePassSignature (v :: OnePassSignatureVersion) where
- OnePassSignatureV3Packet :: PacketVersion -> SigType -> HashAlgorithm -> PubKeyAlgorithm -> EightOctetKeyId -> NestedFlag -> OnePassSignature 'OPSV3
- OnePassSignatureV6Packet :: SigType -> HashAlgorithm -> PubKeyAlgorithm -> SignatureSalt -> ByteString -> NestedFlag -> OnePassSignature 'OPSV6
- data SecretSubkey = SecretSubkey {}
- data CompressedData = CompressedData {}
- newtype SymEncData = SymEncData {}
- newtype Marker = Marker {}
- data LiteralData = LiteralData {}
- newtype Trust = Trust {}
- newtype UserId = UserId {}
- newtype PublicSubkey = PublicSubkey {}
- newtype UserAttribute = UserAttribute {}
- data SymEncIntegrityProtectedData
- newtype ModificationDetectionCode = ModificationDetectionCode {}
- data OtherPacket = OtherPacket {}
- data BrokenPacket = BrokenPacket {}
- signaturePayload :: Iso' Signature SignaturePayload
- secretKeyPKPayload :: Lens' SecretKey SomePKPayload
- secretKeySKAddendum :: Lens' SecretKey SKAddendum
- publicKeyPKPayload :: Iso' PublicKey SomePKPayload
- secretSubkeyPKPayload :: Lens' SecretSubkey SomePKPayload
- secretSubkeySKAddendum :: Lens' SecretSubkey SKAddendum
- compressedDataCompressionAlgorithm :: Lens' CompressedData CompressionAlgorithm
- compressedDataPayload :: Lens' CompressedData CompressedDataPayload
- symEncDataPayload :: Iso' SymEncData ByteString
- markerPayload :: Iso' Marker ByteString
- literalDataDataType :: Lens' LiteralData DataType
- literalDataFileName :: Lens' LiteralData FileName
- literalDataPayload :: Lens' LiteralData ByteString
- literalDataTimeStamp :: Lens' LiteralData ThirtyTwoBitTimeStamp
- trustPayload :: Iso' Trust ByteString
- userIdPayload :: Iso' UserId Text
- publicSubkeyPKPayload :: Iso' PublicSubkey SomePKPayload
- userAttributeSubPackets :: Iso' UserAttribute [UserAttrSubPacket]
- symEncIntegrityProtectedDataPacketVersion :: Traversal' SymEncIntegrityProtectedData PacketVersion
- symEncIntegrityProtectedDataPayload :: Traversal' SymEncIntegrityProtectedData ByteString
- modificationDetectionCodePayload :: Iso' ModificationDetectionCode ByteString
- otherPacketPayload :: Lens' OtherPacket ByteString
- otherPacketType :: Lens' OtherPacket Word8
- brokenPacketParseError :: Lens' BrokenPacket String
- brokenPacketPayload :: Lens' BrokenPacket ByteString
- brokenPacketType :: Lens' BrokenPacket Word8
- data PacketZipper = PacketZipper {}
- zFromList :: [PktWithWireRep] -> Maybe PacketZipper
- zPosition :: PacketZipper -> Int
- zMoveNext :: PacketZipper -> Maybe PacketZipper
- zRemaining :: PacketZipper -> [PktWithWireRep]
- zToList :: PacketZipper -> [PktWithWireRep]
- data TKUnknown = TKUnknown {
- _tkuKey :: (SomePKPayload, Maybe SKAddendum)
- _tkuRevs :: [SignaturePayload]
- _tkuUIDs :: [(Text, [SignaturePayload])]
- _tkuUAts :: [([UserAttrSubPacket], [SignaturePayload])]
- _tkuSubs :: [(Pkt, [SignaturePayload])]
- data TKKind
- type family TKKindToKeyPktKind (k :: TKKind) :: KeyPktKind where ...
- data SomeTK where
- SomePublicTK :: TK 'PublicTK -> SomeTK
- SomeSecretTK :: TK 'SecretTK -> SomeTK
- someTKToUnknown :: SomeTK -> TKUnknown
- data TKConversionError
- renderTKConversionError :: TKConversionError -> String
- tkToUnknown :: forall (k :: TKKind). TK k -> TKUnknown
- mkTKUnknown :: SomePKPayload -> Maybe SKAddendum -> TKUnknown
- fromPrimaryKeyPktToTKUnknown :: Pkt -> Either String TKUnknown
- someTKToPublicTK :: SomeTK -> Maybe (TK 'PublicTK)
- someTKToSecretTK :: SomeTK -> Maybe (TK 'SecretTK)
- someTKToPublicViewTK :: SomeTK -> TK 'PublicTK
- publicViewTK :: TK 'SecretTK -> TK 'PublicTK
- fromUnknownToTKEither :: TKUnknown -> Either TKConversionError SomeTK
- fromUnknownToTK :: TKUnknown -> Either String SomeTK
- data TKWithWireRep = TKWithWireRep {}
- data PacketRefId = PacketRefId {}
- data SignatureWithWireRef = SignatureWithWireRef {}
- data UIDWithWireRefs = UIDWithWireRefs {}
- data UATWithWireRefs = UATWithWireRefs {}
- data SubkeyWithWireRefs = SubkeyWithWireRefs {}
- data TKStructuredWithWireRep = TKStructuredWithWireRep {
- _tkStructuredWireRepRefs :: WireRepRefs
- _tkStructuredWireRepRange :: Maybe ByteRange
- _tkStructuredPrimaryKey :: (SomePKPayload, Maybe SKAddendum)
- _tkStructuredPrimaryKeyRef :: PacketRefId
- _tkStructuredDirectSignatures :: [SignatureWithWireRef]
- _tkStructuredUIDs :: [UIDWithWireRefs]
- _tkStructuredUAts :: [UATWithWireRefs]
- _tkStructuredSubkeys :: [SubkeyWithWireRefs]
- _tkStructuredPacketRefs :: [PktWithWireRep]
- data CanonicalizeTKWithWireRepError
- wireRepOfTK :: TKWithWireRep -> WireRepRef
- wireRepsOfTK :: TKWithWireRep -> WireRepRefs
- packetRefsOfTK :: TKWithWireRep -> [PktWithWireRep]
- packetRefIdOf :: PktWithWireRep -> PacketRefId
- lookupPacketRef :: TKStructuredWithWireRep -> PacketRefId -> Maybe PktWithWireRep
- packetWireBytesForRef :: TKStructuredWithWireRep -> PacketRefId -> Either CanonicalizeTKWithWireRepError ByteString
- signatureWireSortKey :: TKStructuredWithWireRep -> SignatureWithWireRef -> Either CanonicalizeTKWithWireRepError (ByteString, PacketRefId)
- uidWireSortKey :: TKStructuredWithWireRep -> UIDWithWireRefs -> Either CanonicalizeTKWithWireRepError (ByteString, PacketRefId)
- uatWireSortKey :: TKStructuredWithWireRep -> UATWithWireRefs -> Either CanonicalizeTKWithWireRepError (ByteString, PacketRefId)
- subkeyWireSortKey :: TKStructuredWithWireRep -> SubkeyWithWireRefs -> Either CanonicalizeTKWithWireRepError (ByteString, PacketRefId)
- compareSignatureWithWireRefCanonical :: TKStructuredWithWireRep -> SignatureWithWireRef -> SignatureWithWireRef -> Either CanonicalizeTKWithWireRepError Ordering
- compareUIDWithWireRefsCanonical :: TKStructuredWithWireRep -> UIDWithWireRefs -> UIDWithWireRefs -> Either CanonicalizeTKWithWireRepError Ordering
- compareUATWithWireRefsCanonical :: TKStructuredWithWireRep -> UATWithWireRefs -> UATWithWireRefs -> Either CanonicalizeTKWithWireRepError Ordering
- compareSubkeyWithWireRefsCanonical :: TKStructuredWithWireRep -> SubkeyWithWireRefs -> SubkeyWithWireRefs -> Either CanonicalizeTKWithWireRepError Ordering
- sortCanonicalByKey :: Ord key => (a -> Either CanonicalizeTKWithWireRepError key) -> [a] -> Either CanonicalizeTKWithWireRepError [a]
- sortSignatureWithWireRefsCanonical :: TKStructuredWithWireRep -> [SignatureWithWireRef] -> Either CanonicalizeTKWithWireRepError [SignatureWithWireRef]
- sortUIDWithWireRefsCanonical :: TKStructuredWithWireRep -> [UIDWithWireRefs] -> Either CanonicalizeTKWithWireRepError [UIDWithWireRefs]
- sortUATWithWireRefsCanonical :: TKStructuredWithWireRep -> [UATWithWireRefs] -> Either CanonicalizeTKWithWireRepError [UATWithWireRefs]
- sortSubkeyWithWireRefsCanonical :: TKStructuredWithWireRep -> [SubkeyWithWireRefs] -> Either CanonicalizeTKWithWireRepError [SubkeyWithWireRefs]
- canonicalizeTKStructuredWithWireRep :: TKStructuredWithWireRep -> Either CanonicalizeTKWithWireRepError TKUnknown
- canonicalizeTKWithWireRep :: TKWithWireRep -> Either CanonicalizeTKWithWireRepError TKUnknown
- toStructuredTKWithWireRep :: TKWithWireRep -> Either String TKStructuredWithWireRep
- tksFromWireRep :: WireRepRef -> [TKWithWireRep] -> [TKWithWireRep]
- tksContainingPacket :: PktWithWireRep -> [TKWithWireRep] -> [TKWithWireRep]
- type KeyringIxs = '[EightOctetKeyId, Fingerprint, Text]
- type PublicKeyring = IxSet KeyringIxs (TK 'PublicTK)
- type SecretKeyring = IxSet KeyringIxs (TK 'SecretTK)
- type family KeyringOf (k :: TKKind) where ...
- tkuKey :: Lens' TKUnknown (SomePKPayload, Maybe SKAddendum)
- tkuRevs :: Lens' TKUnknown [SignaturePayload]
- tkuSubs :: Lens' TKUnknown [(Pkt, [SignaturePayload])]
- tkuUAts :: Lens' TKUnknown [([UserAttrSubPacket], [SignaturePayload])]
- tkuUIDs :: Lens' TKUnknown [(Text, [SignaturePayload])]
- tkPrimaryKey :: forall (k :: TKKind) f. Functor f => (KeyPkt (TKKindToKeyPktKind k) -> f (KeyPkt (TKKindToKeyPktKind k))) -> TK k -> f (TK k)
- tkRevs :: forall (k :: TKKind) f. Functor f => ([SignaturePayload] -> f [SignaturePayload]) -> TK k -> f (TK k)
- tkSubs :: forall (k :: TKKind) f. Functor f => ([(KeyPkt (TKKindToKeyPktKind k), [SignaturePayload])] -> f [(KeyPkt (TKKindToKeyPktKind k), [SignaturePayload])]) -> TK k -> f (TK k)
- tkUAts :: forall (k :: TKKind) f. Functor f => ([([UserAttrSubPacket], [SignaturePayload])] -> f [([UserAttrSubPacket], [SignaturePayload])]) -> TK k -> f (TK k)
- tkUIDs :: forall (k :: TKKind) f. Functor f => ([(Text, [SignaturePayload])] -> f [(Text, [SignaturePayload])]) -> TK k -> f (TK k)
- tkPackets :: Lens' TKWithWireRep [PktWithWireRep]
- tkValue :: Lens' TKWithWireRep TKUnknown
- tkWireRepRange :: Lens' TKWithWireRep (Maybe ByteRange)
- tkWireRepRefs :: Lens' TKWithWireRep WireRepRefs
- packetRefIndex :: Lens' PacketRefId Int
- packetRefWireRepRef :: Lens' PacketRefId WireRepRef
- zpAfter :: Lens' PacketZipper [PktWithWireRep]
- zpBefore :: Lens' PacketZipper [PktWithWireRep]
- zpCurrent :: Lens' PacketZipper PktWithWireRep
- signatureWithWireRefRef :: Lens' SignatureWithWireRef PacketRefId
- signatureWithWireRefValue :: Lens' SignatureWithWireRef SignaturePayload
- uidWithWireRefsRef :: Lens' UIDWithWireRefs PacketRefId
- uidWithWireRefsSignatures :: Lens' UIDWithWireRefs [SignatureWithWireRef]
- uidWithWireRefsValue :: Lens' UIDWithWireRefs Text
- uatWithWireRefsRef :: Lens' UATWithWireRefs PacketRefId
- uatWithWireRefsSignatures :: Lens' UATWithWireRefs [SignatureWithWireRef]
- uatWithWireRefsValue :: Lens' UATWithWireRefs [UserAttrSubPacket]
- subkeyWithWireRefsRef :: Lens' SubkeyWithWireRefs PacketRefId
- subkeyWithWireRefsSignatures :: Lens' SubkeyWithWireRefs [SignatureWithWireRef]
- subkeyWithWireRefsValue :: Lens' SubkeyWithWireRefs Pkt
- tkStructuredDirectSignatures :: Lens' TKStructuredWithWireRep [SignatureWithWireRef]
- tkStructuredPacketRefs :: Lens' TKStructuredWithWireRep [PktWithWireRep]
- tkStructuredPrimaryKey :: Lens' TKStructuredWithWireRep (SomePKPayload, Maybe SKAddendum)
- tkStructuredPrimaryKeyRef :: Lens' TKStructuredWithWireRep PacketRefId
- tkStructuredSubkeys :: Lens' TKStructuredWithWireRep [SubkeyWithWireRefs]
- tkStructuredUAts :: Lens' TKStructuredWithWireRep [UATWithWireRefs]
- tkStructuredUIDs :: Lens' TKStructuredWithWireRep [UIDWithWireRefs]
- tkStructuredWireRepRange :: Lens' TKStructuredWithWireRep (Maybe ByteRange)
- tkStructuredWireRepRefs :: Lens' TKStructuredWithWireRep WireRepRefs
Documentation
newtype Fingerprint Source #
An OpenPGP fingerprint. Length depends on key version: 16 bytes (v3MD5), 20 bytes (v4SHA-1), or 32 bytes (v6/SHA-256).
Constructors
| Fingerprint | |
Fields | |
Instances
data TK (k :: TKKind) Source #
Constructors
| TK | |
Fields
| |
Instances
| Indexable KeyringIxs (TK 'PublicTK) | Index public TKs by key ID, fingerprint, and UID |
Defined in Data.Conduit.OpenPGP.Keyring.Instances Methods indices :: IxList KeyringIxs (TK 'PublicTK) | |
| Indexable KeyringIxs (TK 'SecretTK) | Index secret TKs by key ID, fingerprint, and UID |
Defined in Data.Conduit.OpenPGP.Keyring.Instances Methods indices :: IxList KeyringIxs (TK 'SecretTK) | |
| Semigroup (TK k) Source # | |
| (Typeable k, Data (KeyPkt (TKKindToKeyPktKind k))) => Data (TK k) Source # | |
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 k -> c (TK k) Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (TK k) Source # toConstr :: TK k -> Constr Source # dataTypeOf :: TK k -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (TK k)) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (TK k)) Source # gmapT :: (forall b. Data b => b -> b) -> TK k -> TK k Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TK k -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TK k -> r Source # gmapQ :: (forall d. Data d => d -> u) -> TK k -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> TK k -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TK k -> m (TK k) Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TK k -> m (TK k) Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TK k -> m (TK k) Source # | |
| Show (TK k) Source # | |
| Eq (TK k) Source # | |
| Ord (TK k) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK | |
Constructors
| BinaryData | |
| TextData | |
| UTF8Data | |
| OtherData Word8 |
Instances
| FromJSON DataType Source # | |||||
| ToJSON DataType Source # | |||||
| Data DataType Source # | |||||
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 -> DataType 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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
| |||||
| Show DataType Source # | |||||
| Eq DataType Source # | |||||
| Ord DataType Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| FutureVal DataType Source # | |||||
| Hashable DataType Source # | |||||
| Pretty DataType Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep DataType Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep DataType = D1 ('MetaData "DataType" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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)))) | |||||
Constructors
| IV | |
Fields
| |
Instances
| ToJSON IV Source # | |||||
| Monoid IV Source # | |||||
| Semigroup IV Source # | |||||
| Data IV Source # | |||||
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 # | |||||
| Generic IV Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
| |||||
| Show IV Source # | |||||
| Eq IV Source # | |||||
| Ord IV Source # | |||||
| Hashable IV Source # | |||||
| Wrapped IV Source # | |||||
| ByteArrayAccess IV Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Pretty IV Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep IV Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep IV = D1 ('MetaData "IV" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'True) (C1 ('MetaCons "IV" 'PrefixI 'True) (S1 ('MetaSel ('Just "unIV") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))) | |||||
| type Unwrapped IV Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
Constructors
| PublicKey | |
Fields | |
Instances
| Binary PublicKey Source # | |||||
| Data PublicKey Source # | |||||
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 # | |||||
| Eq PublicKey Source # | |||||
| Packet PublicKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: PublicKey -> PacketType PublicKey Source # packetCode :: PacketType PublicKey -> Word8 Source # dynamicPacketCode :: PublicKey -> Word8 Source # toPkt :: PublicKey -> Pkt Source # | |||||
| Pretty PublicKey Source # | |||||
| Show (PacketType PublicKey) Source # | |||||
| Eq (PacketType PublicKey) Source # | |||||
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 # | |||||
data SymmetricAlgorithm Source #
Constructors
| Plaintext | |
| IDEA | |
| TripleDES | |
| CAST5 | |
| Blowfish | |
| ReservedSAFER | |
| ReservedDES | |
| AES128 | |
| AES192 | |
| AES256 | |
| Twofish | |
| Camellia128 | |
| Camellia192 | |
| Camellia256 | |
| OtherSA Word8 |
Instances
| FromJSON SymmetricAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser SymmetricAlgorithm Source # parseJSONList :: Value -> Parser [SymmetricAlgorithm] Source # | |||||
| ToJSON SymmetricAlgorithm Source # | |||||
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 # omitField :: SymmetricAlgorithm -> Bool Source # | |||||
| Binary SymmetricAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: SymmetricAlgorithm -> Put Source # get :: Get SymmetricAlgorithm Source # putList :: [SymmetricAlgorithm] -> Put Source # | |||||
| Data SymmetricAlgorithm Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: SymmetricAlgorithm -> Rep SymmetricAlgorithm x Source # to :: Rep SymmetricAlgorithm x -> SymmetricAlgorithm Source # | |||||
| Show SymmetricAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq SymmetricAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: SymmetricAlgorithm -> SymmetricAlgorithm -> Bool Source # (/=) :: SymmetricAlgorithm -> SymmetricAlgorithm -> Bool Source # | |||||
| Ord SymmetricAlgorithm Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: SymmetricAlgorithm -> Word8 Source # toFVal :: Word8 -> SymmetricAlgorithm Source # | |||||
| Hashable SymmetricAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> SymmetricAlgorithm -> Int Source # hash :: SymmetricAlgorithm -> Int Source # | |||||
| Pretty SymmetricAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep SymmetricAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep SymmetricAlgorithm = D1 ('MetaData "SymmetricAlgorithm" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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 HashAlgorithm Source #
Constructors
| DeprecatedMD5 | |
| SHA1 | |
| RIPEMD160 | |
| SHA256 | |
| SHA384 | |
| SHA512 | |
| SHA224 | |
| SHA3_256 | |
| SHA3_512 | |
| OtherHA Word8 |
Instances
| FromJSON HashAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser HashAlgorithm Source # parseJSONList :: Value -> Parser [HashAlgorithm] Source # | |||||
| ToJSON HashAlgorithm Source # | |||||
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 # omitField :: HashAlgorithm -> Bool Source # | |||||
| Binary HashAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: HashAlgorithm -> Put Source # get :: Get HashAlgorithm Source # putList :: [HashAlgorithm] -> Put Source # | |||||
| Data HashAlgorithm Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: HashAlgorithm -> Rep HashAlgorithm x Source # to :: Rep HashAlgorithm x -> HashAlgorithm Source # | |||||
| Show HashAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq HashAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: HashAlgorithm -> HashAlgorithm -> Bool Source # (/=) :: HashAlgorithm -> HashAlgorithm -> Bool Source # | |||||
| Ord HashAlgorithm Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Hashable HashAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Pretty HashAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep HashAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep HashAlgorithm = D1 ('MetaData "HashAlgorithm" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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 "SHA3_256" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SHA3_512" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OtherHA" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8)))))) | |||||
Constructors
| Signature | |
Fields | |
Instances
| Binary Signature Source # | |||||
| Data Signature Source # | |||||
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 # | |||||
| Eq Signature Source # | |||||
| Packet Signature Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: Signature -> PacketType Signature Source # packetCode :: PacketType Signature -> Word8 Source # dynamicPacketCode :: Signature -> Word8 Source # toPkt :: Signature -> Pkt Source # | |||||
| Pretty Signature Source # | |||||
| Show (PacketType Signature) Source # | |||||
| Eq (PacketType Signature) Source # | |||||
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 # | |||||
Constructors
| SecretKey | |
Instances
| Binary SecretKey Source # | |||||
| Data SecretKey Source # | |||||
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 # | |||||
| Eq SecretKey Source # | |||||
| Packet SecretKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SecretKey -> PacketType SecretKey Source # packetCode :: PacketType SecretKey -> Word8 Source # dynamicPacketCode :: SecretKey -> Word8 Source # toPkt :: SecretKey -> Pkt Source # | |||||
| Pretty SecretKey Source # | |||||
| Show (PacketType SecretKey) Source # | |||||
| Eq (PacketType SecretKey) Source # | |||||
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 # | |||||
Phantom types for tracking subpacket classification and signature version These types are never instantiated; they exist purely for compile-time type safety.
Phantom marker for hashed subpackets (included in signature hash computation)
Constructors
| Salt | |
Fields
| |
Instances
| ToJSON Salt Source # | |||||
| Data Salt Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
| |||||
| Show Salt Source # | |||||
| Eq Salt Source # | |||||
| Ord Salt Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Hashable Salt Source # | |||||
| Wrapped Salt Source # | |||||
| Pretty Salt Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep Salt Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep Salt = D1 ('MetaData "Salt" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'True) (C1 ('MetaCons "Salt" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSalt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))) | |||||
| type Unwrapped Salt Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
Constructors
| Simple HashAlgorithm | |
| Salted HashAlgorithm Salt8 | |
| IteratedSalted HashAlgorithm Salt8 IterationCount | |
| Argon2 Salt16 Word8 Word8 Word8 | |
| OtherS2K Word8 ByteString |
Instances
| ToJSON S2K Source # | |||||
| Binary S2K Source # | |||||
| Data S2K Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
| |||||
| Show S2K Source # | |||||
| Eq S2K Source # | |||||
| Ord S2K Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Hashable S2K Source # | |||||
| Pretty S2K Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep S2K Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep S2K = D1 ('MetaData "S2K" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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 Salt8))) :+: (C1 ('MetaCons "IteratedSalted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HashAlgorithm) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Salt8) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IterationCount))) :+: (C1 ('MetaCons "Argon2" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Salt16) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8))) :+: 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 EdSigningCurve Source #
Instances
| FromJSON EdSigningCurve Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods parseJSON :: Value -> Parser EdSigningCurve Source # parseJSONList :: Value -> Parser [EdSigningCurve] Source # | |||||
| ToJSON EdSigningCurve Source # | |||||
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 # omitField :: EdSigningCurve -> Bool Source # | |||||
| Data EdSigningCurve Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Associated Types
Methods from :: EdSigningCurve -> Rep EdSigningCurve x Source # to :: Rep EdSigningCurve x -> EdSigningCurve Source # | |||||
| Show EdSigningCurve Source # | |||||
| Eq EdSigningCurve Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods (==) :: EdSigningCurve -> EdSigningCurve -> Bool Source # (/=) :: EdSigningCurve -> EdSigningCurve -> Bool Source # | |||||
| Ord EdSigningCurve Source # | |||||
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 # | |||||
| Pretty EdSigningCurve Source # | |||||
| type Rep EdSigningCurve Source # | |||||
Constructors
| PKESKPkt PKESKPayload | |
| SignaturePkt SignaturePayload | |
| SKESKPkt SKESKPayload | |
| OnePassSignaturePkt OnePassSignaturePayload | |
| SecretKeyPkt SomePKPayload SKAddendum | |
| PublicKeyPkt SomePKPayload | |
| SecretSubkeyPkt SomePKPayload SKAddendum | |
| CompressedDataPkt CompressionAlgorithm CompressedDataPayload | |
| SymEncDataPkt ByteString | |
| MarkerPkt ByteString | |
| LiteralDataPkt DataType FileName ThirtyTwoBitTimeStamp ByteString | |
| TrustPkt ByteString | |
| UserIdPkt Text | |
| PublicSubkeyPkt SomePKPayload | |
| UserAttributePkt [UserAttrSubPacket] | |
| SymEncIntegrityProtectedDataPkt SEIPDPayload | |
| ModificationDetectionCodePkt ByteString | |
| OtherPacketPkt Word8 ByteString | |
| BrokenPacketPkt String Word8 ByteString |
Instances
| ToJSON Pkt Source # | |||||
| Binary Pkt Source # | |||||
| Data Pkt Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Associated Types
| |||||
| Show Pkt Source # | |||||
| Eq Pkt Source # | |||||
| Ord Pkt Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| Hashable Pkt Source # | |||||
| Pretty Pkt Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| type Rep Pkt Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt type Rep Pkt = D1 ('MetaData "Pkt" "Codec.Encryption.OpenPGP.Types.Internal.Pkt" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) ((((C1 ('MetaCons "PKESKPkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PKESKPayload)) :+: 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 SKESKPayload)) :+: C1 ('MetaCons "OnePassSignaturePkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OnePassSignaturePayload)))) :+: ((C1 ('MetaCons "SecretKeyPkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SomePKPayload) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SKAddendum)) :+: C1 ('MetaCons "PublicKeyPkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SomePKPayload))) :+: (C1 ('MetaCons "SecretSubkeyPkt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SomePKPayload) :*: 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 SomePKPayload))))) :+: ((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 SEIPDPayload))) :+: (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)))))))) | |||||
Constructors
| NISTP256 | |
| NISTP384 | |
| NISTP521 | |
| Curve25519 | |
| Curve448 |
Instances
| Data ECCCurve Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
| |||||
| Show ECCCurve Source # | |||||
| Eq ECCCurve Source # | |||||
| Ord ECCCurve Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Hashable ECCCurve Source # | |||||
| Pretty ECCCurve Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep ECCCurve Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep ECCCurve = D1 ('MetaData "ECCCurve" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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) :+: C1 ('MetaCons "Curve448" 'PrefixI 'False) (U1 :: Type -> Type)))) | |||||
data PubKeyAlgorithm Source #
Constructors
| RSA | |
| DeprecatedRSAEncryptOnly | |
| DeprecatedRSASignOnly | |
| ElgamalEncryptOnly | |
| DSA | |
| ECDH | |
| ECDSA | |
| ForbiddenElgamal | |
| DH | |
| EdDSA | |
| X25519 | |
| X448 | |
| OtherPKA Word8 |
Instances
| FromJSON PubKeyAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser PubKeyAlgorithm Source # parseJSONList :: Value -> Parser [PubKeyAlgorithm] Source # | |||||
| ToJSON PubKeyAlgorithm Source # | |||||
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 # omitField :: PubKeyAlgorithm -> Bool Source # | |||||
| Binary PubKeyAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: PubKeyAlgorithm -> Put Source # get :: Get PubKeyAlgorithm Source # putList :: [PubKeyAlgorithm] -> Put Source # | |||||
| Data PubKeyAlgorithm Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: PubKeyAlgorithm -> Rep PubKeyAlgorithm x Source # to :: Rep PubKeyAlgorithm x -> PubKeyAlgorithm Source # | |||||
| Show PubKeyAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq PubKeyAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: PubKeyAlgorithm -> PubKeyAlgorithm -> Bool Source # (/=) :: PubKeyAlgorithm -> PubKeyAlgorithm -> Bool Source # | |||||
| Ord PubKeyAlgorithm Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Hashable PubKeyAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> PubKeyAlgorithm -> Int Source # hash :: PubKeyAlgorithm -> Int Source # | |||||
| Pretty PubKeyAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep PubKeyAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep PubKeyAlgorithm = D1 ('MetaData "PubKeyAlgorithm" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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 "X25519" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "X448" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Ed25519" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Ed448" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OtherPKA" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8)))))) | |||||
Phantom marker for unhashed subpackets (not included in signature hash computation)
Phantom marker for v4 signatures (8-octet issuer, no salt)
Instances
| SigningCapability 'AlgoEd25519 V4Sig Source # | |
Defined in Codec.Encryption.OpenPGP.Message | |
| SigningCapability 'AlgoEd448 V4Sig Source # | |
Defined in Codec.Encryption.OpenPGP.Message | |
| SigningCapability 'AlgoRSA V4Sig Source # | |
Defined in Codec.Encryption.OpenPGP.Message | |
Phantom marker for v6 signatures (fingerprint issuer, requires salt)
Instances
| SigningCapability 'AlgoEd25519 V6Sig Source # | |
Defined in Codec.Encryption.OpenPGP.Message | |
| SigningCapability 'AlgoEd448 V6Sig Source # | |
Defined in Codec.Encryption.OpenPGP.Message | |
| SigningCapability 'AlgoRSA V6Sig Source # | |
Defined in Codec.Encryption.OpenPGP.Message | |
newtype EightOctetKeyId Source #
Constructors
| EightOctetKeyId | |
Fields
| |
Instances
| FromJSON EightOctetKeyId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser EightOctetKeyId Source # parseJSONList :: Value -> Parser [EightOctetKeyId] Source # | |||||
| ToJSON EightOctetKeyId Source # | |||||
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 # omitField :: EightOctetKeyId -> Bool Source # | |||||
| Data EightOctetKeyId Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: EightOctetKeyId -> Rep EightOctetKeyId x Source # to :: Rep EightOctetKeyId x -> EightOctetKeyId Source # | |||||
| Read EightOctetKeyId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Show EightOctetKeyId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq EightOctetKeyId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: EightOctetKeyId -> EightOctetKeyId -> Bool Source # (/=) :: EightOctetKeyId -> EightOctetKeyId -> Bool Source # | |||||
| Ord EightOctetKeyId Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> EightOctetKeyId -> Int Source # hash :: EightOctetKeyId -> Int Source # | |||||
| Wrapped EightOctetKeyId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods _Wrapped' :: Iso' EightOctetKeyId (Unwrapped EightOctetKeyId) Source # | |||||
| Pretty EightOctetKeyId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Indexable KeyringIxs TKUnknown | |||||
Defined in Data.Conduit.OpenPGP.Keyring.Instances Methods indices :: IxList KeyringIxs TKUnknown | |||||
| Indexable KeyringIxs (TK 'PublicTK) | Index public TKs by key ID, fingerprint, and UID | ||||
Defined in Data.Conduit.OpenPGP.Keyring.Instances Methods indices :: IxList KeyringIxs (TK 'PublicTK) | |||||
| Indexable KeyringIxs (TK 'SecretTK) | Index secret TKs by key ID, fingerprint, and UID | ||||
Defined in Data.Conduit.OpenPGP.Keyring.Instances Methods indices :: IxList KeyringIxs (TK 'SecretTK) | |||||
| type Rep EightOctetKeyId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep EightOctetKeyId = D1 ('MetaData "EightOctetKeyId" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'True) (C1 ('MetaCons "EightOctetKeyId" 'PrefixI 'True) (S1 ('MetaSel ('Just "unEOKI") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))) | |||||
| type Unwrapped EightOctetKeyId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
newtype ThirtyTwoBitTimeStamp Source #
Constructors
| ThirtyTwoBitTimeStamp | |
Fields | |
Instances
| FromJSON ThirtyTwoBitTimeStamp Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser ThirtyTwoBitTimeStamp Source # parseJSONList :: Value -> Parser [ThirtyTwoBitTimeStamp] Source # | |||||
| ToJSON ThirtyTwoBitTimeStamp Source # | |||||
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 # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Enum ThirtyTwoBitTimeStamp Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: ThirtyTwoBitTimeStamp -> Rep ThirtyTwoBitTimeStamp x Source # to :: Rep ThirtyTwoBitTimeStamp x -> ThirtyTwoBitTimeStamp Source # | |||||
| Num ThirtyTwoBitTimeStamp Source # | |||||
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 # | |||||
| Integral ThirtyTwoBitTimeStamp Source # | |||||
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 # | |||||
| Real ThirtyTwoBitTimeStamp Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods | |||||
| Show ThirtyTwoBitTimeStamp Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq ThirtyTwoBitTimeStamp Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> Bool Source # (/=) :: ThirtyTwoBitTimeStamp -> ThirtyTwoBitTimeStamp -> Bool Source # | |||||
| Ord ThirtyTwoBitTimeStamp Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> ThirtyTwoBitTimeStamp -> Int Source # hash :: ThirtyTwoBitTimeStamp -> Int Source # | |||||
| Wrapped ThirtyTwoBitTimeStamp Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods _Wrapped' :: Iso' ThirtyTwoBitTimeStamp (Unwrapped ThirtyTwoBitTimeStamp) Source # | |||||
| Pretty ThirtyTwoBitTimeStamp Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep ThirtyTwoBitTimeStamp Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep ThirtyTwoBitTimeStamp = D1 ('MetaData "ThirtyTwoBitTimeStamp" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'True) (C1 ('MetaCons "ThirtyTwoBitTimeStamp" 'PrefixI 'True) (S1 ('MetaSel ('Just "unThirtyTwoBitTimeStamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32))) | |||||
| type Unwrapped ThirtyTwoBitTimeStamp Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
Instances
| FromJSON MPI Source # | |||||
| ToJSON MPI Source # | |||||
| Binary MPI Source # | |||||
| Data MPI Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
| |||||
| Show MPI Source # | |||||
| Eq MPI Source # | |||||
| Ord MPI Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Hashable MPI Source # | |||||
| Wrapped MPI Source # | |||||
| Pretty MPI Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep MPI Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Unwrapped MPI Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
data SigSubPacket Source #
Constructors
| SigSubPacket | |
Fields | |
Instances
| FromJSON SigSubPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser SigSubPacket Source # parseJSONList :: Value -> Parser [SigSubPacket] Source # | |||||
| ToJSON SigSubPacket Source # | |||||
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 # omitField :: SigSubPacket -> Bool Source # | |||||
| Binary SigSubPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: SigSubPacket -> Put Source # get :: Get SigSubPacket Source # putList :: [SigSubPacket] -> Put Source # | |||||
| Data SigSubPacket Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: SigSubPacket -> Rep SigSubPacket x Source # to :: Rep SigSubPacket x -> SigSubPacket Source # | |||||
| Show SigSubPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq SigSubPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: SigSubPacket -> SigSubPacket -> Bool Source # (/=) :: SigSubPacket -> SigSubPacket -> Bool Source # | |||||
| Ord SigSubPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods compare :: SigSubPacket -> SigSubPacket -> Ordering Source # (<) :: SigSubPacket -> SigSubPacket -> Bool Source # (<=) :: SigSubPacket -> SigSubPacket -> Bool Source # (>) :: SigSubPacket -> SigSubPacket -> Bool Source # (>=) :: SigSubPacket -> SigSubPacket -> Bool Source # max :: SigSubPacket -> SigSubPacket -> SigSubPacket Source # min :: SigSubPacket -> SigSubPacket -> SigSubPacket Source # | |||||
| Hashable SigSubPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Pretty SigSubPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep SigSubPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep SigSubPacket = D1 ('MetaData "SigSubPacket" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "SigSubPacket" 'PrefixI 'True) (S1 ('MetaSel ('Just "_sspCriticality") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_sspPayload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SigSubPacketPayload))) | |||||
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 Fingerprint | |
| 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 IssuerFingerprintVersion Fingerprint | |
| UserDefinedSigSub Word8 ByteString | |
| OtherSigSub Word8 ByteString |
Instances
| FromJSON SigSubPacketPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser SigSubPacketPayload Source # parseJSONList :: Value -> Parser [SigSubPacketPayload] Source # | |||||
| ToJSON SigSubPacketPayload Source # | |||||
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 # omitField :: SigSubPacketPayload -> Bool Source # | |||||
| Data SigSubPacketPayload Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: SigSubPacketPayload -> Rep SigSubPacketPayload x Source # to :: Rep SigSubPacketPayload x -> SigSubPacketPayload Source # | |||||
| Show SigSubPacketPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq SigSubPacketPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: SigSubPacketPayload -> SigSubPacketPayload -> Bool Source # (/=) :: SigSubPacketPayload -> SigSubPacketPayload -> Bool Source # | |||||
| Ord SigSubPacketPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods compare :: SigSubPacketPayload -> SigSubPacketPayload -> Ordering Source # (<) :: SigSubPacketPayload -> SigSubPacketPayload -> Bool Source # (<=) :: SigSubPacketPayload -> SigSubPacketPayload -> Bool Source # (>) :: SigSubPacketPayload -> SigSubPacketPayload -> Bool Source # (>=) :: SigSubPacketPayload -> SigSubPacketPayload -> Bool Source # max :: SigSubPacketPayload -> SigSubPacketPayload -> SigSubPacketPayload Source # min :: SigSubPacketPayload -> SigSubPacketPayload -> SigSubPacketPayload Source # | |||||
| Hashable SigSubPacketPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> SigSubPacketPayload -> Int Source # hash :: SigSubPacketPayload -> Int Source # | |||||
| Pretty SigSubPacketPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep SigSubPacketPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep SigSubPacketPayload = D1 ('MetaData "SigSubPacketPayload" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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 Fingerprint))))) :+: ((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 IssuerFingerprintVersion) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Fingerprint))) :+: (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))))))) | |||||
data SignaturePayload Source #
Constructors
| SigV3 SigType ThirtyTwoBitTimeStamp EightOctetKeyId PubKeyAlgorithm HashAlgorithm Word16 (NonEmpty MPI) | |
| SigV4 SigType PubKeyAlgorithm HashAlgorithm [SigSubPacket] [SigSubPacket] Word16 (NonEmpty MPI) | |
| SigV6 SigType PubKeyAlgorithm HashAlgorithm SignatureSalt [SigSubPacket] [SigSubPacket] Word16 (NonEmpty MPI) | |
| SigVOther Word8 ByteString |
Instances
| ToJSON SignaturePayload Source # | |||||
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 # omitField :: SignaturePayload -> Bool Source # | |||||
| Binary SignaturePayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: SignaturePayload -> Put Source # get :: Get SignaturePayload Source # putList :: [SignaturePayload] -> Put Source # | |||||
| Data SignaturePayload Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: SignaturePayload -> Rep SignaturePayload x Source # to :: Rep SignaturePayload x -> SignaturePayload Source # | |||||
| Show SignaturePayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq SignaturePayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: SignaturePayload -> SignaturePayload -> Bool Source # (/=) :: SignaturePayload -> SignaturePayload -> Bool Source # | |||||
| Ord SignaturePayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base 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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> SignaturePayload -> Int Source # hash :: SignaturePayload -> Int Source # | |||||
| Pretty SignaturePayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep SignaturePayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep SignaturePayload = D1 ('MetaData "SignaturePayload" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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 "SigV6" '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 SignatureSalt))) :*: ((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)))) | |||||
newtype SignatureSalt Source #
Constructors
| SignatureSalt | |
Fields | |
Instances
| ToJSON SignatureSalt Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: SignatureSalt -> Value Source # toEncoding :: SignatureSalt -> Encoding Source # toJSONList :: [SignatureSalt] -> Value Source # toEncodingList :: [SignatureSalt] -> Encoding Source # omitField :: SignatureSalt -> Bool Source # | |||||
| Data SignatureSalt Source # | |||||
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) -> SignatureSalt -> c SignatureSalt Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SignatureSalt Source # toConstr :: SignatureSalt -> Constr Source # dataTypeOf :: SignatureSalt -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SignatureSalt) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SignatureSalt) Source # gmapT :: (forall b. Data b => b -> b) -> SignatureSalt -> SignatureSalt Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SignatureSalt -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SignatureSalt -> r Source # gmapQ :: (forall d. Data d => d -> u) -> SignatureSalt -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> SignatureSalt -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SignatureSalt -> m SignatureSalt Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SignatureSalt -> m SignatureSalt Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SignatureSalt -> m SignatureSalt Source # | |||||
| Generic SignatureSalt Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: SignatureSalt -> Rep SignatureSalt x Source # to :: Rep SignatureSalt x -> SignatureSalt Source # | |||||
| Show SignatureSalt Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq SignatureSalt Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: SignatureSalt -> SignatureSalt -> Bool Source # (/=) :: SignatureSalt -> SignatureSalt -> Bool Source # | |||||
| Ord SignatureSalt Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods compare :: SignatureSalt -> SignatureSalt -> Ordering Source # (<) :: SignatureSalt -> SignatureSalt -> Bool Source # (<=) :: SignatureSalt -> SignatureSalt -> Bool Source # (>) :: SignatureSalt -> SignatureSalt -> Bool Source # (>=) :: SignatureSalt -> SignatureSalt -> Bool Source # max :: SignatureSalt -> SignatureSalt -> SignatureSalt Source # min :: SignatureSalt -> SignatureSalt -> SignatureSalt Source # | |||||
| Hashable SignatureSalt Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Pretty SignatureSalt Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep SignatureSalt Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep SignatureSalt = D1 ('MetaData "SignatureSalt" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'True) (C1 ('MetaCons "SignatureSalt" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSignatureSalt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))) | |||||
Constructors
| BinarySig | |
| CanonicalTextSig | |
| StandaloneSig | |
| GenericCert | |
| PersonaCert | |
| CasualCert | |
| PositiveCert | |
| SubkeyBindingSig | |
| PrimaryKeyBindingSig | |
| SignatureDirectlyOnAKey | |
| KeyRevocationSig | |
| SubkeyRevocationSig | |
| CertRevocationSig | |
| TimestampSig | |
| ThirdPartyConfirmationSig | |
| OtherSig Word8 |
Instances
| FromJSON SigType Source # | |||||
| ToJSON SigType Source # | |||||
| Binary SigType Source # | |||||
| Data SigType Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
| |||||
| Show SigType Source # | |||||
| Eq SigType Source # | |||||
| Ord SigType Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| FutureVal SigType Source # | |||||
| Hashable SigType Source # | |||||
| Pretty SigType Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep SigType Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep SigType = D1 ('MetaData "SigType" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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 SubpacketList hashedness version Source #
Type-safe subpacket list with phantom types to distinguish hashed vs unhashed and signature version constraints (v4 vs v6). The type parameters erase at runtime; they exist purely for compile-time safety.
Constructors
| SubpacketList [SigSubPacket] |
Instances
| Functor (SubpacketList h) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fmap :: (a -> b) -> SubpacketList h a -> SubpacketList h b Source # (<$) :: a -> SubpacketList h b -> SubpacketList h a Source # | |||||
| (Data hashedness, Data version) => Data (SubpacketList hashedness version) Source # | |||||
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) -> SubpacketList hashedness version -> c (SubpacketList hashedness version) Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (SubpacketList hashedness version) Source # toConstr :: SubpacketList hashedness version -> Constr Source # dataTypeOf :: SubpacketList hashedness version -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (SubpacketList hashedness version)) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (SubpacketList hashedness version)) Source # gmapT :: (forall b. Data b => b -> b) -> SubpacketList hashedness version -> SubpacketList hashedness version Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SubpacketList hashedness version -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SubpacketList hashedness version -> r Source # gmapQ :: (forall d. Data d => d -> u) -> SubpacketList hashedness version -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> SubpacketList hashedness version -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SubpacketList hashedness version -> m (SubpacketList hashedness version) Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SubpacketList hashedness version -> m (SubpacketList hashedness version) Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SubpacketList hashedness version -> m (SubpacketList hashedness version) Source # | |||||
| Generic (SubpacketList hashedness version) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: SubpacketList hashedness version -> Rep (SubpacketList hashedness version) x Source # to :: Rep (SubpacketList hashedness version) x -> SubpacketList hashedness version Source # | |||||
| Show (SubpacketList hashedness version) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq (SubpacketList hashedness version) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: SubpacketList hashedness version -> SubpacketList hashedness version -> Bool Source # (/=) :: SubpacketList hashedness version -> SubpacketList hashedness version -> Bool Source # | |||||
| Ord (SubpacketList hashedness version) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods compare :: SubpacketList hashedness version -> SubpacketList hashedness version -> Ordering Source # (<) :: SubpacketList hashedness version -> SubpacketList hashedness version -> Bool Source # (<=) :: SubpacketList hashedness version -> SubpacketList hashedness version -> Bool Source # (>) :: SubpacketList hashedness version -> SubpacketList hashedness version -> Bool Source # (>=) :: SubpacketList hashedness version -> SubpacketList hashedness version -> Bool Source # max :: SubpacketList hashedness version -> SubpacketList hashedness version -> SubpacketList hashedness version Source # min :: SubpacketList hashedness version -> SubpacketList hashedness version -> SubpacketList hashedness version Source # | |||||
| type Rep (SubpacketList hashedness version) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep (SubpacketList hashedness version) = D1 ('MetaData "SubpacketList" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'True) (C1 ('MetaCons "SubpacketList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SigSubPacket]))) | |||||
data IssuerFingerprintVersion Source #
Constructors
| IssuerFingerprintV4 | |
| IssuerFingerprintV6 |
Instances
| FromJSON IssuerFingerprintVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| ToJSON IssuerFingerprintVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: IssuerFingerprintVersion -> Value Source # toEncoding :: IssuerFingerprintVersion -> Encoding Source # toJSONList :: [IssuerFingerprintVersion] -> Value Source # toEncodingList :: [IssuerFingerprintVersion] -> Encoding Source # | |||||
| Data IssuerFingerprintVersion Source # | |||||
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) -> IssuerFingerprintVersion -> c IssuerFingerprintVersion Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IssuerFingerprintVersion Source # toConstr :: IssuerFingerprintVersion -> Constr Source # dataTypeOf :: IssuerFingerprintVersion -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IssuerFingerprintVersion) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IssuerFingerprintVersion) Source # gmapT :: (forall b. Data b => b -> b) -> IssuerFingerprintVersion -> IssuerFingerprintVersion Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IssuerFingerprintVersion -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IssuerFingerprintVersion -> r Source # gmapQ :: (forall d. Data d => d -> u) -> IssuerFingerprintVersion -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> IssuerFingerprintVersion -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> IssuerFingerprintVersion -> m IssuerFingerprintVersion Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IssuerFingerprintVersion -> m IssuerFingerprintVersion Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IssuerFingerprintVersion -> m IssuerFingerprintVersion Source # | |||||
| Generic IssuerFingerprintVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: IssuerFingerprintVersion -> Rep IssuerFingerprintVersion x Source # to :: Rep IssuerFingerprintVersion x -> IssuerFingerprintVersion Source # | |||||
| Show IssuerFingerprintVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq IssuerFingerprintVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: IssuerFingerprintVersion -> IssuerFingerprintVersion -> Bool Source # (/=) :: IssuerFingerprintVersion -> IssuerFingerprintVersion -> Bool Source # | |||||
| Ord IssuerFingerprintVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods compare :: IssuerFingerprintVersion -> IssuerFingerprintVersion -> Ordering Source # (<) :: IssuerFingerprintVersion -> IssuerFingerprintVersion -> Bool Source # (<=) :: IssuerFingerprintVersion -> IssuerFingerprintVersion -> Bool Source # (>) :: IssuerFingerprintVersion -> IssuerFingerprintVersion -> Bool Source # (>=) :: IssuerFingerprintVersion -> IssuerFingerprintVersion -> Bool Source # max :: IssuerFingerprintVersion -> IssuerFingerprintVersion -> IssuerFingerprintVersion Source # min :: IssuerFingerprintVersion -> IssuerFingerprintVersion -> IssuerFingerprintVersion Source # | |||||
| Hashable IssuerFingerprintVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> IssuerFingerprintVersion -> Int Source # hash :: IssuerFingerprintVersion -> Int Source # | |||||
| Pretty IssuerFingerprintVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods pretty :: IssuerFingerprintVersion -> Doc ann prettyList :: [IssuerFingerprintVersion] -> Doc ann | |||||
| type Rep IssuerFingerprintVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep IssuerFingerprintVersion = D1 ('MetaData "IssuerFingerprintVersion" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "IssuerFingerprintV4" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IssuerFingerprintV6" 'PrefixI 'False) (U1 :: Type -> Type)) | |||||
newtype DSA_PublicKey Source #
Constructors
| DSA_PublicKey | |
Fields | |
Instances
| ToJSON DSA_PublicKey Source # | |||||
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 # omitField :: DSA_PublicKey -> Bool Source # | |||||
| Data DSA_PublicKey Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Associated Types
Methods from :: DSA_PublicKey -> Rep DSA_PublicKey x Source # to :: Rep DSA_PublicKey x -> DSA_PublicKey Source # | |||||
| Show DSA_PublicKey Source # | |||||
| Eq DSA_PublicKey Source # | |||||
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 # | |||||
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 # | |||||
| Pretty DSA_PublicKey Source # | |||||
| type Rep DSA_PublicKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes type Rep DSA_PublicKey = D1 ('MetaData "DSA_PublicKey" "Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'True) (C1 ('MetaCons "DSA_PublicKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "unDSA_PublicKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PublicKey))) | |||||
newtype DSA_Params Source #
Constructors
| DSA_Params | |
Fields | |
Instances
| ToJSON DSA_Params Source # | |||||
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 # omitField :: DSA_Params -> Bool Source # | |||||
| Data DSA_Params Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Associated Types
| |||||
| Show DSA_Params Source # | |||||
| Eq DSA_Params Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods (==) :: DSA_Params -> DSA_Params -> Bool Source # (/=) :: DSA_Params -> DSA_Params -> Bool Source # | |||||
| Ord DSA_Params Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods compare :: DSA_Params -> DSA_Params -> Ordering Source # (<) :: DSA_Params -> DSA_Params -> Bool Source # (<=) :: DSA_Params -> DSA_Params -> Bool Source # (>) :: DSA_Params -> DSA_Params -> Bool Source # (>=) :: DSA_Params -> DSA_Params -> Bool Source # max :: DSA_Params -> DSA_Params -> DSA_Params Source # min :: DSA_Params -> DSA_Params -> DSA_Params Source # | |||||
| Hashable DSA_Params Source # | |||||
| Pretty DSA_Params Source # | |||||
| type Rep DSA_Params Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes type Rep DSA_Params = D1 ('MetaData "DSA_Params" "Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'True) (C1 ('MetaCons "DSA_Params" 'PrefixI 'True) (S1 ('MetaSel ('Just "unDSA_Params") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Params))) | |||||
newtype RSA_PublicKey Source #
Constructors
| RSA_PublicKey | |
Fields | |
Instances
| ToJSON RSA_PublicKey Source # | |||||
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 # omitField :: RSA_PublicKey -> Bool Source # | |||||
| Data RSA_PublicKey Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Associated Types
Methods from :: RSA_PublicKey -> Rep RSA_PublicKey x Source # to :: Rep RSA_PublicKey x -> RSA_PublicKey Source # | |||||
| Show RSA_PublicKey Source # | |||||
| Eq RSA_PublicKey Source # | |||||
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 # | |||||
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 # | |||||
| Pretty RSA_PublicKey Source # | |||||
| type Rep RSA_PublicKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes type Rep RSA_PublicKey = D1 ('MetaData "RSA_PublicKey" "Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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 | |
Instances
| ToJSON ECDSA_PublicKey Source # | |||||
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 # omitField :: ECDSA_PublicKey -> Bool Source # | |||||
| Data ECDSA_PublicKey Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Associated Types
Methods from :: ECDSA_PublicKey -> Rep ECDSA_PublicKey x Source # to :: Rep ECDSA_PublicKey x -> ECDSA_PublicKey Source # | |||||
| Show ECDSA_PublicKey Source # | |||||
| Eq ECDSA_PublicKey Source # | |||||
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 # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods hashWithSalt :: Int -> ECDSA_PublicKey -> Int Source # hash :: ECDSA_PublicKey -> Int Source # | |||||
| Pretty ECDSA_PublicKey Source # | |||||
| type Rep ECDSA_PublicKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes type Rep ECDSA_PublicKey = D1 ('MetaData "ECDSA_PublicKey" "Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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 | |
Instances
| ToJSON DSA_PrivateKey Source # | |||||
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 # omitField :: DSA_PrivateKey -> Bool Source # | |||||
| Data DSA_PrivateKey Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Associated Types
Methods from :: DSA_PrivateKey -> Rep DSA_PrivateKey x Source # to :: Rep DSA_PrivateKey x -> DSA_PrivateKey Source # | |||||
| Show DSA_PrivateKey Source # | |||||
| Eq DSA_PrivateKey Source # | |||||
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 # | |||||
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 # | |||||
| Pretty DSA_PrivateKey Source # | |||||
| type Rep DSA_PrivateKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes type Rep DSA_PrivateKey = D1 ('MetaData "DSA_PrivateKey" "Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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 | |
Instances
| ToJSON RSA_PrivateKey Source # | |||||
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 # omitField :: RSA_PrivateKey -> Bool Source # | |||||
| Data RSA_PrivateKey Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Associated Types
Methods from :: RSA_PrivateKey -> Rep RSA_PrivateKey x Source # to :: Rep RSA_PrivateKey x -> RSA_PrivateKey Source # | |||||
| Show RSA_PrivateKey Source # | |||||
| Eq RSA_PrivateKey Source # | |||||
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 # | |||||
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 # | |||||
| Pretty RSA_PrivateKey Source # | |||||
| type Rep RSA_PrivateKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes type Rep RSA_PrivateKey = D1 ('MetaData "RSA_PrivateKey" "Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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 | |
Instances
| ToJSON ECDSA_PrivateKey Source # | |||||
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 # omitField :: ECDSA_PrivateKey -> Bool Source # | |||||
| Data ECDSA_PrivateKey Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Associated Types
Methods from :: ECDSA_PrivateKey -> Rep ECDSA_PrivateKey x Source # to :: Rep ECDSA_PrivateKey x -> ECDSA_PrivateKey Source # | |||||
| Show ECDSA_PrivateKey Source # | |||||
| Eq ECDSA_PrivateKey Source # | |||||
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 # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods hashWithSalt :: Int -> ECDSA_PrivateKey -> Int Source # hash :: ECDSA_PrivateKey -> Int Source # | |||||
| Pretty ECDSA_PrivateKey Source # | |||||
| type Rep ECDSA_PrivateKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes type Rep ECDSA_PrivateKey = D1 ('MetaData "ECDSA_PrivateKey" "Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'True) (C1 ('MetaCons "ECDSA_PrivateKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "unECDSA_PrivateKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PrivateKey))) | |||||
hashWithCurveCommon :: Int -> CurveCommon -> Int Source #
compareCurveCommon :: CurveCommon -> CurveCommon -> Ordering Source #
newtype ECurvePoint Source #
Constructors
| ECurvePoint | |
Fields | |
Instances
| FromJSON ECurvePoint Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods parseJSON :: Value -> Parser ECurvePoint Source # parseJSONList :: Value -> Parser [ECurvePoint] Source # | |||||
| ToJSON ECurvePoint Source # | |||||
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 # omitField :: ECurvePoint -> Bool Source # | |||||
| Data ECurvePoint Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Associated Types
Methods from :: ECurvePoint -> Rep ECurvePoint x Source # to :: Rep ECurvePoint x -> ECurvePoint Source # | |||||
| Show ECurvePoint Source # | |||||
| Eq ECurvePoint Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes Methods (==) :: ECurvePoint -> ECurvePoint -> Bool Source # (/=) :: ECurvePoint -> ECurvePoint -> Bool Source # | |||||
| type Rep ECurvePoint Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes type Rep ECurvePoint = D1 ('MetaData "ECurvePoint" "Codec.Encryption.OpenPGP.Types.Internal.CryptonNewtypes" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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 #
Constructors
| ByteRange | |
Fields
| |
Instances
| Data ByteRange Source # | |||||
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) -> ByteRange -> c ByteRange Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ByteRange Source # toConstr :: ByteRange -> Constr Source # dataTypeOf :: ByteRange -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ByteRange) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ByteRange) Source # gmapT :: (forall b. Data b => b -> b) -> ByteRange -> ByteRange Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ByteRange -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ByteRange -> r Source # gmapQ :: (forall d. Data d => d -> u) -> ByteRange -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> ByteRange -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ByteRange -> m ByteRange Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ByteRange -> m ByteRange Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ByteRange -> m ByteRange Source # | |||||
| Generic ByteRange Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
| |||||
| Show ByteRange Source # | |||||
| Eq ByteRange Source # | |||||
| Ord ByteRange Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep ByteRange Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep ByteRange = D1 ('MetaData "ByteRange" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "ByteRange" 'PrefixI 'True) (S1 ('MetaSel ('Just "_rangeOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int64) :*: S1 ('MetaSel ('Just "_rangeLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int64))) | |||||
newtype WireRepSourceId Source #
Constructors
| WireRepSourceId | |
Fields | |
Instances
| Data WireRepSourceId Source # | |||||
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) -> WireRepSourceId -> c WireRepSourceId Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c WireRepSourceId Source # toConstr :: WireRepSourceId -> Constr Source # dataTypeOf :: WireRepSourceId -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c WireRepSourceId) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c WireRepSourceId) Source # gmapT :: (forall b. Data b => b -> b) -> WireRepSourceId -> WireRepSourceId Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> WireRepSourceId -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> WireRepSourceId -> r Source # gmapQ :: (forall d. Data d => d -> u) -> WireRepSourceId -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> WireRepSourceId -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> WireRepSourceId -> m WireRepSourceId Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> WireRepSourceId -> m WireRepSourceId Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> WireRepSourceId -> m WireRepSourceId Source # | |||||
| Generic WireRepSourceId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: WireRepSourceId -> Rep WireRepSourceId x Source # to :: Rep WireRepSourceId x -> WireRepSourceId Source # | |||||
| Show WireRepSourceId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq WireRepSourceId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: WireRepSourceId -> WireRepSourceId -> Bool Source # (/=) :: WireRepSourceId -> WireRepSourceId -> Bool Source # | |||||
| Ord WireRepSourceId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods compare :: WireRepSourceId -> WireRepSourceId -> Ordering Source # (<) :: WireRepSourceId -> WireRepSourceId -> Bool Source # (<=) :: WireRepSourceId -> WireRepSourceId -> Bool Source # (>) :: WireRepSourceId -> WireRepSourceId -> Bool Source # (>=) :: WireRepSourceId -> WireRepSourceId -> Bool Source # max :: WireRepSourceId -> WireRepSourceId -> WireRepSourceId Source # min :: WireRepSourceId -> WireRepSourceId -> WireRepSourceId Source # | |||||
| type Rep WireRepSourceId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep WireRepSourceId = D1 ('MetaData "WireRepSourceId" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'True) (C1 ('MetaCons "WireRepSourceId" 'PrefixI 'True) (S1 ('MetaSel ('Just "_unWireRepSourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int64))) | |||||
data WireRepRef Source #
Constructors
| WireRepRef | |
Fields | |
Instances
| Data WireRepRef Source # | |||||
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) -> WireRepRef -> c WireRepRef Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c WireRepRef Source # toConstr :: WireRepRef -> Constr Source # dataTypeOf :: WireRepRef -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c WireRepRef) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c WireRepRef) Source # gmapT :: (forall b. Data b => b -> b) -> WireRepRef -> WireRepRef Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> WireRepRef -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> WireRepRef -> r Source # gmapQ :: (forall d. Data d => d -> u) -> WireRepRef -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> WireRepRef -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> WireRepRef -> m WireRepRef Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> WireRepRef -> m WireRepRef Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> WireRepRef -> m WireRepRef Source # | |||||
| Generic WireRepRef Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
| |||||
| Show WireRepRef Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq WireRepRef Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: WireRepRef -> WireRepRef -> Bool Source # (/=) :: WireRepRef -> WireRepRef -> Bool Source # | |||||
| Ord WireRepRef Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods compare :: WireRepRef -> WireRepRef -> Ordering Source # (<) :: WireRepRef -> WireRepRef -> Bool Source # (<=) :: WireRepRef -> WireRepRef -> Bool Source # (>) :: WireRepRef -> WireRepRef -> Bool Source # (>=) :: WireRepRef -> WireRepRef -> Bool Source # max :: WireRepRef -> WireRepRef -> WireRepRef Source # min :: WireRepRef -> WireRepRef -> WireRepRef Source # | |||||
| type Rep WireRepRef Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep WireRepRef = D1 ('MetaData "WireRepRef" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "WireRepRef" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_wireRepSourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 WireRepSourceId) :*: S1 ('MetaSel ('Just "_wireRepLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int64)) :*: (S1 ('MetaSel ('Just "_wireRepName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_wireRepWasOriginallyArmored") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) | |||||
type WireRepRefs = NonEmpty WireRepRef Source #
wireRepRef :: ByteString -> WireRepRef Source #
mkWireRepRefWithLength :: Maybe Text -> Bool -> Int64 -> WireRepRef Source #
namedWireRepRef :: Text -> ByteString -> WireRepRef Source #
mkWireRepRef :: Maybe Text -> Bool -> ByteString -> WireRepRef Source #
class (Eq a, Ord a) => FutureFlag a where Source #
Instances
| FutureFlag FeatureFlag Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |
| FutureFlag KSPFlag Source # | |
| FutureFlag KeyFlag Source # | |
| FutureFlag NotationFlag Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |
| FutureFlag RevocationClass Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |
class (Eq a, Ord a) => FutureVal a where Source #
Instances
| FutureVal AEADAlgorithm Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |
| FutureVal CompressionAlgorithm Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: CompressionAlgorithm -> Word8 Source # toFVal :: Word8 -> CompressionAlgorithm Source # | |
| FutureVal DataType Source # | |
| FutureVal HashAlgorithm Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |
| FutureVal ImageFormat Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |
| FutureVal PubKeyAlgorithm Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |
| FutureVal RevocationCode Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |
| FutureVal SigType Source # | |
| FutureVal SymmetricAlgorithm Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: SymmetricAlgorithm -> Word8 Source # toFVal :: Word8 -> SymmetricAlgorithm Source # | |
data NotationFlag Source #
Constructors
| HumanReadable | |
| OtherNF Word8 |
Instances
| FromJSON NotationFlag Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser NotationFlag Source # parseJSONList :: Value -> Parser [NotationFlag] Source # | |||||
| ToJSON NotationFlag Source # | |||||
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 # omitField :: NotationFlag -> Bool Source # | |||||
| Data NotationFlag Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: NotationFlag -> Rep NotationFlag x Source # to :: Rep NotationFlag x -> NotationFlag Source # | |||||
| Show NotationFlag Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq NotationFlag Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: NotationFlag -> NotationFlag -> Bool Source # (/=) :: NotationFlag -> NotationFlag -> Bool Source # | |||||
| Ord NotationFlag Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Hashable NotationFlag Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Pretty NotationFlag Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep NotationFlag Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep NotationFlag = D1 ('MetaData "NotationFlag" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "HumanReadable" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OtherNF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8))) | |||||
mkNotationFlag :: Word8 -> NotationFlag Source #
newtype ThirtyTwoBitDuration Source #
Constructors
| ThirtyTwoBitDuration | |
Fields | |
Instances
| FromJSON ThirtyTwoBitDuration Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser ThirtyTwoBitDuration Source # parseJSONList :: Value -> Parser [ThirtyTwoBitDuration] Source # | |||||
| ToJSON ThirtyTwoBitDuration Source # | |||||
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 # omitField :: ThirtyTwoBitDuration -> Bool Source # | |||||
| Data ThirtyTwoBitDuration Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Enum ThirtyTwoBitDuration Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: ThirtyTwoBitDuration -> Rep ThirtyTwoBitDuration x Source # to :: Rep ThirtyTwoBitDuration x -> ThirtyTwoBitDuration Source # | |||||
| Num ThirtyTwoBitDuration Source # | |||||
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 # | |||||
| Integral ThirtyTwoBitDuration Source # | |||||
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 # | |||||
| Real ThirtyTwoBitDuration Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods | |||||
| Show ThirtyTwoBitDuration Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq ThirtyTwoBitDuration Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> Bool Source # (/=) :: ThirtyTwoBitDuration -> ThirtyTwoBitDuration -> Bool Source # | |||||
| Ord ThirtyTwoBitDuration Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> ThirtyTwoBitDuration -> Int Source # hash :: ThirtyTwoBitDuration -> Int Source # | |||||
| Wrapped ThirtyTwoBitDuration Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods _Wrapped' :: Iso' ThirtyTwoBitDuration (Unwrapped ThirtyTwoBitDuration) Source # | |||||
| Pretty ThirtyTwoBitDuration Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep ThirtyTwoBitDuration Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep ThirtyTwoBitDuration = D1 ('MetaData "ThirtyTwoBitDuration" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'True) (C1 ('MetaCons "ThirtyTwoBitDuration" 'PrefixI 'True) (S1 ('MetaSel ('Just "unThirtyTwoBitDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32))) | |||||
| type Unwrapped ThirtyTwoBitDuration Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
data RevocationClass Source #
Constructors
| SensitiveRK | |
| RClOther Word8 |
Instances
| FromJSON RevocationClass Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser RevocationClass Source # parseJSONList :: Value -> Parser [RevocationClass] Source # | |||||
| ToJSON RevocationClass Source # | |||||
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 # omitField :: RevocationClass -> Bool Source # | |||||
| Data RevocationClass Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: RevocationClass -> Rep RevocationClass x Source # to :: Rep RevocationClass x -> RevocationClass Source # | |||||
| Show RevocationClass Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq RevocationClass Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: RevocationClass -> RevocationClass -> Bool Source # (/=) :: RevocationClass -> RevocationClass -> Bool Source # | |||||
| Ord RevocationClass Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Hashable RevocationClass Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> RevocationClass -> Int Source # hash :: RevocationClass -> Int Source # | |||||
| Pretty RevocationClass Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep RevocationClass Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep RevocationClass = D1 ('MetaData "RevocationClass" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "SensitiveRK" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RClOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8))) | |||||
bsToHexUpper :: ByteString -> String Source #
newtype SpacedFingerprint Source #
Constructors
| SpacedFingerprint | |
Fields | |
Instances
| Data SpacedFingerprint Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: SpacedFingerprint -> Rep SpacedFingerprint x Source # to :: Rep SpacedFingerprint x -> SpacedFingerprint Source # | |||||
| Show SpacedFingerprint Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq SpacedFingerprint Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: SpacedFingerprint -> SpacedFingerprint -> Bool Source # (/=) :: SpacedFingerprint -> SpacedFingerprint -> Bool Source # | |||||
| Ord SpacedFingerprint Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods _Wrapped' :: Iso' SpacedFingerprint (Unwrapped SpacedFingerprint) Source # | |||||
| Pretty SpacedFingerprint Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep SpacedFingerprint Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep SpacedFingerprint = D1 ('MetaData "SpacedFingerprint" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'True) (C1 ('MetaCons "SpacedFingerprint" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSpacedFingerprint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Fingerprint))) | |||||
| type Unwrapped SpacedFingerprint Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
data KeyIdentifier Source #
Constructors
| KeyIdentifierWildcard | |
| KeyIdentifierEightOctet EightOctetKeyId | |
| KeyIdentifierFingerprint Fingerprint |
Instances
| FromJSON KeyIdentifier Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser KeyIdentifier Source # parseJSONList :: Value -> Parser [KeyIdentifier] Source # | |||||
| ToJSON KeyIdentifier Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: KeyIdentifier -> Value Source # toEncoding :: KeyIdentifier -> Encoding Source # toJSONList :: [KeyIdentifier] -> Value Source # toEncodingList :: [KeyIdentifier] -> Encoding Source # omitField :: KeyIdentifier -> Bool Source # | |||||
| Data KeyIdentifier Source # | |||||
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) -> KeyIdentifier -> c KeyIdentifier Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c KeyIdentifier Source # toConstr :: KeyIdentifier -> Constr Source # dataTypeOf :: KeyIdentifier -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c KeyIdentifier) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c KeyIdentifier) Source # gmapT :: (forall b. Data b => b -> b) -> KeyIdentifier -> KeyIdentifier Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> KeyIdentifier -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> KeyIdentifier -> r Source # gmapQ :: (forall d. Data d => d -> u) -> KeyIdentifier -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> KeyIdentifier -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> KeyIdentifier -> m KeyIdentifier Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyIdentifier -> m KeyIdentifier Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyIdentifier -> m KeyIdentifier Source # | |||||
| Generic KeyIdentifier Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: KeyIdentifier -> Rep KeyIdentifier x Source # to :: Rep KeyIdentifier x -> KeyIdentifier Source # | |||||
| Show KeyIdentifier Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq KeyIdentifier Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: KeyIdentifier -> KeyIdentifier -> Bool Source # (/=) :: KeyIdentifier -> KeyIdentifier -> Bool Source # | |||||
| Ord KeyIdentifier Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods compare :: KeyIdentifier -> KeyIdentifier -> Ordering Source # (<) :: KeyIdentifier -> KeyIdentifier -> Bool Source # (<=) :: KeyIdentifier -> KeyIdentifier -> Bool Source # (>) :: KeyIdentifier -> KeyIdentifier -> Bool Source # (>=) :: KeyIdentifier -> KeyIdentifier -> Bool Source # max :: KeyIdentifier -> KeyIdentifier -> KeyIdentifier Source # min :: KeyIdentifier -> KeyIdentifier -> KeyIdentifier Source # | |||||
| Pretty KeyIdentifier Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep KeyIdentifier Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep KeyIdentifier = D1 ('MetaData "KeyIdentifier" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "KeyIdentifierWildcard" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "KeyIdentifierEightOctet" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EightOctetKeyId)) :+: C1 ('MetaCons "KeyIdentifierFingerprint" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Fingerprint)))) | |||||
newtype NotationName Source #
Constructors
| NotationName | |
Fields | |
Instances
| FromJSON NotationName Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser NotationName Source # parseJSONList :: Value -> Parser [NotationName] Source # | |||||
| ToJSON NotationName Source # | |||||
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 # omitField :: NotationName -> Bool Source # | |||||
| Data NotationName Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: NotationName -> Rep NotationName x Source # to :: Rep NotationName x -> NotationName Source # | |||||
| Show NotationName Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq NotationName Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: NotationName -> NotationName -> Bool Source # (/=) :: NotationName -> NotationName -> Bool Source # | |||||
| Ord NotationName Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Wrapped NotationName Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods _Wrapped' :: Iso' NotationName (Unwrapped NotationName) Source # | |||||
| Pretty NotationName Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep NotationName Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep NotationName = D1 ('MetaData "NotationName" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'True) (C1 ('MetaCons "NotationName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unNotationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))) | |||||
| type Unwrapped NotationName Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
newtype NotationValue Source #
Constructors
| NotationValue | |
Fields | |
Instances
| FromJSON NotationValue Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser NotationValue Source # parseJSONList :: Value -> Parser [NotationValue] Source # | |||||
| ToJSON NotationValue Source # | |||||
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 # omitField :: NotationValue -> Bool Source # | |||||
| Data NotationValue Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: NotationValue -> Rep NotationValue x Source # to :: Rep NotationValue x -> NotationValue Source # | |||||
| Show NotationValue Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq NotationValue Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: NotationValue -> NotationValue -> Bool Source # (/=) :: NotationValue -> NotationValue -> Bool Source # | |||||
| Ord NotationValue Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Wrapped NotationValue Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods _Wrapped' :: Iso' NotationValue (Unwrapped NotationValue) Source # | |||||
| Pretty NotationValue Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep NotationValue Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep NotationValue = D1 ('MetaData "NotationValue" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'True) (C1 ('MetaCons "NotationValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "unNotationValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))) | |||||
| type Unwrapped NotationValue Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
data CompressionAlgorithm Source #
Instances
| FromJSON CompressionAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser CompressionAlgorithm Source # parseJSONList :: Value -> Parser [CompressionAlgorithm] Source # | |||||
| ToJSON CompressionAlgorithm Source # | |||||
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 # omitField :: CompressionAlgorithm -> Bool Source # | |||||
| Binary CompressionAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: CompressionAlgorithm -> Put Source # get :: Get CompressionAlgorithm Source # putList :: [CompressionAlgorithm] -> Put Source # | |||||
| Data CompressionAlgorithm Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: CompressionAlgorithm -> Rep CompressionAlgorithm x Source # to :: Rep CompressionAlgorithm x -> CompressionAlgorithm Source # | |||||
| Show CompressionAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq CompressionAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: CompressionAlgorithm -> CompressionAlgorithm -> Bool Source # (/=) :: CompressionAlgorithm -> CompressionAlgorithm -> Bool Source # | |||||
| Ord CompressionAlgorithm Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods fromFVal :: CompressionAlgorithm -> Word8 Source # toFVal :: Word8 -> CompressionAlgorithm Source # | |||||
| Hashable CompressionAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> CompressionAlgorithm -> Int Source # hash :: CompressionAlgorithm -> Int Source # | |||||
| Pretty CompressionAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep CompressionAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep CompressionAlgorithm = D1 ('MetaData "CompressionAlgorithm" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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 AEADAlgorithm Source #
Constructors
| EAX | |
| OCB | |
| GCM | |
| OtherAEADAlgo Word8 |
Instances
| FromJSON AEADAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser AEADAlgorithm Source # parseJSONList :: Value -> Parser [AEADAlgorithm] Source # | |||||
| ToJSON AEADAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toJSON :: AEADAlgorithm -> Value Source # toEncoding :: AEADAlgorithm -> Encoding Source # toJSONList :: [AEADAlgorithm] -> Value Source # toEncodingList :: [AEADAlgorithm] -> Encoding Source # omitField :: AEADAlgorithm -> Bool Source # | |||||
| Data AEADAlgorithm Source # | |||||
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) -> AEADAlgorithm -> c AEADAlgorithm Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AEADAlgorithm Source # toConstr :: AEADAlgorithm -> Constr Source # dataTypeOf :: AEADAlgorithm -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AEADAlgorithm) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AEADAlgorithm) Source # gmapT :: (forall b. Data b => b -> b) -> AEADAlgorithm -> AEADAlgorithm Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AEADAlgorithm -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AEADAlgorithm -> r Source # gmapQ :: (forall d. Data d => d -> u) -> AEADAlgorithm -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> AEADAlgorithm -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> AEADAlgorithm -> m AEADAlgorithm Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AEADAlgorithm -> m AEADAlgorithm Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AEADAlgorithm -> m AEADAlgorithm Source # | |||||
| Generic AEADAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: AEADAlgorithm -> Rep AEADAlgorithm x Source # to :: Rep AEADAlgorithm x -> AEADAlgorithm Source # | |||||
| Show AEADAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq AEADAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: AEADAlgorithm -> AEADAlgorithm -> Bool Source # (/=) :: AEADAlgorithm -> AEADAlgorithm -> Bool Source # | |||||
| Ord AEADAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods compare :: AEADAlgorithm -> AEADAlgorithm -> Ordering Source # (<) :: AEADAlgorithm -> AEADAlgorithm -> Bool Source # (<=) :: AEADAlgorithm -> AEADAlgorithm -> Bool Source # (>) :: AEADAlgorithm -> AEADAlgorithm -> Bool Source # (>=) :: AEADAlgorithm -> AEADAlgorithm -> Bool Source # max :: AEADAlgorithm -> AEADAlgorithm -> AEADAlgorithm Source # min :: AEADAlgorithm -> AEADAlgorithm -> AEADAlgorithm Source # | |||||
| FutureVal AEADAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Hashable AEADAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Pretty AEADAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep AEADAlgorithm Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep AEADAlgorithm = D1 ('MetaData "AEADAlgorithm" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) ((C1 ('MetaCons "EAX" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OCB" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "GCM" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OtherAEADAlgo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8)))) | |||||
Instances
| FromJSON KSPFlag Source # | |||||
| ToJSON KSPFlag Source # | |||||
| Data KSPFlag Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
| |||||
| Show KSPFlag Source # | |||||
| Eq KSPFlag Source # | |||||
| Ord KSPFlag Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| FutureFlag KSPFlag Source # | |||||
| Hashable KSPFlag Source # | |||||
| Pretty KSPFlag Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep KSPFlag Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep KSPFlag = D1 ('MetaData "KSPFlag" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "NoModify" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "KSPOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) | |||||
Constructors
| GroupKey | |
| AuthKey | |
| SplitKey | |
| EncryptStorageKey | |
| EncryptCommunicationsKey | |
| SignDataKey | |
| CertifyKeysKey | |
| KFOther Int |
Instances
| FromJSON KeyFlag Source # | |||||
| ToJSON KeyFlag Source # | |||||
| Data KeyFlag Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
| |||||
| Show KeyFlag Source # | |||||
| Eq KeyFlag Source # | |||||
| Ord KeyFlag Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| FutureFlag KeyFlag Source # | |||||
| Hashable KeyFlag Source # | |||||
| Pretty KeyFlag Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep KeyFlag Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep KeyFlag = D1 ('MetaData "KeyFlag" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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
| FromJSON RevocationCode Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser RevocationCode Source # parseJSONList :: Value -> Parser [RevocationCode] Source # | |||||
| ToJSON RevocationCode Source # | |||||
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 # omitField :: RevocationCode -> Bool Source # | |||||
| Data RevocationCode Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: RevocationCode -> Rep RevocationCode x Source # to :: Rep RevocationCode x -> RevocationCode Source # | |||||
| Show RevocationCode Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq RevocationCode Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: RevocationCode -> RevocationCode -> Bool Source # (/=) :: RevocationCode -> RevocationCode -> Bool Source # | |||||
| Ord RevocationCode Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Hashable RevocationCode Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Pretty RevocationCode Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep RevocationCode Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep RevocationCode = D1 ('MetaData "RevocationCode" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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
| FeatureSEIPDv1 | |
| FeatureSEIPDv2 | |
| FeatureOther Int |
Instances
| FromJSON FeatureFlag Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser FeatureFlag Source # parseJSONList :: Value -> Parser [FeatureFlag] Source # | |||||
| ToJSON FeatureFlag Source # | |||||
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 # omitField :: FeatureFlag -> Bool Source # | |||||
| Data FeatureFlag Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: FeatureFlag -> Rep FeatureFlag x Source # to :: Rep FeatureFlag x -> FeatureFlag Source # | |||||
| Show FeatureFlag Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq FeatureFlag Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: FeatureFlag -> FeatureFlag -> Bool Source # (/=) :: FeatureFlag -> FeatureFlag -> Bool Source # | |||||
| Ord FeatureFlag Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Hashable FeatureFlag Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Pretty FeatureFlag Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep FeatureFlag Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep FeatureFlag = D1 ('MetaData "FeatureFlag" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "FeatureSEIPDv1" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "FeatureSEIPDv2" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FeatureOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))) | |||||
Instances
| FromJSON URL Source # | |||||
| ToJSON URL Source # | |||||
| Data URL Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
| |||||
| Show URL Source # | |||||
| Eq URL Source # | |||||
| Ord URL Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Hashable URL Source # | |||||
| Wrapped URL Source # | |||||
| Pretty URL Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep URL Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Unwrapped URL Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
data SignaturePayloadVersion Source #
Constructors
| SigPayloadV3 | |
| SigPayloadV4 | |
| SigPayloadV6 | |
| SigPayloadVOther |
Instances
| Data SignaturePayloadVersion Source # | |||||
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) -> SignaturePayloadVersion -> c SignaturePayloadVersion Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SignaturePayloadVersion Source # toConstr :: SignaturePayloadVersion -> Constr Source # dataTypeOf :: SignaturePayloadVersion -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SignaturePayloadVersion) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SignaturePayloadVersion) Source # gmapT :: (forall b. Data b => b -> b) -> SignaturePayloadVersion -> SignaturePayloadVersion Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SignaturePayloadVersion -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SignaturePayloadVersion -> r Source # gmapQ :: (forall d. Data d => d -> u) -> SignaturePayloadVersion -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> SignaturePayloadVersion -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SignaturePayloadVersion -> m SignaturePayloadVersion Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SignaturePayloadVersion -> m SignaturePayloadVersion Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SignaturePayloadVersion -> m SignaturePayloadVersion Source # | |||||
| Generic SignaturePayloadVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: SignaturePayloadVersion -> Rep SignaturePayloadVersion x Source # to :: Rep SignaturePayloadVersion x -> SignaturePayloadVersion Source # | |||||
| Show SignaturePayloadVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq SignaturePayloadVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: SignaturePayloadVersion -> SignaturePayloadVersion -> Bool Source # (/=) :: SignaturePayloadVersion -> SignaturePayloadVersion -> Bool Source # | |||||
| Ord SignaturePayloadVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods compare :: SignaturePayloadVersion -> SignaturePayloadVersion -> Ordering Source # (<) :: SignaturePayloadVersion -> SignaturePayloadVersion -> Bool Source # (<=) :: SignaturePayloadVersion -> SignaturePayloadVersion -> Bool Source # (>) :: SignaturePayloadVersion -> SignaturePayloadVersion -> Bool Source # (>=) :: SignaturePayloadVersion -> SignaturePayloadVersion -> Bool Source # max :: SignaturePayloadVersion -> SignaturePayloadVersion -> SignaturePayloadVersion Source # min :: SignaturePayloadVersion -> SignaturePayloadVersion -> SignaturePayloadVersion Source # | |||||
| Hashable SignaturePayloadVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> SignaturePayloadVersion -> Int Source # hash :: SignaturePayloadVersion -> Int Source # | |||||
| type Rep SignaturePayloadVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep SignaturePayloadVersion = D1 ('MetaData "SignaturePayloadVersion" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) ((C1 ('MetaCons "SigPayloadV3" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SigPayloadV4" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SigPayloadV6" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SigPayloadVOther" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data SignaturePayloadV (v :: SignaturePayloadVersion) where Source #
Constructors
| SigPayloadV3Data :: SigType -> ThirtyTwoBitTimeStamp -> EightOctetKeyId -> PubKeyAlgorithm -> HashAlgorithm -> Word16 -> NonEmpty MPI -> SignaturePayloadV 'SigPayloadV3 | |
| SigPayloadV4Data :: SigType -> PubKeyAlgorithm -> HashAlgorithm -> [SigSubPacket] -> [SigSubPacket] -> Word16 -> NonEmpty MPI -> SignaturePayloadV 'SigPayloadV4 | |
| SigPayloadV6Data :: SigType -> PubKeyAlgorithm -> HashAlgorithm -> SignatureSalt -> [SigSubPacket] -> [SigSubPacket] -> Word16 -> NonEmpty MPI -> SignaturePayloadV 'SigPayloadV6 | |
| SigPayloadOtherData :: Word8 -> ByteString -> SignaturePayloadV 'SigPayloadVOther |
Instances
| Show (SignaturePayloadV v) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |
| Eq (SignaturePayloadV v) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: SignaturePayloadV v -> SignaturePayloadV v -> Bool Source # (/=) :: SignaturePayloadV v -> SignaturePayloadV v -> Bool Source # | |
data SomeSignaturePayload where Source #
Constructors
| SomeSignaturePayload :: forall (v :: SignaturePayloadVersion). SignaturePayloadV v -> SomeSignaturePayload |
toSignaturePayload :: forall (v :: SignaturePayloadVersion). SignaturePayloadV v -> SignaturePayload Source #
asSignaturePayloadV3 :: SignaturePayload -> Either String (SignaturePayloadV 'SigPayloadV3) Source #
asSignaturePayloadV4 :: SignaturePayload -> Either String (SignaturePayloadV 'SigPayloadV4) Source #
asSignaturePayloadV6 :: SignaturePayload -> Either String (SignaturePayloadV 'SigPayloadV6) Source #
asSignaturePayloadOther :: SignaturePayload -> Either String (SignaturePayloadV 'SigPayloadVOther) Source #
fromSubpacketList :: SubpacketList h v -> [SigSubPacket] Source #
Extract the underlying list from a phantom-typed SubpacketList This is typically used internally during serialization/deserialization
toSubpacketList :: [SigSubPacket] -> SubpacketList h v Source #
Wrap a plain list into a phantom-typed SubpacketList Warning: This circumvents type safety; use only for trusted sources (e.g., parsing)
emptyHashedSubpackets :: SubpacketList Hashed v Source #
Create an empty hashed subpacket list for a given signature version
emptyUnhashedSubpackets :: SubpacketList Unhashed v Source #
Create an empty unhashed subpacket list for a given signature version
consHashedSubpacket :: SigSubPacket -> SubpacketList Hashed v -> SubpacketList Hashed v Source #
Append a subpacket to a hashed list, preserving phantom type
consUnhashedSubpacket :: SigSubPacket -> SubpacketList Unhashed v -> SubpacketList Unhashed v Source #
Append a subpacket to an unhashed list, preserving phantom type
data KeyVersion Source #
Constructors
| DeprecatedV3 | |
| V4 | |
| V6 |
Instances
| FromJSON KeyVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser KeyVersion Source # parseJSONList :: Value -> Parser [KeyVersion] Source # | |||||
| ToJSON KeyVersion Source # | |||||
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 # omitField :: KeyVersion -> Bool Source # | |||||
| Data KeyVersion Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
| |||||
| Show KeyVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq KeyVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: KeyVersion -> KeyVersion -> Bool Source # (/=) :: KeyVersion -> KeyVersion -> Bool Source # | |||||
| Ord KeyVersion Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Pretty KeyVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep KeyVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep KeyVersion = D1 ('MetaData "KeyVersion" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "DeprecatedV3" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "V4" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "V6" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
newtype SessionKey Source #
Constructors
| SessionKey | |
Fields | |
Instances
| Data SessionKey Source # | |||||
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) -> SessionKey -> c SessionKey Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SessionKey Source # toConstr :: SessionKey -> Constr Source # dataTypeOf :: SessionKey -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SessionKey) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SessionKey) Source # gmapT :: (forall b. Data b => b -> b) -> SessionKey -> SessionKey Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SessionKey -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SessionKey -> r Source # gmapQ :: (forall d. Data d => d -> u) -> SessionKey -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> SessionKey -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SessionKey -> m SessionKey Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SessionKey -> m SessionKey Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SessionKey -> m SessionKey Source # | |||||
| Generic SessionKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
| |||||
| Show SessionKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq SessionKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: SessionKey -> SessionKey -> Bool Source # (/=) :: SessionKey -> SessionKey -> Bool Source # | |||||
| Ord SessionKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods compare :: SessionKey -> SessionKey -> Ordering Source # (<) :: SessionKey -> SessionKey -> Bool Source # (<=) :: SessionKey -> SessionKey -> Bool Source # (>) :: SessionKey -> SessionKey -> Bool Source # (>=) :: SessionKey -> SessionKey -> Bool Source # max :: SessionKey -> SessionKey -> SessionKey Source # min :: SessionKey -> SessionKey -> SessionKey Source # | |||||
| Hashable SessionKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Wrapped SessionKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods _Wrapped' :: Iso' SessionKey (Unwrapped SessionKey) Source # | |||||
| type Rep SessionKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep SessionKey = D1 ('MetaData "SessionKey" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'True) (C1 ('MetaCons "SessionKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSessionKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))) | |||||
| type Unwrapped SessionKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
Constructors
| Salt8 | |
Fields | |
Instances
| ToJSON Salt8 Source # | |||||
| Data Salt8 Source # | |||||
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) -> Salt8 -> c Salt8 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Salt8 Source # toConstr :: Salt8 -> Constr Source # dataTypeOf :: Salt8 -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Salt8) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Salt8) Source # gmapT :: (forall b. Data b => b -> b) -> Salt8 -> Salt8 Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Salt8 -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Salt8 -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Salt8 -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Salt8 -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Salt8 -> m Salt8 Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Salt8 -> m Salt8 Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Salt8 -> m Salt8 Source # | |||||
| Generic Salt8 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
| |||||
| Show Salt8 Source # | |||||
| Eq Salt8 Source # | |||||
| Ord Salt8 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Hashable Salt8 Source # | |||||
| Wrapped Salt8 Source # | |||||
| Pretty Salt8 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep Salt8 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep Salt8 = D1 ('MetaData "Salt8" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'True) (C1 ('MetaCons "Salt8" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSalt8") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))) | |||||
| type Unwrapped Salt8 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
Constructors
| Salt16 | |
Fields | |
Instances
| ToJSON Salt16 Source # | |||||
| Data Salt16 Source # | |||||
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) -> Salt16 -> c Salt16 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Salt16 Source # toConstr :: Salt16 -> Constr Source # dataTypeOf :: Salt16 -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Salt16) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Salt16) Source # gmapT :: (forall b. Data b => b -> b) -> Salt16 -> Salt16 Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Salt16 -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Salt16 -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Salt16 -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Salt16 -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Salt16 -> m Salt16 Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Salt16 -> m Salt16 Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Salt16 -> m Salt16 Source # | |||||
| Generic Salt16 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
| |||||
| Show Salt16 Source # | |||||
| Eq Salt16 Source # | |||||
| Ord Salt16 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Hashable Salt16 Source # | |||||
| Wrapped Salt16 Source # | |||||
| Pretty Salt16 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep Salt16 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep Salt16 = D1 ('MetaData "Salt16" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'True) (C1 ('MetaCons "Salt16" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSalt16") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))) | |||||
| type Unwrapped Salt16 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
saltFromSalt8 :: Salt8 -> Salt Source #
saltFromSalt16 :: Salt16 -> Salt Source #
newtype IterationCount Source #
Constructors
| IterationCount | |
Fields | |
Instances
| FromJSON IterationCount Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser IterationCount Source # parseJSONList :: Value -> Parser [IterationCount] Source # | |||||
| ToJSON IterationCount Source # | |||||
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 # omitField :: IterationCount -> Bool Source # | |||||
| Data IterationCount Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Enum IterationCount Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: IterationCount -> Rep IterationCount x Source # to :: Rep IterationCount x -> IterationCount Source # | |||||
| Num IterationCount Source # | |||||
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 # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods toRational :: IterationCount -> Rational Source # | |||||
| Show IterationCount Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq IterationCount Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: IterationCount -> IterationCount -> Bool Source # (/=) :: IterationCount -> IterationCount -> Bool Source # | |||||
| Ord IterationCount Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Wrapped IterationCount Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods _Wrapped' :: Iso' IterationCount (Unwrapped IterationCount) Source # | |||||
| Pretty IterationCount Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep IterationCount Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep IterationCount = D1 ('MetaData "IterationCount" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'True) (C1 ('MetaCons "IterationCount" 'PrefixI 'True) (S1 ('MetaSel ('Just "unIterationCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) | |||||
| type Unwrapped IterationCount Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
data ImageFormat Source #
Constructors
| JPEG | |
| OtherImage Word8 |
Instances
| FromJSON ImageFormat Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser ImageFormat Source # parseJSONList :: Value -> Parser [ImageFormat] Source # | |||||
| ToJSON ImageFormat Source # | |||||
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 # omitField :: ImageFormat -> Bool Source # | |||||
| Data ImageFormat Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: ImageFormat -> Rep ImageFormat x Source # to :: Rep ImageFormat x -> ImageFormat Source # | |||||
| Show ImageFormat Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq ImageFormat Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: ImageFormat -> ImageFormat -> Bool Source # (/=) :: ImageFormat -> ImageFormat -> Bool Source # | |||||
| Ord ImageFormat Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Hashable ImageFormat Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Pretty ImageFormat Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep ImageFormat Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep ImageFormat = D1 ('MetaData "ImageFormat" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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
| FromJSON ImageHeader Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods parseJSON :: Value -> Parser ImageHeader Source # parseJSONList :: Value -> Parser [ImageHeader] Source # | |||||
| ToJSON ImageHeader Source # | |||||
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 # omitField :: ImageHeader -> Bool Source # | |||||
| Data ImageHeader Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: ImageHeader -> Rep ImageHeader x Source # to :: Rep ImageHeader x -> ImageHeader Source # | |||||
| Show ImageHeader Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq ImageHeader Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: ImageHeader -> ImageHeader -> Bool Source # (/=) :: ImageHeader -> ImageHeader -> Bool Source # | |||||
| Ord ImageHeader Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Pretty ImageHeader Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep ImageHeader Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep ImageHeader = D1 ('MetaData "ImageHeader" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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
| ToJSON UserAttrSubPacket Source # | |||||
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 # omitField :: UserAttrSubPacket -> Bool Source # | |||||
| Binary UserAttrSubPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: UserAttrSubPacket -> Put Source # get :: Get UserAttrSubPacket Source # putList :: [UserAttrSubPacket] -> Put Source # | |||||
| Data UserAttrSubPacket Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Associated Types
Methods from :: UserAttrSubPacket -> Rep UserAttrSubPacket x Source # to :: Rep UserAttrSubPacket x -> UserAttrSubPacket Source # | |||||
| Show UserAttrSubPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| Eq UserAttrSubPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods (==) :: UserAttrSubPacket -> UserAttrSubPacket -> Bool Source # (/=) :: UserAttrSubPacket -> UserAttrSubPacket -> Bool Source # | |||||
| Ord UserAttrSubPacket Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base Methods hashWithSalt :: Int -> UserAttrSubPacket -> Int Source # hash :: UserAttrSubPacket -> Int Source # | |||||
| Pretty UserAttrSubPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base | |||||
| type Rep UserAttrSubPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Base type Rep UserAttrSubPacket = D1 ('MetaData "UserAttrSubPacket" "Codec.Encryption.OpenPGP.Types.Internal.Base" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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))) | |||||
wireRepName :: Lens' WireRepRef (Maybe Text) Source #
Instances
| FromJSON EPoint Source # | |
| ToJSON EPoint Source # | |
| Data EPoint Source # | |
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 # | |
| Show EPoint Source # | |
| Eq EPoint Source # | |
| Ord EPoint Source # | |
| Hashable EPoint Source # | |
| Pretty EPoint Source # | |
| type Rep EPoint Source # | |
Constructors
| PrefixedNativeEPoint EPoint | |
| NativeEPoint EPoint |
Instances
| FromJSON EdPoint Source # | |||||
| ToJSON EdPoint Source # | |||||
| Data EdPoint Source # | |||||
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) -> EdPoint -> c EdPoint Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EdPoint Source # toConstr :: EdPoint -> Constr Source # dataTypeOf :: EdPoint -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EdPoint) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EdPoint) Source # gmapT :: (forall b. Data b => b -> b) -> EdPoint -> EdPoint Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EdPoint -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EdPoint -> r Source # gmapQ :: (forall d. Data d => d -> u) -> EdPoint -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> EdPoint -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> EdPoint -> m EdPoint Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EdPoint -> m EdPoint Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EdPoint -> m EdPoint Source # | |||||
| Generic EdPoint Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Associated Types
| |||||
| Show EdPoint Source # | |||||
| Eq EdPoint Source # | |||||
| Ord EdPoint Source # | |||||
| Hashable EdPoint Source # | |||||
| Pretty EdPoint Source # | |||||
| type Rep EdPoint Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes type Rep EdPoint = D1 ('MetaData "EdPoint" "Codec.Encryption.OpenPGP.Types.Internal.PKITypes" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "PrefixedNativeEPoint" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EPoint)) :+: C1 ('MetaCons "NativeEPoint" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EPoint))) | |||||
Constructors
| RSAPubKey RSA_PublicKey | |
| DSAPubKey DSA_PublicKey | |
| ElGamalPubKey Integer Integer Integer | |
| ECDHPubKey PKey HashAlgorithm SymmetricAlgorithm | |
| ECDSAPubKey ECDSA_PublicKey | |
| EdDSAPubKey EdSigningCurve EdPoint | |
| UnknownPKey ByteString |
Instances
| ToJSON PKey Source # | |||||
| Data PKey Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Associated Types
| |||||
| Show PKey Source # | |||||
| Eq PKey Source # | |||||
| Ord PKey Source # | |||||
| Hashable PKey Source # | |||||
| Pretty PKey Source # | |||||
| type Rep PKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes type Rep PKey = D1 ('MetaData "PKey" "Codec.Encryption.OpenPGP.Types.Internal.PKITypes" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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 EdPoint)) :+: C1 ('MetaCons "UnknownPKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))))) | |||||
Constructors
| RSAPrivateKey RSA_PrivateKey | |
| DSAPrivateKey DSA_PrivateKey | |
| ElGamalPrivateKey Integer | |
| ECDHPrivateKey ECDSA_PrivateKey | |
| ECDSAPrivateKey ECDSA_PrivateKey | |
| EdDSAPrivateKey EdSigningCurve ByteString | |
| X25519PrivateKey ByteString | |
| X448PrivateKey ByteString | |
| UnknownSKey ByteString |
Instances
| ToJSON SKey Source # | |||||
| Data SKey Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Associated Types
| |||||
| Show SKey Source # | |||||
| Eq SKey Source # | |||||
| Ord SKey Source # | |||||
| Hashable SKey Source # | |||||
| Pretty SKey Source # | |||||
| type Rep SKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes type Rep SKey = D1 ('MetaData "SKey" "Codec.Encryption.OpenPGP.Types.Internal.PKITypes" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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 "X25519PrivateKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)) :+: (C1 ('MetaCons "X448PrivateKey" 'PrefixI 'False) (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 (v :: KeyVersion) where Source #
Constructors
| PKPayloadV3 :: ThirtyTwoBitTimeStamp -> V3Expiration -> PubKeyAlgorithm -> PKey -> PKPayload 'DeprecatedV3 | |
| PKPayloadV4 :: ThirtyTwoBitTimeStamp -> PubKeyAlgorithm -> PKey -> PKPayload 'V4 | |
| PKPayloadV6 :: ThirtyTwoBitTimeStamp -> PubKeyAlgorithm -> PKey -> PKPayload 'V6 |
Instances
| ToJSON (PKPayload v) Source # | |
| Show (PKPayload v) Source # | |
| Eq (PKPayload v) Source # | |
| Ord (PKPayload v) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods compare :: PKPayload v -> PKPayload v -> Ordering Source # (<) :: PKPayload v -> PKPayload v -> Bool Source # (<=) :: PKPayload v -> PKPayload v -> Bool Source # (>) :: PKPayload v -> PKPayload v -> Bool Source # (>=) :: PKPayload v -> PKPayload v -> Bool Source # | |
| Hashable (PKPayload v) Source # | |
| Pretty (PKPayload v) Source # | |
pattern PKPayload :: KeyVersion -> ThirtyTwoBitTimeStamp -> V3Expiration -> PubKeyAlgorithm -> PKey -> SomePKPayload Source #
pkPayloadFields :: forall (v :: KeyVersion). PKPayload v -> (KeyVersion, ThirtyTwoBitTimeStamp, V3Expiration, PubKeyAlgorithm, PKey) Source #
data SomePKPayload where Source #
Constructors
| SomePKPayload :: forall (v :: KeyVersion). PKPayload v -> SomePKPayload |
Instances
| ToJSON SomePKPayload Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods toJSON :: SomePKPayload -> Value Source # toEncoding :: SomePKPayload -> Encoding Source # toJSONList :: [SomePKPayload] -> Value Source # toEncodingList :: [SomePKPayload] -> Encoding Source # omitField :: SomePKPayload -> Bool Source # | |
| Binary SomePKPayload Source # | |
Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: SomePKPayload -> Put Source # get :: Get SomePKPayload Source # putList :: [SomePKPayload] -> Put Source # | |
| Data SomePKPayload Source # | |
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) -> SomePKPayload -> c SomePKPayload Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SomePKPayload Source # toConstr :: SomePKPayload -> Constr Source # dataTypeOf :: SomePKPayload -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SomePKPayload) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SomePKPayload) Source # gmapT :: (forall b. Data b => b -> b) -> SomePKPayload -> SomePKPayload Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SomePKPayload -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SomePKPayload -> r Source # gmapQ :: (forall d. Data d => d -> u) -> SomePKPayload -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> SomePKPayload -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SomePKPayload -> m SomePKPayload Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SomePKPayload -> m SomePKPayload Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SomePKPayload -> m SomePKPayload Source # | |
| Show SomePKPayload Source # | |
| Eq SomePKPayload Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods (==) :: SomePKPayload -> SomePKPayload -> Bool Source # (/=) :: SomePKPayload -> SomePKPayload -> Bool Source # | |
| Ord SomePKPayload Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods compare :: SomePKPayload -> SomePKPayload -> Ordering Source # (<) :: SomePKPayload -> SomePKPayload -> Bool Source # (<=) :: SomePKPayload -> SomePKPayload -> Bool Source # (>) :: SomePKPayload -> SomePKPayload -> Bool Source # (>=) :: SomePKPayload -> SomePKPayload -> Bool Source # max :: SomePKPayload -> SomePKPayload -> SomePKPayload Source # min :: SomePKPayload -> SomePKPayload -> SomePKPayload Source # | |
| Hashable SomePKPayload Source # | |
| Pretty SomePKPayload Source # | |
somePKPayloadFields :: SomePKPayload -> (KeyVersion, ThirtyTwoBitTimeStamp, V3Expiration, PubKeyAlgorithm, PKey) Source #
_v3exp :: SomePKPayload -> V3Expiration Source #
_pubkey :: SomePKPayload -> PKey Source #
data SKAddendum Source #
Constructors
| SUS16bit SymmetricAlgorithm S2K IV ByteString | |
| SUSSHA1 SymmetricAlgorithm S2K IV ByteString | |
| SUSAEAD SymmetricAlgorithm AEADAlgorithm S2K IV ByteString | |
| SUSym SymmetricAlgorithm IV ByteString | |
| SUUnencrypted SKey Word16 |
Instances
| ToJSON SKAddendum Source # | |||||
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 # omitField :: SKAddendum -> Bool Source # | |||||
| Data SKAddendum Source # | |||||
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 # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Associated Types
| |||||
| Show SKAddendum Source # | |||||
| Eq SKAddendum Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes Methods (==) :: SKAddendum -> SKAddendum -> Bool Source # (/=) :: SKAddendum -> SKAddendum -> Bool Source # | |||||
| Ord SKAddendum Source # | |||||
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 # | |||||
| Pretty SKAddendum Source # | |||||
| type Rep SKAddendum Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PKITypes type Rep SKAddendum = D1 ('MetaData "SKAddendum" "Codec.Encryption.OpenPGP.Types.Internal.PKITypes" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" '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 "SUSAEAD" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SymmetricAlgorithm) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AEADAlgorithm)) :*: (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))))) | |||||
class LegacyKeyVersion (v :: KeyVersion) Source #
Instances
data SKAddendumV (v :: KeyVersion) where Source #
Constructors
| SKA16bit :: forall (v :: KeyVersion). LegacyKeyVersion v => SymmetricAlgorithm -> S2K -> IV -> ByteString -> SKAddendumV v | |
| SKASHA1Legacy :: forall (v :: KeyVersion). LegacyKeyVersion v => SymmetricAlgorithm -> S2K -> IV -> ByteString -> SKAddendumV v | |
| SKASHA1V6 :: SymmetricAlgorithm -> S2K -> IV -> ByteString -> SKAddendumV 'V6 | |
| SKAAEADV6 :: SymmetricAlgorithm -> AEADAlgorithm -> S2K -> IV -> ByteString -> SKAddendumV 'V6 | |
| SKAAEADLegacy :: forall (v :: KeyVersion). LegacyKeyVersion v => SymmetricAlgorithm -> AEADAlgorithm -> S2K -> IV -> ByteString -> SKAddendumV v | |
| SKASymLegacy :: forall (v :: KeyVersion). LegacyKeyVersion v => SymmetricAlgorithm -> IV -> ByteString -> SKAddendumV v | |
| SKASymV6 :: SymmetricAlgorithm -> IV -> ByteString -> SKAddendumV 'V6 | |
| SKAUnencryptedLegacy :: forall (v :: KeyVersion). LegacyKeyVersion v => SKey -> Word16 -> SKAddendumV v | |
| SKAUnencryptedV6 :: SKey -> SKAddendumV 'V6 |
Instances
| Show (SKAddendumV v) Source # | |
data SomeSKAddendumV where Source #
Constructors
| SomeSKAddendumV :: forall (v :: KeyVersion). SKAddendumV v -> SomeSKAddendumV |
Instances
toSKAddendum :: forall (v :: KeyVersion). SKAddendumV v -> SKAddendum Source #
data PKESKPayloadVersion Source #
Instances
| Data PKESKPayloadVersion Source # | |||||
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) -> PKESKPayloadVersion -> c PKESKPayloadVersion Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PKESKPayloadVersion Source # toConstr :: PKESKPayloadVersion -> Constr Source # dataTypeOf :: PKESKPayloadVersion -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PKESKPayloadVersion) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PKESKPayloadVersion) Source # gmapT :: (forall b. Data b => b -> b) -> PKESKPayloadVersion -> PKESKPayloadVersion Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PKESKPayloadVersion -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PKESKPayloadVersion -> r Source # gmapQ :: (forall d. Data d => d -> u) -> PKESKPayloadVersion -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> PKESKPayloadVersion -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PKESKPayloadVersion -> m PKESKPayloadVersion Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PKESKPayloadVersion -> m PKESKPayloadVersion Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PKESKPayloadVersion -> m PKESKPayloadVersion Source # | |||||
| Generic PKESKPayloadVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Associated Types
Methods from :: PKESKPayloadVersion -> Rep PKESKPayloadVersion x Source # to :: Rep PKESKPayloadVersion x -> PKESKPayloadVersion Source # | |||||
| Show PKESKPayloadVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| Eq PKESKPayloadVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: PKESKPayloadVersion -> PKESKPayloadVersion -> Bool Source # (/=) :: PKESKPayloadVersion -> PKESKPayloadVersion -> Bool Source # | |||||
| Ord PKESKPayloadVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods compare :: PKESKPayloadVersion -> PKESKPayloadVersion -> Ordering Source # (<) :: PKESKPayloadVersion -> PKESKPayloadVersion -> Bool Source # (<=) :: PKESKPayloadVersion -> PKESKPayloadVersion -> Bool Source # (>) :: PKESKPayloadVersion -> PKESKPayloadVersion -> Bool Source # (>=) :: PKESKPayloadVersion -> PKESKPayloadVersion -> Bool Source # max :: PKESKPayloadVersion -> PKESKPayloadVersion -> PKESKPayloadVersion Source # min :: PKESKPayloadVersion -> PKESKPayloadVersion -> PKESKPayloadVersion Source # | |||||
| Hashable PKESKPayloadVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods hashWithSalt :: Int -> PKESKPayloadVersion -> Int Source # hash :: PKESKPayloadVersion -> Int Source # | |||||
| type Rep PKESKPayloadVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
data PKESKPayloadV3 Source #
Constructors
| PKESKPayloadV3 PacketVersion EightOctetKeyId PubKeyAlgorithm (NonEmpty MPI) |
Instances
| Data PKESKPayloadV3 Source # | |||||
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) -> PKESKPayloadV3 -> c PKESKPayloadV3 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PKESKPayloadV3 Source # toConstr :: PKESKPayloadV3 -> Constr Source # dataTypeOf :: PKESKPayloadV3 -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PKESKPayloadV3) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PKESKPayloadV3) Source # gmapT :: (forall b. Data b => b -> b) -> PKESKPayloadV3 -> PKESKPayloadV3 Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PKESKPayloadV3 -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PKESKPayloadV3 -> r Source # gmapQ :: (forall d. Data d => d -> u) -> PKESKPayloadV3 -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> PKESKPayloadV3 -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PKESKPayloadV3 -> m PKESKPayloadV3 Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PKESKPayloadV3 -> m PKESKPayloadV3 Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PKESKPayloadV3 -> m PKESKPayloadV3 Source # | |||||
| Generic PKESKPayloadV3 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Associated Types
Methods from :: PKESKPayloadV3 -> Rep PKESKPayloadV3 x Source # to :: Rep PKESKPayloadV3 x -> PKESKPayloadV3 Source # | |||||
| Show PKESKPayloadV3 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| Eq PKESKPayloadV3 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: PKESKPayloadV3 -> PKESKPayloadV3 -> Bool Source # (/=) :: PKESKPayloadV3 -> PKESKPayloadV3 -> Bool Source # | |||||
| Ord PKESKPayloadV3 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods compare :: PKESKPayloadV3 -> PKESKPayloadV3 -> Ordering Source # (<) :: PKESKPayloadV3 -> PKESKPayloadV3 -> Bool Source # (<=) :: PKESKPayloadV3 -> PKESKPayloadV3 -> Bool Source # (>) :: PKESKPayloadV3 -> PKESKPayloadV3 -> Bool Source # (>=) :: PKESKPayloadV3 -> PKESKPayloadV3 -> Bool Source # max :: PKESKPayloadV3 -> PKESKPayloadV3 -> PKESKPayloadV3 Source # min :: PKESKPayloadV3 -> PKESKPayloadV3 -> PKESKPayloadV3 Source # | |||||
| Hashable PKESKPayloadV3 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| type Rep PKESKPayloadV3 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt type Rep PKESKPayloadV3 = D1 ('MetaData "PKESKPayloadV3" "Codec.Encryption.OpenPGP.Types.Internal.Pkt" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "PKESKPayloadV3" '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))))) | |||||
data PKESKPayloadV6 Source #
Constructors
| PKESKPayloadV6 ByteString PubKeyAlgorithm ByteString |
Instances
| Data PKESKPayloadV6 Source # | |||||
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) -> PKESKPayloadV6 -> c PKESKPayloadV6 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PKESKPayloadV6 Source # toConstr :: PKESKPayloadV6 -> Constr Source # dataTypeOf :: PKESKPayloadV6 -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PKESKPayloadV6) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PKESKPayloadV6) Source # gmapT :: (forall b. Data b => b -> b) -> PKESKPayloadV6 -> PKESKPayloadV6 Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PKESKPayloadV6 -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PKESKPayloadV6 -> r Source # gmapQ :: (forall d. Data d => d -> u) -> PKESKPayloadV6 -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> PKESKPayloadV6 -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PKESKPayloadV6 -> m PKESKPayloadV6 Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PKESKPayloadV6 -> m PKESKPayloadV6 Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PKESKPayloadV6 -> m PKESKPayloadV6 Source # | |||||
| Generic PKESKPayloadV6 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Associated Types
Methods from :: PKESKPayloadV6 -> Rep PKESKPayloadV6 x Source # to :: Rep PKESKPayloadV6 x -> PKESKPayloadV6 Source # | |||||
| Show PKESKPayloadV6 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| Eq PKESKPayloadV6 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: PKESKPayloadV6 -> PKESKPayloadV6 -> Bool Source # (/=) :: PKESKPayloadV6 -> PKESKPayloadV6 -> Bool Source # | |||||
| Ord PKESKPayloadV6 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods compare :: PKESKPayloadV6 -> PKESKPayloadV6 -> Ordering Source # (<) :: PKESKPayloadV6 -> PKESKPayloadV6 -> Bool Source # (<=) :: PKESKPayloadV6 -> PKESKPayloadV6 -> Bool Source # (>) :: PKESKPayloadV6 -> PKESKPayloadV6 -> Bool Source # (>=) :: PKESKPayloadV6 -> PKESKPayloadV6 -> Bool Source # max :: PKESKPayloadV6 -> PKESKPayloadV6 -> PKESKPayloadV6 Source # min :: PKESKPayloadV6 -> PKESKPayloadV6 -> PKESKPayloadV6 Source # | |||||
| Hashable PKESKPayloadV6 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| type Rep PKESKPayloadV6 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt type Rep PKESKPayloadV6 = D1 ('MetaData "PKESKPayloadV6" "Codec.Encryption.OpenPGP.Types.Internal.Pkt" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "PKESKPayloadV6" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PubKeyAlgorithm) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))) | |||||
data PKESKPayload Source #
Instances
| Data PKESKPayload Source # | |||||
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) -> PKESKPayload -> c PKESKPayload Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PKESKPayload Source # toConstr :: PKESKPayload -> Constr Source # dataTypeOf :: PKESKPayload -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PKESKPayload) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PKESKPayload) Source # gmapT :: (forall b. Data b => b -> b) -> PKESKPayload -> PKESKPayload Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PKESKPayload -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PKESKPayload -> r Source # gmapQ :: (forall d. Data d => d -> u) -> PKESKPayload -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> PKESKPayload -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PKESKPayload -> m PKESKPayload Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PKESKPayload -> m PKESKPayload Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PKESKPayload -> m PKESKPayload Source # | |||||
| Generic PKESKPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Associated Types
Methods from :: PKESKPayload -> Rep PKESKPayload x Source # to :: Rep PKESKPayload x -> PKESKPayload Source # | |||||
| Show PKESKPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| Eq PKESKPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: PKESKPayload -> PKESKPayload -> Bool Source # (/=) :: PKESKPayload -> PKESKPayload -> Bool Source # | |||||
| Ord PKESKPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods compare :: PKESKPayload -> PKESKPayload -> Ordering Source # (<) :: PKESKPayload -> PKESKPayload -> Bool Source # (<=) :: PKESKPayload -> PKESKPayload -> Bool Source # (>) :: PKESKPayload -> PKESKPayload -> Bool Source # (>=) :: PKESKPayload -> PKESKPayload -> Bool Source # max :: PKESKPayload -> PKESKPayload -> PKESKPayload Source # min :: PKESKPayload -> PKESKPayload -> PKESKPayload Source # | |||||
| Hashable PKESKPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| type Rep PKESKPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt type Rep PKESKPayload = D1 ('MetaData "PKESKPayload" "Codec.Encryption.OpenPGP.Types.Internal.Pkt" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "PKESKPayloadV3Packet" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PKESKPayloadV3)) :+: C1 ('MetaCons "PKESKPayloadV6Packet" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PKESKPayloadV6))) | |||||
data SKESKPayloadVersion Source #
Instances
| Data SKESKPayloadVersion Source # | |||||
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) -> SKESKPayloadVersion -> c SKESKPayloadVersion Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SKESKPayloadVersion Source # toConstr :: SKESKPayloadVersion -> Constr Source # dataTypeOf :: SKESKPayloadVersion -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SKESKPayloadVersion) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SKESKPayloadVersion) Source # gmapT :: (forall b. Data b => b -> b) -> SKESKPayloadVersion -> SKESKPayloadVersion Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SKESKPayloadVersion -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SKESKPayloadVersion -> r Source # gmapQ :: (forall d. Data d => d -> u) -> SKESKPayloadVersion -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> SKESKPayloadVersion -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SKESKPayloadVersion -> m SKESKPayloadVersion Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SKESKPayloadVersion -> m SKESKPayloadVersion Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SKESKPayloadVersion -> m SKESKPayloadVersion Source # | |||||
| Generic SKESKPayloadVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Associated Types
Methods from :: SKESKPayloadVersion -> Rep SKESKPayloadVersion x Source # to :: Rep SKESKPayloadVersion x -> SKESKPayloadVersion Source # | |||||
| Show SKESKPayloadVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| Eq SKESKPayloadVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: SKESKPayloadVersion -> SKESKPayloadVersion -> Bool Source # (/=) :: SKESKPayloadVersion -> SKESKPayloadVersion -> Bool Source # | |||||
| Ord SKESKPayloadVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods compare :: SKESKPayloadVersion -> SKESKPayloadVersion -> Ordering Source # (<) :: SKESKPayloadVersion -> SKESKPayloadVersion -> Bool Source # (<=) :: SKESKPayloadVersion -> SKESKPayloadVersion -> Bool Source # (>) :: SKESKPayloadVersion -> SKESKPayloadVersion -> Bool Source # (>=) :: SKESKPayloadVersion -> SKESKPayloadVersion -> Bool Source # max :: SKESKPayloadVersion -> SKESKPayloadVersion -> SKESKPayloadVersion Source # min :: SKESKPayloadVersion -> SKESKPayloadVersion -> SKESKPayloadVersion Source # | |||||
| Hashable SKESKPayloadVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods hashWithSalt :: Int -> SKESKPayloadVersion -> Int Source # hash :: SKESKPayloadVersion -> Int Source # | |||||
| type Rep SKESKPayloadVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
data SKESKPayloadV4 Source #
Constructors
| SKESKPayloadV4 SymmetricAlgorithm S2K (Maybe ByteString) |
Instances
| Data SKESKPayloadV4 Source # | |||||
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) -> SKESKPayloadV4 -> c SKESKPayloadV4 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SKESKPayloadV4 Source # toConstr :: SKESKPayloadV4 -> Constr Source # dataTypeOf :: SKESKPayloadV4 -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SKESKPayloadV4) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SKESKPayloadV4) Source # gmapT :: (forall b. Data b => b -> b) -> SKESKPayloadV4 -> SKESKPayloadV4 Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SKESKPayloadV4 -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SKESKPayloadV4 -> r Source # gmapQ :: (forall d. Data d => d -> u) -> SKESKPayloadV4 -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> SKESKPayloadV4 -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SKESKPayloadV4 -> m SKESKPayloadV4 Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SKESKPayloadV4 -> m SKESKPayloadV4 Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SKESKPayloadV4 -> m SKESKPayloadV4 Source # | |||||
| Generic SKESKPayloadV4 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Associated Types
Methods from :: SKESKPayloadV4 -> Rep SKESKPayloadV4 x Source # to :: Rep SKESKPayloadV4 x -> SKESKPayloadV4 Source # | |||||
| Show SKESKPayloadV4 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| Eq SKESKPayloadV4 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: SKESKPayloadV4 -> SKESKPayloadV4 -> Bool Source # (/=) :: SKESKPayloadV4 -> SKESKPayloadV4 -> Bool Source # | |||||
| Ord SKESKPayloadV4 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods compare :: SKESKPayloadV4 -> SKESKPayloadV4 -> Ordering Source # (<) :: SKESKPayloadV4 -> SKESKPayloadV4 -> Bool Source # (<=) :: SKESKPayloadV4 -> SKESKPayloadV4 -> Bool Source # (>) :: SKESKPayloadV4 -> SKESKPayloadV4 -> Bool Source # (>=) :: SKESKPayloadV4 -> SKESKPayloadV4 -> Bool Source # max :: SKESKPayloadV4 -> SKESKPayloadV4 -> SKESKPayloadV4 Source # min :: SKESKPayloadV4 -> SKESKPayloadV4 -> SKESKPayloadV4 Source # | |||||
| Hashable SKESKPayloadV4 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| type Rep SKESKPayloadV4 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt type Rep SKESKPayloadV4 = D1 ('MetaData "SKESKPayloadV4" "Codec.Encryption.OpenPGP.Types.Internal.Pkt" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "SKESKPayloadV4" '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 (Maybe ByteString))))) | |||||
data SKESKPayloadV6 Source #
Instances
| Data SKESKPayloadV6 Source # | |||||
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) -> SKESKPayloadV6 -> c SKESKPayloadV6 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SKESKPayloadV6 Source # toConstr :: SKESKPayloadV6 -> Constr Source # dataTypeOf :: SKESKPayloadV6 -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SKESKPayloadV6) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SKESKPayloadV6) Source # gmapT :: (forall b. Data b => b -> b) -> SKESKPayloadV6 -> SKESKPayloadV6 Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SKESKPayloadV6 -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SKESKPayloadV6 -> r Source # gmapQ :: (forall d. Data d => d -> u) -> SKESKPayloadV6 -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> SKESKPayloadV6 -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SKESKPayloadV6 -> m SKESKPayloadV6 Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SKESKPayloadV6 -> m SKESKPayloadV6 Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SKESKPayloadV6 -> m SKESKPayloadV6 Source # | |||||
| Generic SKESKPayloadV6 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Associated Types
Methods from :: SKESKPayloadV6 -> Rep SKESKPayloadV6 x Source # to :: Rep SKESKPayloadV6 x -> SKESKPayloadV6 Source # | |||||
| Show SKESKPayloadV6 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| Eq SKESKPayloadV6 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: SKESKPayloadV6 -> SKESKPayloadV6 -> Bool Source # (/=) :: SKESKPayloadV6 -> SKESKPayloadV6 -> Bool Source # | |||||
| Ord SKESKPayloadV6 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods compare :: SKESKPayloadV6 -> SKESKPayloadV6 -> Ordering Source # (<) :: SKESKPayloadV6 -> SKESKPayloadV6 -> Bool Source # (<=) :: SKESKPayloadV6 -> SKESKPayloadV6 -> Bool Source # (>) :: SKESKPayloadV6 -> SKESKPayloadV6 -> Bool Source # (>=) :: SKESKPayloadV6 -> SKESKPayloadV6 -> Bool Source # max :: SKESKPayloadV6 -> SKESKPayloadV6 -> SKESKPayloadV6 Source # min :: SKESKPayloadV6 -> SKESKPayloadV6 -> SKESKPayloadV6 Source # | |||||
| Hashable SKESKPayloadV6 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| type Rep SKESKPayloadV6 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt type Rep SKESKPayloadV6 = D1 ('MetaData "SKESKPayloadV6" "Codec.Encryption.OpenPGP.Types.Internal.Pkt" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "SKESKPayloadV6" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SymmetricAlgorithm) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AEADAlgorithm) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 S2K))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))))) | |||||
data SKESKPayload Source #
Instances
| Data SKESKPayload Source # | |||||
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) -> SKESKPayload -> c SKESKPayload Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SKESKPayload Source # toConstr :: SKESKPayload -> Constr Source # dataTypeOf :: SKESKPayload -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SKESKPayload) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SKESKPayload) Source # gmapT :: (forall b. Data b => b -> b) -> SKESKPayload -> SKESKPayload Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SKESKPayload -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SKESKPayload -> r Source # gmapQ :: (forall d. Data d => d -> u) -> SKESKPayload -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> SKESKPayload -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SKESKPayload -> m SKESKPayload Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SKESKPayload -> m SKESKPayload Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SKESKPayload -> m SKESKPayload Source # | |||||
| Generic SKESKPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Associated Types
Methods from :: SKESKPayload -> Rep SKESKPayload x Source # to :: Rep SKESKPayload x -> SKESKPayload Source # | |||||
| Show SKESKPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| Eq SKESKPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: SKESKPayload -> SKESKPayload -> Bool Source # (/=) :: SKESKPayload -> SKESKPayload -> Bool Source # | |||||
| Ord SKESKPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods compare :: SKESKPayload -> SKESKPayload -> Ordering Source # (<) :: SKESKPayload -> SKESKPayload -> Bool Source # (<=) :: SKESKPayload -> SKESKPayload -> Bool Source # (>) :: SKESKPayload -> SKESKPayload -> Bool Source # (>=) :: SKESKPayload -> SKESKPayload -> Bool Source # max :: SKESKPayload -> SKESKPayload -> SKESKPayload Source # min :: SKESKPayload -> SKESKPayload -> SKESKPayload Source # | |||||
| Hashable SKESKPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| type Rep SKESKPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt type Rep SKESKPayload = D1 ('MetaData "SKESKPayload" "Codec.Encryption.OpenPGP.Types.Internal.Pkt" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "SKESKPayloadV4Packet" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SKESKPayloadV4)) :+: C1 ('MetaCons "SKESKPayloadV6Packet" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SKESKPayloadV6))) | |||||
data OnePassSignatureVersion Source #
Instances
| Data OnePassSignatureVersion Source # | |||||
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) -> OnePassSignatureVersion -> c OnePassSignatureVersion Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OnePassSignatureVersion Source # toConstr :: OnePassSignatureVersion -> Constr Source # dataTypeOf :: OnePassSignatureVersion -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OnePassSignatureVersion) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OnePassSignatureVersion) Source # gmapT :: (forall b. Data b => b -> b) -> OnePassSignatureVersion -> OnePassSignatureVersion Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OnePassSignatureVersion -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OnePassSignatureVersion -> r Source # gmapQ :: (forall d. Data d => d -> u) -> OnePassSignatureVersion -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> OnePassSignatureVersion -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> OnePassSignatureVersion -> m OnePassSignatureVersion Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OnePassSignatureVersion -> m OnePassSignatureVersion Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OnePassSignatureVersion -> m OnePassSignatureVersion Source # | |||||
| Generic OnePassSignatureVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Associated Types
Methods from :: OnePassSignatureVersion -> Rep OnePassSignatureVersion x Source # to :: Rep OnePassSignatureVersion x -> OnePassSignatureVersion Source # | |||||
| Show OnePassSignatureVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| Eq OnePassSignatureVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: OnePassSignatureVersion -> OnePassSignatureVersion -> Bool Source # (/=) :: OnePassSignatureVersion -> OnePassSignatureVersion -> Bool Source # | |||||
| Ord OnePassSignatureVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods compare :: OnePassSignatureVersion -> OnePassSignatureVersion -> Ordering Source # (<) :: OnePassSignatureVersion -> OnePassSignatureVersion -> Bool Source # (<=) :: OnePassSignatureVersion -> OnePassSignatureVersion -> Bool Source # (>) :: OnePassSignatureVersion -> OnePassSignatureVersion -> Bool Source # (>=) :: OnePassSignatureVersion -> OnePassSignatureVersion -> Bool Source # max :: OnePassSignatureVersion -> OnePassSignatureVersion -> OnePassSignatureVersion Source # min :: OnePassSignatureVersion -> OnePassSignatureVersion -> OnePassSignatureVersion Source # | |||||
| Hashable OnePassSignatureVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods hashWithSalt :: Int -> OnePassSignatureVersion -> Int Source # hash :: OnePassSignatureVersion -> Int Source # | |||||
| type Rep OnePassSignatureVersion Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
data OPSPayloadV3 Source #
Constructors
| OPSPayloadV3 PacketVersion SigType HashAlgorithm PubKeyAlgorithm EightOctetKeyId NestedFlag |
Instances
| Data OPSPayloadV3 Source # | |||||
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) -> OPSPayloadV3 -> c OPSPayloadV3 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OPSPayloadV3 Source # toConstr :: OPSPayloadV3 -> Constr Source # dataTypeOf :: OPSPayloadV3 -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OPSPayloadV3) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OPSPayloadV3) Source # gmapT :: (forall b. Data b => b -> b) -> OPSPayloadV3 -> OPSPayloadV3 Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OPSPayloadV3 -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OPSPayloadV3 -> r Source # gmapQ :: (forall d. Data d => d -> u) -> OPSPayloadV3 -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> OPSPayloadV3 -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> OPSPayloadV3 -> m OPSPayloadV3 Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OPSPayloadV3 -> m OPSPayloadV3 Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OPSPayloadV3 -> m OPSPayloadV3 Source # | |||||
| Generic OPSPayloadV3 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Associated Types
Methods from :: OPSPayloadV3 -> Rep OPSPayloadV3 x Source # to :: Rep OPSPayloadV3 x -> OPSPayloadV3 Source # | |||||
| Show OPSPayloadV3 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| Eq OPSPayloadV3 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: OPSPayloadV3 -> OPSPayloadV3 -> Bool Source # (/=) :: OPSPayloadV3 -> OPSPayloadV3 -> Bool Source # | |||||
| Ord OPSPayloadV3 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods compare :: OPSPayloadV3 -> OPSPayloadV3 -> Ordering Source # (<) :: OPSPayloadV3 -> OPSPayloadV3 -> Bool Source # (<=) :: OPSPayloadV3 -> OPSPayloadV3 -> Bool Source # (>) :: OPSPayloadV3 -> OPSPayloadV3 -> Bool Source # (>=) :: OPSPayloadV3 -> OPSPayloadV3 -> Bool Source # max :: OPSPayloadV3 -> OPSPayloadV3 -> OPSPayloadV3 Source # min :: OPSPayloadV3 -> OPSPayloadV3 -> OPSPayloadV3 Source # | |||||
| Hashable OPSPayloadV3 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| type Rep OPSPayloadV3 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt type Rep OPSPayloadV3 = D1 ('MetaData "OPSPayloadV3" "Codec.Encryption.OpenPGP.Types.Internal.Pkt" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "OPSPayloadV3" '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))))) | |||||
data OPSPayloadV6 Source #
Instances
| Data OPSPayloadV6 Source # | |||||
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) -> OPSPayloadV6 -> c OPSPayloadV6 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OPSPayloadV6 Source # toConstr :: OPSPayloadV6 -> Constr Source # dataTypeOf :: OPSPayloadV6 -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OPSPayloadV6) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OPSPayloadV6) Source # gmapT :: (forall b. Data b => b -> b) -> OPSPayloadV6 -> OPSPayloadV6 Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OPSPayloadV6 -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OPSPayloadV6 -> r Source # gmapQ :: (forall d. Data d => d -> u) -> OPSPayloadV6 -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> OPSPayloadV6 -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> OPSPayloadV6 -> m OPSPayloadV6 Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OPSPayloadV6 -> m OPSPayloadV6 Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OPSPayloadV6 -> m OPSPayloadV6 Source # | |||||
| Generic OPSPayloadV6 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Associated Types
Methods from :: OPSPayloadV6 -> Rep OPSPayloadV6 x Source # to :: Rep OPSPayloadV6 x -> OPSPayloadV6 Source # | |||||
| Show OPSPayloadV6 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| Eq OPSPayloadV6 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: OPSPayloadV6 -> OPSPayloadV6 -> Bool Source # (/=) :: OPSPayloadV6 -> OPSPayloadV6 -> Bool Source # | |||||
| Ord OPSPayloadV6 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods compare :: OPSPayloadV6 -> OPSPayloadV6 -> Ordering Source # (<) :: OPSPayloadV6 -> OPSPayloadV6 -> Bool Source # (<=) :: OPSPayloadV6 -> OPSPayloadV6 -> Bool Source # (>) :: OPSPayloadV6 -> OPSPayloadV6 -> Bool Source # (>=) :: OPSPayloadV6 -> OPSPayloadV6 -> Bool Source # max :: OPSPayloadV6 -> OPSPayloadV6 -> OPSPayloadV6 Source # min :: OPSPayloadV6 -> OPSPayloadV6 -> OPSPayloadV6 Source # | |||||
| Hashable OPSPayloadV6 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| type Rep OPSPayloadV6 Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt type Rep OPSPayloadV6 = D1 ('MetaData "OPSPayloadV6" "Codec.Encryption.OpenPGP.Types.Internal.Pkt" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "OPSPayloadV6" 'PrefixI 'False) ((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 SignatureSalt) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NestedFlag))))) | |||||
data OnePassSignaturePayload Source #
Constructors
| OPSPayloadV3Packet OPSPayloadV3 | |
| OPSPayloadV6Packet OPSPayloadV6 |
Instances
| Data OnePassSignaturePayload Source # | |||||
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) -> OnePassSignaturePayload -> c OnePassSignaturePayload Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OnePassSignaturePayload Source # toConstr :: OnePassSignaturePayload -> Constr Source # dataTypeOf :: OnePassSignaturePayload -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OnePassSignaturePayload) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OnePassSignaturePayload) Source # gmapT :: (forall b. Data b => b -> b) -> OnePassSignaturePayload -> OnePassSignaturePayload Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OnePassSignaturePayload -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OnePassSignaturePayload -> r Source # gmapQ :: (forall d. Data d => d -> u) -> OnePassSignaturePayload -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> OnePassSignaturePayload -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> OnePassSignaturePayload -> m OnePassSignaturePayload Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OnePassSignaturePayload -> m OnePassSignaturePayload Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OnePassSignaturePayload -> m OnePassSignaturePayload Source # | |||||
| Generic OnePassSignaturePayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Associated Types
Methods from :: OnePassSignaturePayload -> Rep OnePassSignaturePayload x Source # to :: Rep OnePassSignaturePayload x -> OnePassSignaturePayload Source # | |||||
| Show OnePassSignaturePayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| Eq OnePassSignaturePayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: OnePassSignaturePayload -> OnePassSignaturePayload -> Bool Source # (/=) :: OnePassSignaturePayload -> OnePassSignaturePayload -> Bool Source # | |||||
| Ord OnePassSignaturePayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods compare :: OnePassSignaturePayload -> OnePassSignaturePayload -> Ordering Source # (<) :: OnePassSignaturePayload -> OnePassSignaturePayload -> Bool Source # (<=) :: OnePassSignaturePayload -> OnePassSignaturePayload -> Bool Source # (>) :: OnePassSignaturePayload -> OnePassSignaturePayload -> Bool Source # (>=) :: OnePassSignaturePayload -> OnePassSignaturePayload -> Bool Source # max :: OnePassSignaturePayload -> OnePassSignaturePayload -> OnePassSignaturePayload Source # min :: OnePassSignaturePayload -> OnePassSignaturePayload -> OnePassSignaturePayload Source # | |||||
| Hashable OnePassSignaturePayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods hashWithSalt :: Int -> OnePassSignaturePayload -> Int Source # hash :: OnePassSignaturePayload -> Int Source # | |||||
| type Rep OnePassSignaturePayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt type Rep OnePassSignaturePayload = D1 ('MetaData "OnePassSignaturePayload" "Codec.Encryption.OpenPGP.Types.Internal.Pkt" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "OPSPayloadV3Packet" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OPSPayloadV3)) :+: C1 ('MetaCons "OPSPayloadV6Packet" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OPSPayloadV6))) | |||||
data SEIPDPayload Source #
Constructors
| SEIPD1 PacketVersion ByteString | |
| SEIPD2 SymmetricAlgorithm AEADAlgorithm Word8 Salt ByteString |
Instances
| Data SEIPDPayload Source # | |||||
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) -> SEIPDPayload -> c SEIPDPayload Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SEIPDPayload Source # toConstr :: SEIPDPayload -> Constr Source # dataTypeOf :: SEIPDPayload -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SEIPDPayload) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SEIPDPayload) Source # gmapT :: (forall b. Data b => b -> b) -> SEIPDPayload -> SEIPDPayload Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SEIPDPayload -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SEIPDPayload -> r Source # gmapQ :: (forall d. Data d => d -> u) -> SEIPDPayload -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> SEIPDPayload -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SEIPDPayload -> m SEIPDPayload Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SEIPDPayload -> m SEIPDPayload Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SEIPDPayload -> m SEIPDPayload Source # | |||||
| Generic SEIPDPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Associated Types
Methods from :: SEIPDPayload -> Rep SEIPDPayload x Source # to :: Rep SEIPDPayload x -> SEIPDPayload Source # | |||||
| Show SEIPDPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| Eq SEIPDPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: SEIPDPayload -> SEIPDPayload -> Bool Source # (/=) :: SEIPDPayload -> SEIPDPayload -> Bool Source # | |||||
| Ord SEIPDPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods compare :: SEIPDPayload -> SEIPDPayload -> Ordering Source # (<) :: SEIPDPayload -> SEIPDPayload -> Bool Source # (<=) :: SEIPDPayload -> SEIPDPayload -> Bool Source # (>) :: SEIPDPayload -> SEIPDPayload -> Bool Source # (>=) :: SEIPDPayload -> SEIPDPayload -> Bool Source # max :: SEIPDPayload -> SEIPDPayload -> SEIPDPayload Source # min :: SEIPDPayload -> SEIPDPayload -> SEIPDPayload Source # | |||||
| Hashable SEIPDPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| type Rep SEIPDPayload Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt type Rep SEIPDPayload = D1 ('MetaData "SEIPDPayload" "Codec.Encryption.OpenPGP.Types.Internal.Pkt" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "SEIPD1" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PacketVersion) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)) :+: C1 ('MetaCons "SEIPD2" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SymmetricAlgorithm) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AEADAlgorithm)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word8) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Salt) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))))) | |||||
data KeyPktKind Source #
Instances
| Data KeyPktKind Source # | |||||
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) -> KeyPktKind -> c KeyPktKind Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c KeyPktKind Source # toConstr :: KeyPktKind -> Constr Source # dataTypeOf :: KeyPktKind -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c KeyPktKind) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c KeyPktKind) Source # gmapT :: (forall b. Data b => b -> b) -> KeyPktKind -> KeyPktKind Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> KeyPktKind -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> KeyPktKind -> r Source # gmapQ :: (forall d. Data d => d -> u) -> KeyPktKind -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> KeyPktKind -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> KeyPktKind -> m KeyPktKind Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyPktKind -> m KeyPktKind Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyPktKind -> m KeyPktKind Source # | |||||
| Generic KeyPktKind Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Associated Types
| |||||
| Show KeyPktKind Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| Eq KeyPktKind Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: KeyPktKind -> KeyPktKind -> Bool Source # (/=) :: KeyPktKind -> KeyPktKind -> Bool Source # | |||||
| Ord KeyPktKind Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods compare :: KeyPktKind -> KeyPktKind -> Ordering Source # (<) :: KeyPktKind -> KeyPktKind -> Bool Source # (<=) :: KeyPktKind -> KeyPktKind -> Bool Source # (>) :: KeyPktKind -> KeyPktKind -> Bool Source # (>=) :: KeyPktKind -> KeyPktKind -> Bool Source # max :: KeyPktKind -> KeyPktKind -> KeyPktKind Source # min :: KeyPktKind -> KeyPktKind -> KeyPktKind Source # | |||||
| Hashable KeyPktKind Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| type Rep KeyPktKind Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
data KeyPktRole Source #
Constructors
| KeyPktPrimary | |
| KeyPktSubkey |
Instances
| Data KeyPktRole Source # | |||||
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) -> KeyPktRole -> c KeyPktRole Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c KeyPktRole Source # toConstr :: KeyPktRole -> Constr Source # dataTypeOf :: KeyPktRole -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c KeyPktRole) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c KeyPktRole) Source # gmapT :: (forall b. Data b => b -> b) -> KeyPktRole -> KeyPktRole Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> KeyPktRole -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> KeyPktRole -> r Source # gmapQ :: (forall d. Data d => d -> u) -> KeyPktRole -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> KeyPktRole -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> KeyPktRole -> m KeyPktRole Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyPktRole -> m KeyPktRole Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyPktRole -> m KeyPktRole Source # | |||||
| Generic KeyPktRole Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Associated Types
| |||||
| Show KeyPktRole Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| Eq KeyPktRole Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: KeyPktRole -> KeyPktRole -> Bool Source # (/=) :: KeyPktRole -> KeyPktRole -> Bool Source # | |||||
| Ord KeyPktRole Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods compare :: KeyPktRole -> KeyPktRole -> Ordering Source # (<) :: KeyPktRole -> KeyPktRole -> Bool Source # (<=) :: KeyPktRole -> KeyPktRole -> Bool Source # (>) :: KeyPktRole -> KeyPktRole -> Bool Source # (>=) :: KeyPktRole -> KeyPktRole -> Bool Source # max :: KeyPktRole -> KeyPktRole -> KeyPktRole Source # min :: KeyPktRole -> KeyPktRole -> KeyPktRole Source # | |||||
| Hashable KeyPktRole Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| type Rep KeyPktRole Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
data KeyPkt (k :: KeyPktKind) where Source #
Constructors
| KeyPktPublicPrimary :: SomePKPayload -> KeyPkt 'PublicPkt | |
| KeyPktPublicSubkey :: SomePKPayload -> KeyPkt 'PublicPkt | |
| KeyPktSecretPrimary :: SomePKPayload -> SKAddendum -> KeyPkt 'SecretPkt | |
| KeyPktSecretSubkey :: SomePKPayload -> SKAddendum -> KeyPkt 'SecretPkt |
Instances
| Typeable k => Data (KeyPkt k) Source # | |
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) -> KeyPkt k -> c (KeyPkt k) Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (KeyPkt k) Source # toConstr :: KeyPkt k -> Constr Source # dataTypeOf :: KeyPkt k -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (KeyPkt k)) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (KeyPkt k)) Source # gmapT :: (forall b. Data b => b -> b) -> KeyPkt k -> KeyPkt k Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> KeyPkt k -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> KeyPkt k -> r Source # gmapQ :: (forall d. Data d => d -> u) -> KeyPkt k -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> KeyPkt k -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> KeyPkt k -> m (KeyPkt k) Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyPkt k -> m (KeyPkt k) Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyPkt k -> m (KeyPkt k) Source # | |
| Show (KeyPkt k) Source # | |
| Eq (KeyPkt k) Source # | |
| Ord (KeyPkt k) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |
| Hashable (KeyPkt k) Source # | |
keyPktToPkt :: forall (k :: KeyPktKind). KeyPkt k -> Pkt Source #
data SomeKeyPkt where Source #
Constructors
| SomeKeyPkt :: forall (k :: KeyPktKind). KeyPkt k -> SomeKeyPkt |
Instances
| Show SomeKeyPkt Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |
| Eq SomeKeyPkt Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: SomeKeyPkt -> SomeKeyPkt -> Bool Source # (/=) :: SomeKeyPkt -> SomeKeyPkt -> Bool Source # | |
someKeyPktToPkt :: SomeKeyPkt -> Pkt Source #
data KeyPktCoercionError Source #
Constructors
| NotAKeyPacket Pkt | |
| ExpectedPublicKeyPacket Pkt | |
| ExpectedSecretKeyPacket Pkt |
Instances
| Show KeyPktCoercionError Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |
| Eq KeyPktCoercionError Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: KeyPktCoercionError -> KeyPktCoercionError -> Bool Source # (/=) :: KeyPktCoercionError -> KeyPktCoercionError -> Bool Source # | |
data PktWithWireRep Source #
Constructors
| PktWithWireRep | |
Fields
| |
Instances
| Data PktWithWireRep Source # | |||||
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) -> PktWithWireRep -> c PktWithWireRep Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PktWithWireRep Source # toConstr :: PktWithWireRep -> Constr Source # dataTypeOf :: PktWithWireRep -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PktWithWireRep) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PktWithWireRep) Source # gmapT :: (forall b. Data b => b -> b) -> PktWithWireRep -> PktWithWireRep Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PktWithWireRep -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PktWithWireRep -> r Source # gmapQ :: (forall d. Data d => d -> u) -> PktWithWireRep -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> PktWithWireRep -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PktWithWireRep -> m PktWithWireRep Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PktWithWireRep -> m PktWithWireRep Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PktWithWireRep -> m PktWithWireRep Source # | |||||
| Generic PktWithWireRep Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Associated Types
Methods from :: PktWithWireRep -> Rep PktWithWireRep x Source # to :: Rep PktWithWireRep x -> PktWithWireRep Source # | |||||
| Show PktWithWireRep Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |||||
| Eq PktWithWireRep Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: PktWithWireRep -> PktWithWireRep -> Bool Source # (/=) :: PktWithWireRep -> PktWithWireRep -> Bool Source # | |||||
| Ord PktWithWireRep Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods compare :: PktWithWireRep -> PktWithWireRep -> Ordering Source # (<) :: PktWithWireRep -> PktWithWireRep -> Bool Source # (<=) :: PktWithWireRep -> PktWithWireRep -> Bool Source # (>) :: PktWithWireRep -> PktWithWireRep -> Bool Source # (>=) :: PktWithWireRep -> PktWithWireRep -> Bool Source # max :: PktWithWireRep -> PktWithWireRep -> PktWithWireRep Source # min :: PktWithWireRep -> PktWithWireRep -> PktWithWireRep Source # | |||||
| type Rep PktWithWireRep Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt type Rep PktWithWireRep = D1 ('MetaData "PktWithWireRep" "Codec.Encryption.OpenPGP.Types.Internal.Pkt" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "PktWithWireRep" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_pktWireRepRef") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 WireRepRef) :*: S1 ('MetaSel ('Just "_pktRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteRange)) :*: (S1 ('MetaSel ('Just "_pktRaw") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString) :*: (S1 ('MetaSel ('Just "_pktIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "_pktValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pkt))))) | |||||
packetsFromWireRep :: WireRepRef -> [PktWithWireRep] -> [PktWithWireRep] Source #
keyPktRole :: forall (k :: KeyPktKind). KeyPkt k -> KeyPktRole Source #
keyPktPKPayload :: forall (k :: KeyPktKind). KeyPkt k -> SomePKPayload Source #
keyPktMaybeSKAddendum :: forall (k :: KeyPktKind). KeyPkt k -> Maybe SKAddendum Source #
keyPktTKKey :: forall (k :: KeyPktKind). KeyPkt k -> (SomePKPayload, Maybe SKAddendum) Source #
mkPrimaryKeyPkt :: SomePKPayload -> Maybe SKAddendum -> SomeKeyPkt Source #
mkSubkeyKeyPkt :: SomePKPayload -> Maybe SKAddendum -> SomeKeyPkt Source #
pktToSomeKeyPkt :: Pkt -> Maybe SomeKeyPkt Source #
publicKeyPacketOf :: Pkt -> Pkt Source #
Convert secret key/subkey packets to their public-key packet forms. Non-secret packets are returned unchanged.
data Verification Source #
Constructors
| Verification | |
data VerificationWarning Source #
Constructors
| MissingSubkeyBackSignatureWarning |
Instances
| Show VerificationWarning Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt | |
| Eq VerificationWarning Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.Pkt Methods (==) :: VerificationWarning -> VerificationWarning -> Bool Source # (/=) :: VerificationWarning -> VerificationWarning -> Bool Source # | |
data SOPVVerification Source #
Constructors
| SOPVVerification | |
Minimal complete definition
Associated Types
data PacketType a Source #
Methods
packetType :: a -> PacketType a Source #
packetCode :: PacketType a -> Word8 Source #
dynamicPacketCode :: a -> Word8 Source #
fromPktMaybe :: Pkt -> Maybe a Source #
Instances
| Packet BrokenPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: BrokenPacket -> PacketType BrokenPacket Source # packetCode :: PacketType BrokenPacket -> Word8 Source # dynamicPacketCode :: BrokenPacket -> Word8 Source # toPkt :: BrokenPacket -> Pkt Source # fromPktMaybe :: Pkt -> Maybe BrokenPacket Source # fromPktEither :: Pkt -> Either String BrokenPacket Source # | |||||
| Packet CompressedData Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: CompressedData -> PacketType CompressedData Source # packetCode :: PacketType CompressedData -> Word8 Source # dynamicPacketCode :: CompressedData -> Word8 Source # toPkt :: CompressedData -> Pkt Source # fromPktMaybe :: Pkt -> Maybe CompressedData Source # fromPktEither :: Pkt -> Either String CompressedData Source # | |||||
| Packet LiteralData Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: LiteralData -> PacketType LiteralData Source # packetCode :: PacketType LiteralData -> Word8 Source # dynamicPacketCode :: LiteralData -> Word8 Source # toPkt :: LiteralData -> Pkt Source # fromPktMaybe :: Pkt -> Maybe LiteralData Source # fromPktEither :: Pkt -> Either String LiteralData Source # | |||||
| Packet Marker Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: Marker -> PacketType Marker Source # packetCode :: PacketType Marker -> Word8 Source # dynamicPacketCode :: Marker -> Word8 Source # toPkt :: Marker -> Pkt Source # | |||||
| Packet ModificationDetectionCode Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: ModificationDetectionCode -> PacketType ModificationDetectionCode Source # packetCode :: PacketType ModificationDetectionCode -> Word8 Source # dynamicPacketCode :: ModificationDetectionCode -> Word8 Source # toPkt :: ModificationDetectionCode -> Pkt Source # fromPktMaybe :: Pkt -> Maybe ModificationDetectionCode Source # fromPktEither :: Pkt -> Either String ModificationDetectionCode Source # | |||||
| Packet OtherPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: OtherPacket -> PacketType OtherPacket Source # packetCode :: PacketType OtherPacket -> Word8 Source # dynamicPacketCode :: OtherPacket -> Word8 Source # toPkt :: OtherPacket -> Pkt Source # fromPktMaybe :: Pkt -> Maybe OtherPacket Source # fromPktEither :: Pkt -> Either String OtherPacket Source # | |||||
| Packet PublicKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: PublicKey -> PacketType PublicKey Source # packetCode :: PacketType PublicKey -> Word8 Source # dynamicPacketCode :: PublicKey -> Word8 Source # toPkt :: PublicKey -> Pkt Source # | |||||
| Packet PublicSubkey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: PublicSubkey -> PacketType PublicSubkey Source # packetCode :: PacketType PublicSubkey -> Word8 Source # dynamicPacketCode :: PublicSubkey -> Word8 Source # toPkt :: PublicSubkey -> Pkt Source # fromPktMaybe :: Pkt -> Maybe PublicSubkey Source # fromPktEither :: Pkt -> Either String PublicSubkey Source # | |||||
| Packet SecretKey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SecretKey -> PacketType SecretKey Source # packetCode :: PacketType SecretKey -> Word8 Source # dynamicPacketCode :: SecretKey -> Word8 Source # toPkt :: SecretKey -> Pkt Source # | |||||
| Packet SecretSubkey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SecretSubkey -> PacketType SecretSubkey Source # packetCode :: PacketType SecretSubkey -> Word8 Source # dynamicPacketCode :: SecretSubkey -> Word8 Source # toPkt :: SecretSubkey -> Pkt Source # fromPktMaybe :: Pkt -> Maybe SecretSubkey Source # fromPktEither :: Pkt -> Either String SecretSubkey Source # | |||||
| Packet Signature Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: Signature -> PacketType Signature Source # packetCode :: PacketType Signature -> Word8 Source # dynamicPacketCode :: Signature -> Word8 Source # toPkt :: Signature -> Pkt Source # | |||||
| Packet SymEncData Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SymEncData -> PacketType SymEncData Source # packetCode :: PacketType SymEncData -> Word8 Source # dynamicPacketCode :: SymEncData -> Word8 Source # toPkt :: SymEncData -> Pkt Source # fromPktMaybe :: Pkt -> Maybe SymEncData Source # fromPktEither :: Pkt -> Either String SymEncData Source # | |||||
| Packet SymEncIntegrityProtectedData Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SymEncIntegrityProtectedData -> PacketType SymEncIntegrityProtectedData Source # packetCode :: PacketType SymEncIntegrityProtectedData -> Word8 Source # dynamicPacketCode :: SymEncIntegrityProtectedData -> Word8 Source # toPkt :: SymEncIntegrityProtectedData -> Pkt Source # fromPktMaybe :: Pkt -> Maybe SymEncIntegrityProtectedData Source # fromPktEither :: Pkt -> Either String SymEncIntegrityProtectedData Source # | |||||
| Packet Trust Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: Trust -> PacketType Trust Source # packetCode :: PacketType Trust -> Word8 Source # dynamicPacketCode :: Trust -> Word8 Source # toPkt :: Trust -> Pkt Source # | |||||
| Packet UserAttribute Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: UserAttribute -> PacketType UserAttribute Source # packetCode :: PacketType UserAttribute -> Word8 Source # dynamicPacketCode :: UserAttribute -> Word8 Source # toPkt :: UserAttribute -> Pkt Source # fromPktMaybe :: Pkt -> Maybe UserAttribute Source # fromPktEither :: Pkt -> Either String UserAttribute Source # | |||||
| Packet UserId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: UserId -> PacketType UserId Source # packetCode :: PacketType UserId -> Word8 Source # dynamicPacketCode :: UserId -> Word8 Source # toPkt :: UserId -> Pkt Source # | |||||
| Packet (OnePassSignature 'OPSV3) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: OnePassSignature 'OPSV3 -> PacketType (OnePassSignature 'OPSV3) Source # packetCode :: PacketType (OnePassSignature 'OPSV3) -> Word8 Source # dynamicPacketCode :: OnePassSignature 'OPSV3 -> Word8 Source # toPkt :: OnePassSignature 'OPSV3 -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (OnePassSignature 'OPSV3) Source # fromPktEither :: Pkt -> Either String (OnePassSignature 'OPSV3) Source # | |||||
| Packet (OnePassSignature 'OPSV6) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: OnePassSignature 'OPSV6 -> PacketType (OnePassSignature 'OPSV6) Source # packetCode :: PacketType (OnePassSignature 'OPSV6) -> Word8 Source # dynamicPacketCode :: OnePassSignature 'OPSV6 -> Word8 Source # toPkt :: OnePassSignature 'OPSV6 -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (OnePassSignature 'OPSV6) Source # fromPktEither :: Pkt -> Either String (OnePassSignature 'OPSV6) Source # | |||||
| Packet (PKESK 'PKESKV3) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: PKESK 'PKESKV3 -> PacketType (PKESK 'PKESKV3) Source # packetCode :: PacketType (PKESK 'PKESKV3) -> Word8 Source # dynamicPacketCode :: PKESK 'PKESKV3 -> Word8 Source # toPkt :: PKESK 'PKESKV3 -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (PKESK 'PKESKV3) Source # fromPktEither :: Pkt -> Either String (PKESK 'PKESKV3) Source # | |||||
| Packet (PKESK 'PKESKV6) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: PKESK 'PKESKV6 -> PacketType (PKESK 'PKESKV6) Source # packetCode :: PacketType (PKESK 'PKESKV6) -> Word8 Source # dynamicPacketCode :: PKESK 'PKESKV6 -> Word8 Source # toPkt :: PKESK 'PKESKV6 -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (PKESK 'PKESKV6) Source # fromPktEither :: Pkt -> Either String (PKESK 'PKESKV6) Source # | |||||
| Packet (SKESK 'SKESKV4) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SKESK 'SKESKV4 -> PacketType (SKESK 'SKESKV4) Source # packetCode :: PacketType (SKESK 'SKESKV4) -> Word8 Source # dynamicPacketCode :: SKESK 'SKESKV4 -> Word8 Source # toPkt :: SKESK 'SKESKV4 -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (SKESK 'SKESKV4) Source # fromPktEither :: Pkt -> Either String (SKESK 'SKESKV4) Source # | |||||
| Packet (SKESK 'SKESKV6) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SKESK 'SKESKV6 -> PacketType (SKESK 'SKESKV6) Source # packetCode :: PacketType (SKESK 'SKESKV6) -> Word8 Source # dynamicPacketCode :: SKESK 'SKESKV6 -> Word8 Source # toPkt :: SKESK 'SKESKV6 -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (SKESK 'SKESKV6) Source # fromPktEither :: Pkt -> Either String (SKESK 'SKESKV6) Source # | |||||
| Packet (SignatureV 'SigPayloadV3) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SignatureV 'SigPayloadV3 -> PacketType (SignatureV 'SigPayloadV3) Source # packetCode :: PacketType (SignatureV 'SigPayloadV3) -> Word8 Source # dynamicPacketCode :: SignatureV 'SigPayloadV3 -> Word8 Source # toPkt :: SignatureV 'SigPayloadV3 -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (SignatureV 'SigPayloadV3) Source # fromPktEither :: Pkt -> Either String (SignatureV 'SigPayloadV3) Source # | |||||
| Packet (SignatureV 'SigPayloadV4) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SignatureV 'SigPayloadV4 -> PacketType (SignatureV 'SigPayloadV4) Source # packetCode :: PacketType (SignatureV 'SigPayloadV4) -> Word8 Source # dynamicPacketCode :: SignatureV 'SigPayloadV4 -> Word8 Source # toPkt :: SignatureV 'SigPayloadV4 -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (SignatureV 'SigPayloadV4) Source # fromPktEither :: Pkt -> Either String (SignatureV 'SigPayloadV4) Source # | |||||
| Packet (SignatureV 'SigPayloadV6) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SignatureV 'SigPayloadV6 -> PacketType (SignatureV 'SigPayloadV6) Source # packetCode :: PacketType (SignatureV 'SigPayloadV6) -> Word8 Source # dynamicPacketCode :: SignatureV 'SigPayloadV6 -> Word8 Source # toPkt :: SignatureV 'SigPayloadV6 -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (SignatureV 'SigPayloadV6) Source # fromPktEither :: Pkt -> Either String (SignatureV 'SigPayloadV6) Source # | |||||
| Packet (SignatureV 'SigPayloadVOther) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SignatureV 'SigPayloadVOther -> PacketType (SignatureV 'SigPayloadVOther) Source # packetCode :: PacketType (SignatureV 'SigPayloadVOther) -> Word8 Source # dynamicPacketCode :: SignatureV 'SigPayloadVOther -> Word8 Source # toPkt :: SignatureV 'SigPayloadVOther -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (SignatureV 'SigPayloadVOther) Source # fromPktEither :: Pkt -> Either String (SignatureV 'SigPayloadVOther) Source # | |||||
data family PacketType a Source #
Instances
| Show (PacketType BrokenPacket) Source # | |
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 # | |
| Show (PacketType CompressedData) Source # | |
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 # | |
| Show (PacketType LiteralData) Source # | |
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 # | |
| Show (PacketType Marker) Source # | |
| Show (PacketType ModificationDetectionCode) Source # | |
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 # | |
| Show (PacketType (OnePassSignature 'OPSV3)) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType (OnePassSignature 'OPSV3) -> ShowS Source # show :: PacketType (OnePassSignature 'OPSV3) -> String Source # showList :: [PacketType (OnePassSignature 'OPSV3)] -> ShowS Source # | |
| Show (PacketType (OnePassSignature 'OPSV6)) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType (OnePassSignature 'OPSV6) -> ShowS Source # show :: PacketType (OnePassSignature 'OPSV6) -> String Source # showList :: [PacketType (OnePassSignature 'OPSV6)] -> ShowS Source # | |
| Show (PacketType OtherPacket) Source # | |
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 # | |
| Show (PacketType (PKESK 'PKESKV3)) Source # | |
| Show (PacketType (PKESK 'PKESKV6)) Source # | |
| Show (PacketType PublicKey) Source # | |
| Show (PacketType PublicSubkey) Source # | |
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 # | |
| Show (PacketType (SKESK 'SKESKV4)) Source # | |
| Show (PacketType (SKESK 'SKESKV6)) Source # | |
| Show (PacketType SecretKey) Source # | |
| Show (PacketType SecretSubkey) Source # | |
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 # | |
| Show (PacketType Signature) Source # | |
| Show (PacketType (SignatureV 'SigPayloadV3)) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType (SignatureV 'SigPayloadV3) -> ShowS Source # show :: PacketType (SignatureV 'SigPayloadV3) -> String Source # showList :: [PacketType (SignatureV 'SigPayloadV3)] -> ShowS Source # | |
| Show (PacketType (SignatureV 'SigPayloadV4)) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType (SignatureV 'SigPayloadV4) -> ShowS Source # show :: PacketType (SignatureV 'SigPayloadV4) -> String Source # showList :: [PacketType (SignatureV 'SigPayloadV4)] -> ShowS Source # | |
| Show (PacketType (SignatureV 'SigPayloadV6)) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType (SignatureV 'SigPayloadV6) -> ShowS Source # show :: PacketType (SignatureV 'SigPayloadV6) -> String Source # showList :: [PacketType (SignatureV 'SigPayloadV6)] -> ShowS Source # | |
| Show (PacketType (SignatureV 'SigPayloadVOther)) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType (SignatureV 'SigPayloadVOther) -> ShowS Source # show :: PacketType (SignatureV 'SigPayloadVOther) -> String Source # showList :: [PacketType (SignatureV 'SigPayloadVOther)] -> ShowS Source # | |
| Show (PacketType SymEncData) Source # | |
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 # | |
| Show (PacketType SymEncIntegrityProtectedData) Source # | |
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 # | |
| Show (PacketType Trust) Source # | |
| Show (PacketType UserAttribute) Source # | |
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 # | |
| Show (PacketType UserId) Source # | |
| Eq (PacketType BrokenPacket) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType BrokenPacket -> PacketType BrokenPacket -> Bool Source # (/=) :: PacketType BrokenPacket -> PacketType BrokenPacket -> Bool Source # | |
| Eq (PacketType CompressedData) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType CompressedData -> PacketType CompressedData -> Bool Source # (/=) :: PacketType CompressedData -> PacketType CompressedData -> Bool Source # | |
| Eq (PacketType LiteralData) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType LiteralData -> PacketType LiteralData -> Bool Source # (/=) :: PacketType LiteralData -> PacketType LiteralData -> Bool Source # | |
| Eq (PacketType Marker) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType Marker -> PacketType Marker -> Bool Source # (/=) :: PacketType Marker -> PacketType Marker -> Bool Source # | |
| Eq (PacketType ModificationDetectionCode) Source # | |
| Eq (PacketType (OnePassSignature 'OPSV3)) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (OnePassSignature 'OPSV3) -> PacketType (OnePassSignature 'OPSV3) -> Bool Source # (/=) :: PacketType (OnePassSignature 'OPSV3) -> PacketType (OnePassSignature 'OPSV3) -> Bool Source # | |
| Eq (PacketType (OnePassSignature 'OPSV6)) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (OnePassSignature 'OPSV6) -> PacketType (OnePassSignature 'OPSV6) -> Bool Source # (/=) :: PacketType (OnePassSignature 'OPSV6) -> PacketType (OnePassSignature 'OPSV6) -> Bool Source # | |
| Eq (PacketType OtherPacket) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType OtherPacket -> PacketType OtherPacket -> Bool Source # (/=) :: PacketType OtherPacket -> PacketType OtherPacket -> Bool Source # | |
| Eq (PacketType (PKESK 'PKESKV3)) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (PKESK 'PKESKV3) -> PacketType (PKESK 'PKESKV3) -> Bool Source # (/=) :: PacketType (PKESK 'PKESKV3) -> PacketType (PKESK 'PKESKV3) -> Bool Source # | |
| Eq (PacketType (PKESK 'PKESKV6)) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (PKESK 'PKESKV6) -> PacketType (PKESK 'PKESKV6) -> Bool Source # (/=) :: PacketType (PKESK 'PKESKV6) -> PacketType (PKESK 'PKESKV6) -> Bool Source # | |
| Eq (PacketType PublicKey) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType PublicKey -> PacketType PublicKey -> Bool Source # (/=) :: PacketType PublicKey -> PacketType PublicKey -> Bool Source # | |
| Eq (PacketType PublicSubkey) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType PublicSubkey -> PacketType PublicSubkey -> Bool Source # (/=) :: PacketType PublicSubkey -> PacketType PublicSubkey -> Bool Source # | |
| Eq (PacketType (SKESK 'SKESKV4)) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (SKESK 'SKESKV4) -> PacketType (SKESK 'SKESKV4) -> Bool Source # (/=) :: PacketType (SKESK 'SKESKV4) -> PacketType (SKESK 'SKESKV4) -> Bool Source # | |
| Eq (PacketType (SKESK 'SKESKV6)) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (SKESK 'SKESKV6) -> PacketType (SKESK 'SKESKV6) -> Bool Source # (/=) :: PacketType (SKESK 'SKESKV6) -> PacketType (SKESK 'SKESKV6) -> Bool Source # | |
| Eq (PacketType SecretKey) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType SecretKey -> PacketType SecretKey -> Bool Source # (/=) :: PacketType SecretKey -> PacketType SecretKey -> Bool Source # | |
| Eq (PacketType SecretSubkey) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType SecretSubkey -> PacketType SecretSubkey -> Bool Source # (/=) :: PacketType SecretSubkey -> PacketType SecretSubkey -> Bool Source # | |
| Eq (PacketType Signature) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType Signature -> PacketType Signature -> Bool Source # (/=) :: PacketType Signature -> PacketType Signature -> Bool Source # | |
| Eq (PacketType (SignatureV 'SigPayloadV3)) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (SignatureV 'SigPayloadV3) -> PacketType (SignatureV 'SigPayloadV3) -> Bool Source # (/=) :: PacketType (SignatureV 'SigPayloadV3) -> PacketType (SignatureV 'SigPayloadV3) -> Bool Source # | |
| Eq (PacketType (SignatureV 'SigPayloadV4)) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (SignatureV 'SigPayloadV4) -> PacketType (SignatureV 'SigPayloadV4) -> Bool Source # (/=) :: PacketType (SignatureV 'SigPayloadV4) -> PacketType (SignatureV 'SigPayloadV4) -> Bool Source # | |
| Eq (PacketType (SignatureV 'SigPayloadV6)) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (SignatureV 'SigPayloadV6) -> PacketType (SignatureV 'SigPayloadV6) -> Bool Source # (/=) :: PacketType (SignatureV 'SigPayloadV6) -> PacketType (SignatureV 'SigPayloadV6) -> Bool Source # | |
| Eq (PacketType (SignatureV 'SigPayloadVOther)) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (SignatureV 'SigPayloadVOther) -> PacketType (SignatureV 'SigPayloadVOther) -> Bool Source # (/=) :: PacketType (SignatureV 'SigPayloadVOther) -> PacketType (SignatureV 'SigPayloadVOther) -> Bool Source # | |
| Eq (PacketType SymEncData) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType SymEncData -> PacketType SymEncData -> Bool Source # (/=) :: PacketType SymEncData -> PacketType SymEncData -> Bool Source # | |
| Eq (PacketType SymEncIntegrityProtectedData) Source # | |
| Eq (PacketType Trust) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType Trust -> PacketType Trust -> Bool Source # (/=) :: PacketType Trust -> PacketType Trust -> Bool Source # | |
| Eq (PacketType UserAttribute) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType UserAttribute -> PacketType UserAttribute -> Bool Source # (/=) :: PacketType UserAttribute -> PacketType UserAttribute -> Bool Source # | |
| Eq (PacketType UserId) Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType UserId -> PacketType UserId -> Bool Source # (/=) :: PacketType UserId -> PacketType UserId -> Bool Source # | |
| data PacketType BrokenPacket Source # | |
| data PacketType CompressedData Source # | |
| data PacketType LiteralData Source # | |
| data PacketType Marker Source # | |
| data PacketType ModificationDetectionCode Source # | |
| data PacketType OtherPacket Source # | |
| data PacketType PublicKey Source # | |
| data PacketType PublicSubkey Source # | |
| data PacketType SecretKey Source # | |
| data PacketType SecretSubkey Source # | |
| data PacketType Signature Source # | |
| data PacketType SymEncData Source # | |
| data PacketType SymEncIntegrityProtectedData Source # | |
| data PacketType Trust Source # | |
| data PacketType UserAttribute Source # | |
| data PacketType UserId Source # | |
| data PacketType (OnePassSignature 'OPSV3) Source # | |
| data PacketType (OnePassSignature 'OPSV6) Source # | |
| data PacketType (PKESK 'PKESKV3) Source # | |
| data PacketType (PKESK 'PKESKV6) Source # | |
| data PacketType (SKESK 'SKESKV4) Source # | |
| data PacketType (SKESK 'SKESKV6) Source # | |
| data PacketType (SignatureV 'SigPayloadV3) Source # | |
| data PacketType (SignatureV 'SigPayloadV4) Source # | |
| data PacketType (SignatureV 'SigPayloadV6) Source # | |
| data PacketType (SignatureV 'SigPayloadVOther) Source # | |
data PKESK (v :: PKESKPayloadVersion) where Source #
Constructors
| PKESK3Packet :: PacketVersion -> EightOctetKeyId -> PubKeyAlgorithm -> NonEmpty MPI -> PKESK 'PKESKV3 | |
| PKESK6Packet :: ByteString -> PubKeyAlgorithm -> ByteString -> PKESK 'PKESKV6 |
Instances
| Binary (PKESK 'PKESKV3) Source # | |||||
| Binary (PKESK 'PKESKV6) Source # | |||||
| Show (PKESK v) Source # | |||||
| Show (PacketType (PKESK 'PKESKV3)) Source # | |||||
| Show (PacketType (PKESK 'PKESKV6)) Source # | |||||
| Eq (PKESK v) Source # | |||||
| Eq (PacketType (PKESK 'PKESKV3)) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (PKESK 'PKESKV3) -> PacketType (PKESK 'PKESKV3) -> Bool Source # (/=) :: PacketType (PKESK 'PKESKV3) -> PacketType (PKESK 'PKESKV3) -> Bool Source # | |||||
| Eq (PacketType (PKESK 'PKESKV6)) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (PKESK 'PKESKV6) -> PacketType (PKESK 'PKESKV6) -> Bool Source # (/=) :: PacketType (PKESK 'PKESKV6) -> PacketType (PKESK 'PKESKV6) -> Bool Source # | |||||
| Packet (PKESK 'PKESKV3) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: PKESK 'PKESKV3 -> PacketType (PKESK 'PKESKV3) Source # packetCode :: PacketType (PKESK 'PKESKV3) -> Word8 Source # dynamicPacketCode :: PKESK 'PKESKV3 -> Word8 Source # toPkt :: PKESK 'PKESKV3 -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (PKESK 'PKESKV3) Source # fromPktEither :: Pkt -> Either String (PKESK 'PKESKV3) Source # | |||||
| Packet (PKESK 'PKESKV6) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: PKESK 'PKESKV6 -> PacketType (PKESK 'PKESKV6) Source # packetCode :: PacketType (PKESK 'PKESKV6) -> Word8 Source # dynamicPacketCode :: PKESK 'PKESKV6 -> Word8 Source # toPkt :: PKESK 'PKESKV6 -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (PKESK 'PKESKV6) Source # fromPktEither :: Pkt -> Either String (PKESK 'PKESKV6) Source # | |||||
| Pretty (PKESK 'PKESKV3) Source # | |||||
| Pretty (PKESK 'PKESKV6) Source # | |||||
| data PacketType (PKESK 'PKESKV3) Source # | |||||
| data PacketType (PKESK 'PKESKV6) Source # | |||||
data SignatureV (v :: SignaturePayloadVersion) where Source #
Constructors
| SignatureV3Packet :: SignaturePayloadV 'SigPayloadV3 -> SignatureV 'SigPayloadV3 | |
| SignatureV4Packet :: SignaturePayloadV 'SigPayloadV4 -> SignatureV 'SigPayloadV4 | |
| SignatureV6Packet :: SignaturePayloadV 'SigPayloadV6 -> SignatureV 'SigPayloadV6 | |
| SignatureVOtherPacket :: SignaturePayloadV 'SigPayloadVOther -> SignatureV 'SigPayloadVOther |
Instances
| Show (PacketType (SignatureV 'SigPayloadV3)) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType (SignatureV 'SigPayloadV3) -> ShowS Source # show :: PacketType (SignatureV 'SigPayloadV3) -> String Source # showList :: [PacketType (SignatureV 'SigPayloadV3)] -> ShowS Source # | |||||
| Show (PacketType (SignatureV 'SigPayloadV4)) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType (SignatureV 'SigPayloadV4) -> ShowS Source # show :: PacketType (SignatureV 'SigPayloadV4) -> String Source # showList :: [PacketType (SignatureV 'SigPayloadV4)] -> ShowS Source # | |||||
| Show (PacketType (SignatureV 'SigPayloadV6)) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType (SignatureV 'SigPayloadV6) -> ShowS Source # show :: PacketType (SignatureV 'SigPayloadV6) -> String Source # showList :: [PacketType (SignatureV 'SigPayloadV6)] -> ShowS Source # | |||||
| Show (PacketType (SignatureV 'SigPayloadVOther)) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType (SignatureV 'SigPayloadVOther) -> ShowS Source # show :: PacketType (SignatureV 'SigPayloadVOther) -> String Source # showList :: [PacketType (SignatureV 'SigPayloadVOther)] -> ShowS Source # | |||||
| Show (SignatureV v) Source # | |||||
| Eq (PacketType (SignatureV 'SigPayloadV3)) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (SignatureV 'SigPayloadV3) -> PacketType (SignatureV 'SigPayloadV3) -> Bool Source # (/=) :: PacketType (SignatureV 'SigPayloadV3) -> PacketType (SignatureV 'SigPayloadV3) -> Bool Source # | |||||
| Eq (PacketType (SignatureV 'SigPayloadV4)) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (SignatureV 'SigPayloadV4) -> PacketType (SignatureV 'SigPayloadV4) -> Bool Source # (/=) :: PacketType (SignatureV 'SigPayloadV4) -> PacketType (SignatureV 'SigPayloadV4) -> Bool Source # | |||||
| Eq (PacketType (SignatureV 'SigPayloadV6)) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (SignatureV 'SigPayloadV6) -> PacketType (SignatureV 'SigPayloadV6) -> Bool Source # (/=) :: PacketType (SignatureV 'SigPayloadV6) -> PacketType (SignatureV 'SigPayloadV6) -> Bool Source # | |||||
| Eq (PacketType (SignatureV 'SigPayloadVOther)) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (SignatureV 'SigPayloadVOther) -> PacketType (SignatureV 'SigPayloadVOther) -> Bool Source # (/=) :: PacketType (SignatureV 'SigPayloadVOther) -> PacketType (SignatureV 'SigPayloadVOther) -> Bool Source # | |||||
| Eq (SignatureV v) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: SignatureV v -> SignatureV v -> Bool Source # (/=) :: SignatureV v -> SignatureV v -> Bool Source # | |||||
| Packet (SignatureV 'SigPayloadV3) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SignatureV 'SigPayloadV3 -> PacketType (SignatureV 'SigPayloadV3) Source # packetCode :: PacketType (SignatureV 'SigPayloadV3) -> Word8 Source # dynamicPacketCode :: SignatureV 'SigPayloadV3 -> Word8 Source # toPkt :: SignatureV 'SigPayloadV3 -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (SignatureV 'SigPayloadV3) Source # fromPktEither :: Pkt -> Either String (SignatureV 'SigPayloadV3) Source # | |||||
| Packet (SignatureV 'SigPayloadV4) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SignatureV 'SigPayloadV4 -> PacketType (SignatureV 'SigPayloadV4) Source # packetCode :: PacketType (SignatureV 'SigPayloadV4) -> Word8 Source # dynamicPacketCode :: SignatureV 'SigPayloadV4 -> Word8 Source # toPkt :: SignatureV 'SigPayloadV4 -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (SignatureV 'SigPayloadV4) Source # fromPktEither :: Pkt -> Either String (SignatureV 'SigPayloadV4) Source # | |||||
| Packet (SignatureV 'SigPayloadV6) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SignatureV 'SigPayloadV6 -> PacketType (SignatureV 'SigPayloadV6) Source # packetCode :: PacketType (SignatureV 'SigPayloadV6) -> Word8 Source # dynamicPacketCode :: SignatureV 'SigPayloadV6 -> Word8 Source # toPkt :: SignatureV 'SigPayloadV6 -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (SignatureV 'SigPayloadV6) Source # fromPktEither :: Pkt -> Either String (SignatureV 'SigPayloadV6) Source # | |||||
| Packet (SignatureV 'SigPayloadVOther) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SignatureV 'SigPayloadVOther -> PacketType (SignatureV 'SigPayloadVOther) Source # packetCode :: PacketType (SignatureV 'SigPayloadVOther) -> Word8 Source # dynamicPacketCode :: SignatureV 'SigPayloadVOther -> Word8 Source # toPkt :: SignatureV 'SigPayloadVOther -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (SignatureV 'SigPayloadVOther) Source # fromPktEither :: Pkt -> Either String (SignatureV 'SigPayloadVOther) Source # | |||||
| Pretty (SignatureV 'SigPayloadV3) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: SignatureV 'SigPayloadV3 -> Doc ann prettyList :: [SignatureV 'SigPayloadV3] -> Doc ann | |||||
| Pretty (SignatureV 'SigPayloadV4) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: SignatureV 'SigPayloadV4 -> Doc ann prettyList :: [SignatureV 'SigPayloadV4] -> Doc ann | |||||
| Pretty (SignatureV 'SigPayloadV6) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: SignatureV 'SigPayloadV6 -> Doc ann prettyList :: [SignatureV 'SigPayloadV6] -> Doc ann | |||||
| Pretty (SignatureV 'SigPayloadVOther) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: SignatureV 'SigPayloadVOther -> Doc ann prettyList :: [SignatureV 'SigPayloadVOther] -> Doc ann | |||||
| data PacketType (SignatureV 'SigPayloadV3) Source # | |||||
| data PacketType (SignatureV 'SigPayloadV4) Source # | |||||
| data PacketType (SignatureV 'SigPayloadV6) Source # | |||||
| data PacketType (SignatureV 'SigPayloadVOther) Source # | |||||
data SomeSignatureV where Source #
Constructors
| SomeSignatureV :: forall (v :: SignaturePayloadVersion). SignatureV v -> SomeSignatureV |
signaturePayloadFromSignatureV :: forall (v :: SignaturePayloadVersion). SignatureV v -> SignaturePayload Source #
data SKESK (v :: SKESKPayloadVersion) where Source #
Constructors
| SKESK4Packet :: SymmetricAlgorithm -> S2K -> Maybe ByteString -> SKESK 'SKESKV4 | |
| SKESK6Packet :: SymmetricAlgorithm -> AEADAlgorithm -> S2K -> ByteString -> ByteString -> ByteString -> SKESK 'SKESKV6 |
Instances
| Binary (SKESK 'SKESKV4) Source # | |||||
| Binary (SKESK 'SKESKV6) Source # | |||||
| Show (PacketType (SKESK 'SKESKV4)) Source # | |||||
| Show (PacketType (SKESK 'SKESKV6)) Source # | |||||
| Show (SKESK v) Source # | |||||
| Eq (PacketType (SKESK 'SKESKV4)) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (SKESK 'SKESKV4) -> PacketType (SKESK 'SKESKV4) -> Bool Source # (/=) :: PacketType (SKESK 'SKESKV4) -> PacketType (SKESK 'SKESKV4) -> Bool Source # | |||||
| Eq (PacketType (SKESK 'SKESKV6)) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (SKESK 'SKESKV6) -> PacketType (SKESK 'SKESKV6) -> Bool Source # (/=) :: PacketType (SKESK 'SKESKV6) -> PacketType (SKESK 'SKESKV6) -> Bool Source # | |||||
| Eq (SKESK v) Source # | |||||
| Packet (SKESK 'SKESKV4) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SKESK 'SKESKV4 -> PacketType (SKESK 'SKESKV4) Source # packetCode :: PacketType (SKESK 'SKESKV4) -> Word8 Source # dynamicPacketCode :: SKESK 'SKESKV4 -> Word8 Source # toPkt :: SKESK 'SKESKV4 -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (SKESK 'SKESKV4) Source # fromPktEither :: Pkt -> Either String (SKESK 'SKESKV4) Source # | |||||
| Packet (SKESK 'SKESKV6) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SKESK 'SKESKV6 -> PacketType (SKESK 'SKESKV6) Source # packetCode :: PacketType (SKESK 'SKESKV6) -> Word8 Source # dynamicPacketCode :: SKESK 'SKESKV6 -> Word8 Source # toPkt :: SKESK 'SKESKV6 -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (SKESK 'SKESKV6) Source # fromPktEither :: Pkt -> Either String (SKESK 'SKESKV6) Source # | |||||
| Pretty (SKESK 'SKESKV4) Source # | |||||
| Pretty (SKESK 'SKESKV6) Source # | |||||
| data PacketType (SKESK 'SKESKV4) Source # | |||||
| data PacketType (SKESK 'SKESKV6) Source # | |||||
data OnePassSignature (v :: OnePassSignatureVersion) where Source #
Constructors
| OnePassSignatureV3Packet :: PacketVersion -> SigType -> HashAlgorithm -> PubKeyAlgorithm -> EightOctetKeyId -> NestedFlag -> OnePassSignature 'OPSV3 | |
| OnePassSignatureV6Packet :: SigType -> HashAlgorithm -> PubKeyAlgorithm -> SignatureSalt -> ByteString -> NestedFlag -> OnePassSignature 'OPSV6 |
Instances
| Binary (OnePassSignature 'OPSV3) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Serialize | |||||
| Binary (OnePassSignature 'OPSV6) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Serialize | |||||
| Show (OnePassSignature v) Source # | |||||
| Show (PacketType (OnePassSignature 'OPSV3)) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType (OnePassSignature 'OPSV3) -> ShowS Source # show :: PacketType (OnePassSignature 'OPSV3) -> String Source # showList :: [PacketType (OnePassSignature 'OPSV3)] -> ShowS Source # | |||||
| Show (PacketType (OnePassSignature 'OPSV6)) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods showsPrec :: Int -> PacketType (OnePassSignature 'OPSV6) -> ShowS Source # show :: PacketType (OnePassSignature 'OPSV6) -> String Source # showList :: [PacketType (OnePassSignature 'OPSV6)] -> ShowS Source # | |||||
| Eq (OnePassSignature v) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: OnePassSignature v -> OnePassSignature v -> Bool Source # (/=) :: OnePassSignature v -> OnePassSignature v -> Bool Source # | |||||
| Eq (PacketType (OnePassSignature 'OPSV3)) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (OnePassSignature 'OPSV3) -> PacketType (OnePassSignature 'OPSV3) -> Bool Source # (/=) :: PacketType (OnePassSignature 'OPSV3) -> PacketType (OnePassSignature 'OPSV3) -> Bool Source # | |||||
| Eq (PacketType (OnePassSignature 'OPSV6)) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PacketType (OnePassSignature 'OPSV6) -> PacketType (OnePassSignature 'OPSV6) -> Bool Source # (/=) :: PacketType (OnePassSignature 'OPSV6) -> PacketType (OnePassSignature 'OPSV6) -> Bool Source # | |||||
| Packet (OnePassSignature 'OPSV3) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: OnePassSignature 'OPSV3 -> PacketType (OnePassSignature 'OPSV3) Source # packetCode :: PacketType (OnePassSignature 'OPSV3) -> Word8 Source # dynamicPacketCode :: OnePassSignature 'OPSV3 -> Word8 Source # toPkt :: OnePassSignature 'OPSV3 -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (OnePassSignature 'OPSV3) Source # fromPktEither :: Pkt -> Either String (OnePassSignature 'OPSV3) Source # | |||||
| Packet (OnePassSignature 'OPSV6) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: OnePassSignature 'OPSV6 -> PacketType (OnePassSignature 'OPSV6) Source # packetCode :: PacketType (OnePassSignature 'OPSV6) -> Word8 Source # dynamicPacketCode :: OnePassSignature 'OPSV6 -> Word8 Source # toPkt :: OnePassSignature 'OPSV6 -> Pkt Source # fromPktMaybe :: Pkt -> Maybe (OnePassSignature 'OPSV6) Source # fromPktEither :: Pkt -> Either String (OnePassSignature 'OPSV6) Source # | |||||
| Pretty (OnePassSignature 'OPSV3) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: OnePassSignature 'OPSV3 -> Doc ann prettyList :: [OnePassSignature 'OPSV3] -> Doc ann | |||||
| Pretty (OnePassSignature 'OPSV6) Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: OnePassSignature 'OPSV6 -> Doc ann prettyList :: [OnePassSignature 'OPSV6] -> Doc ann | |||||
| data PacketType (OnePassSignature 'OPSV3) Source # | |||||
| data PacketType (OnePassSignature 'OPSV6) Source # | |||||
data SecretSubkey Source #
Constructors
| SecretSubkey | |
Instances
| Binary SecretSubkey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: SecretSubkey -> Put Source # get :: Get SecretSubkey Source # putList :: [SecretSubkey] -> Put Source # | |||||
| Data SecretSubkey Source # | |||||
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 # | |||||
| Eq SecretSubkey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: SecretSubkey -> SecretSubkey -> Bool Source # (/=) :: SecretSubkey -> SecretSubkey -> Bool Source # | |||||
| Packet SecretSubkey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SecretSubkey -> PacketType SecretSubkey Source # packetCode :: PacketType SecretSubkey -> Word8 Source # dynamicPacketCode :: SecretSubkey -> Word8 Source # toPkt :: SecretSubkey -> Pkt Source # fromPktMaybe :: Pkt -> Maybe SecretSubkey Source # fromPktEither :: Pkt -> Either String SecretSubkey Source # | |||||
| Pretty SecretSubkey Source # | |||||
| Show (PacketType SecretSubkey) Source # | |||||
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 # | |||||
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 # | |||||
data CompressedData Source #
Constructors
| CompressedData | |
Instances
| Binary CompressedData Source # | |||||
Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: CompressedData -> Put Source # get :: Get CompressedData Source # putList :: [CompressedData] -> Put Source # | |||||
| Data CompressedData Source # | |||||
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 # | |||||
| Eq CompressedData Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: CompressedData -> CompressedData -> Bool Source # (/=) :: CompressedData -> CompressedData -> Bool Source # | |||||
| Packet CompressedData Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: CompressedData -> PacketType CompressedData Source # packetCode :: PacketType CompressedData -> Word8 Source # dynamicPacketCode :: CompressedData -> Word8 Source # toPkt :: CompressedData -> Pkt Source # fromPktMaybe :: Pkt -> Maybe CompressedData Source # fromPktEither :: Pkt -> Either String CompressedData Source # | |||||
| Pretty CompressedData Source # | |||||
| Show (PacketType CompressedData) Source # | |||||
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 # | |||||
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 # | |||||
newtype SymEncData Source #
Constructors
| SymEncData | |
Fields | |
Instances
| Binary SymEncData Source # | |||||
Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: SymEncData -> Put Source # get :: Get SymEncData Source # putList :: [SymEncData] -> Put Source # | |||||
| Data SymEncData Source # | |||||
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 # | |||||
| Eq SymEncData Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: SymEncData -> SymEncData -> Bool Source # (/=) :: SymEncData -> SymEncData -> Bool Source # | |||||
| Packet SymEncData Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SymEncData -> PacketType SymEncData Source # packetCode :: PacketType SymEncData -> Word8 Source # dynamicPacketCode :: SymEncData -> Word8 Source # toPkt :: SymEncData -> Pkt Source # fromPktMaybe :: Pkt -> Maybe SymEncData Source # fromPktEither :: Pkt -> Either String SymEncData Source # | |||||
| Pretty SymEncData Source # | |||||
| Show (PacketType SymEncData) Source # | |||||
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 # | |||||
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 # | |||||
Constructors
| Marker | |
Fields | |
Instances
| Binary Marker Source # | |||||
| Data Marker Source # | |||||
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 # | |||||
| Eq Marker Source # | |||||
| Packet Marker Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: Marker -> PacketType Marker Source # packetCode :: PacketType Marker -> Word8 Source # dynamicPacketCode :: Marker -> Word8 Source # toPkt :: Marker -> Pkt Source # | |||||
| Pretty Marker Source # | |||||
| Show (PacketType Marker) Source # | |||||
| Eq (PacketType Marker) Source # | |||||
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 # | |||||
data LiteralData Source #
Constructors
| LiteralData | |
Instances
| Binary LiteralData Source # | |||||
Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: LiteralData -> Put Source # get :: Get LiteralData Source # putList :: [LiteralData] -> Put Source # | |||||
| Data LiteralData Source # | |||||
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 # | |||||
| Eq LiteralData Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: LiteralData -> LiteralData -> Bool Source # (/=) :: LiteralData -> LiteralData -> Bool Source # | |||||
| Packet LiteralData Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: LiteralData -> PacketType LiteralData Source # packetCode :: PacketType LiteralData -> Word8 Source # dynamicPacketCode :: LiteralData -> Word8 Source # toPkt :: LiteralData -> Pkt Source # fromPktMaybe :: Pkt -> Maybe LiteralData Source # fromPktEither :: Pkt -> Either String LiteralData Source # | |||||
| Pretty LiteralData Source # | |||||
| Show (PacketType LiteralData) Source # | |||||
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 # | |||||
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 # | |||||
Constructors
| Trust | |
Fields | |
Instances
| Binary Trust Source # | |||||
| Data Trust Source # | |||||
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 # | |||||
| Eq Trust Source # | |||||
| Packet Trust Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: Trust -> PacketType Trust Source # packetCode :: PacketType Trust -> Word8 Source # dynamicPacketCode :: Trust -> Word8 Source # toPkt :: Trust -> Pkt Source # | |||||
| Pretty Trust Source # | |||||
| Show (PacketType Trust) Source # | |||||
| Eq (PacketType Trust) Source # | |||||
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 # | |||||
Constructors
| UserId | |
Fields | |
Instances
| Binary UserId Source # | |||||
| Data UserId Source # | |||||
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 # | |||||
| Eq UserId Source # | |||||
| Packet UserId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: UserId -> PacketType UserId Source # packetCode :: PacketType UserId -> Word8 Source # dynamicPacketCode :: UserId -> Word8 Source # toPkt :: UserId -> Pkt Source # | |||||
| Pretty UserId Source # | |||||
| Show (PacketType UserId) Source # | |||||
| Eq (PacketType UserId) Source # | |||||
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 # | |||||
newtype PublicSubkey Source #
Constructors
| PublicSubkey | |
Fields | |
Instances
| Binary PublicSubkey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: PublicSubkey -> Put Source # get :: Get PublicSubkey Source # putList :: [PublicSubkey] -> Put Source # | |||||
| Data PublicSubkey Source # | |||||
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 # | |||||
| Eq PublicSubkey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: PublicSubkey -> PublicSubkey -> Bool Source # (/=) :: PublicSubkey -> PublicSubkey -> Bool Source # | |||||
| Packet PublicSubkey Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: PublicSubkey -> PacketType PublicSubkey Source # packetCode :: PacketType PublicSubkey -> Word8 Source # dynamicPacketCode :: PublicSubkey -> Word8 Source # toPkt :: PublicSubkey -> Pkt Source # fromPktMaybe :: Pkt -> Maybe PublicSubkey Source # fromPktEither :: Pkt -> Either String PublicSubkey Source # | |||||
| Pretty PublicSubkey Source # | |||||
| Show (PacketType PublicSubkey) Source # | |||||
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 # | |||||
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 # | |||||
newtype UserAttribute Source #
Constructors
| UserAttribute | |
Fields | |
Instances
| Binary UserAttribute Source # | |||||
Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: UserAttribute -> Put Source # get :: Get UserAttribute Source # putList :: [UserAttribute] -> Put Source # | |||||
| Data UserAttribute Source # | |||||
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 # | |||||
| Eq UserAttribute Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: UserAttribute -> UserAttribute -> Bool Source # (/=) :: UserAttribute -> UserAttribute -> Bool Source # | |||||
| Packet UserAttribute Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: UserAttribute -> PacketType UserAttribute Source # packetCode :: PacketType UserAttribute -> Word8 Source # dynamicPacketCode :: UserAttribute -> Word8 Source # toPkt :: UserAttribute -> Pkt Source # fromPktMaybe :: Pkt -> Maybe UserAttribute Source # fromPktEither :: Pkt -> Either String UserAttribute Source # | |||||
| Pretty UserAttribute Source # | |||||
| Show (PacketType UserAttribute) Source # | |||||
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 # | |||||
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 # | |||||
data SymEncIntegrityProtectedData Source #
Constructors
| SymEncIntegrityProtectedData | |
| SymEncIntegrityProtectedDataV2 SymmetricAlgorithm AEADAlgorithm Word8 Salt ByteString | |
Instances
| Binary SymEncIntegrityProtectedData Source # | |||||
Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: SymEncIntegrityProtectedData -> Put Source # get :: Get SymEncIntegrityProtectedData Source # putList :: [SymEncIntegrityProtectedData] -> Put Source # | |||||
| Data SymEncIntegrityProtectedData Source # | |||||
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 # | |||||
| Eq SymEncIntegrityProtectedData Source # | |||||
| Packet SymEncIntegrityProtectedData Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: SymEncIntegrityProtectedData -> PacketType SymEncIntegrityProtectedData Source # packetCode :: PacketType SymEncIntegrityProtectedData -> Word8 Source # dynamicPacketCode :: SymEncIntegrityProtectedData -> Word8 Source # toPkt :: SymEncIntegrityProtectedData -> Pkt Source # fromPktMaybe :: Pkt -> Maybe SymEncIntegrityProtectedData Source # fromPktEither :: Pkt -> Either String SymEncIntegrityProtectedData Source # | |||||
| Pretty SymEncIntegrityProtectedData Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: SymEncIntegrityProtectedData -> Doc ann prettyList :: [SymEncIntegrityProtectedData] -> Doc ann | |||||
| Show (PacketType SymEncIntegrityProtectedData) Source # | |||||
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 # | |||||
| data PacketType SymEncIntegrityProtectedData Source # | |||||
newtype ModificationDetectionCode Source #
Constructors
| ModificationDetectionCode | |
Instances
| Binary ModificationDetectionCode Source # | |||||
Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: ModificationDetectionCode -> Put Source # get :: Get ModificationDetectionCode Source # putList :: [ModificationDetectionCode] -> Put Source # | |||||
| Data ModificationDetectionCode Source # | |||||
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 # | |||||
| Eq ModificationDetectionCode Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: ModificationDetectionCode -> ModificationDetectionCode -> Bool Source # (/=) :: ModificationDetectionCode -> ModificationDetectionCode -> Bool Source # | |||||
| Packet ModificationDetectionCode Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: ModificationDetectionCode -> PacketType ModificationDetectionCode Source # packetCode :: PacketType ModificationDetectionCode -> Word8 Source # dynamicPacketCode :: ModificationDetectionCode -> Word8 Source # toPkt :: ModificationDetectionCode -> Pkt Source # fromPktMaybe :: Pkt -> Maybe ModificationDetectionCode Source # fromPktEither :: Pkt -> Either String ModificationDetectionCode Source # | |||||
| Pretty ModificationDetectionCode Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods pretty :: ModificationDetectionCode -> Doc ann prettyList :: [ModificationDetectionCode] -> Doc ann | |||||
| Show (PacketType ModificationDetectionCode) Source # | |||||
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 # | |||||
| data PacketType ModificationDetectionCode Source # | |||||
data OtherPacket Source #
Constructors
| OtherPacket | |
Fields | |
Instances
| Binary OtherPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Serialize Methods put :: OtherPacket -> Put Source # get :: Get OtherPacket Source # putList :: [OtherPacket] -> Put Source # | |||||
| Data OtherPacket Source # | |||||
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 # | |||||
| Eq OtherPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: OtherPacket -> OtherPacket -> Bool Source # (/=) :: OtherPacket -> OtherPacket -> Bool Source # | |||||
| Packet OtherPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: OtherPacket -> PacketType OtherPacket Source # packetCode :: PacketType OtherPacket -> Word8 Source # dynamicPacketCode :: OtherPacket -> Word8 Source # toPkt :: OtherPacket -> Pkt Source # fromPktMaybe :: Pkt -> Maybe OtherPacket Source # fromPktEither :: Pkt -> Either String OtherPacket Source # | |||||
| Pretty OtherPacket Source # | |||||
| Show (PacketType OtherPacket) Source # | |||||
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 # | |||||
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 # | |||||
data BrokenPacket Source #
Constructors
| BrokenPacket | |
Instances
| Data BrokenPacket Source # | |||||
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 # | |||||
| Eq BrokenPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Methods (==) :: BrokenPacket -> BrokenPacket -> Bool Source # (/=) :: BrokenPacket -> BrokenPacket -> Bool Source # | |||||
| Packet BrokenPacket Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.PacketClass Associated Types
Methods packetType :: BrokenPacket -> PacketType BrokenPacket Source # packetCode :: PacketType BrokenPacket -> Word8 Source # dynamicPacketCode :: BrokenPacket -> Word8 Source # toPkt :: BrokenPacket -> Pkt Source # fromPktMaybe :: Pkt -> Maybe BrokenPacket Source # fromPktEither :: Pkt -> Either String BrokenPacket Source # | |||||
| Pretty BrokenPacket Source # | |||||
| Show (PacketType BrokenPacket) Source # | |||||
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 # | |||||
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 # | |||||
symEncIntegrityProtectedDataPacketVersion :: Traversal' SymEncIntegrityProtectedData PacketVersion Source #
data PacketZipper Source #
Zipper for navigating a list of packets with position context
Constructors
| PacketZipper | |
Fields
| |
Instances
| Data PacketZipper Source # | |||||
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) -> PacketZipper -> c PacketZipper Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PacketZipper Source # toConstr :: PacketZipper -> Constr Source # dataTypeOf :: PacketZipper -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PacketZipper) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PacketZipper) Source # gmapT :: (forall b. Data b => b -> b) -> PacketZipper -> PacketZipper Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PacketZipper -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PacketZipper -> r Source # gmapQ :: (forall d. Data d => d -> u) -> PacketZipper -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> PacketZipper -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PacketZipper -> m PacketZipper Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PacketZipper -> m PacketZipper Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PacketZipper -> m PacketZipper Source # | |||||
| Generic PacketZipper Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Associated Types
Methods from :: PacketZipper -> Rep PacketZipper x Source # to :: Rep PacketZipper x -> PacketZipper Source # | |||||
| Show PacketZipper Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK | |||||
| Eq PacketZipper Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods (==) :: PacketZipper -> PacketZipper -> Bool Source # (/=) :: PacketZipper -> PacketZipper -> Bool Source # | |||||
| Ord PacketZipper Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods compare :: PacketZipper -> PacketZipper -> Ordering Source # (<) :: PacketZipper -> PacketZipper -> Bool Source # (<=) :: PacketZipper -> PacketZipper -> Bool Source # (>) :: PacketZipper -> PacketZipper -> Bool Source # (>=) :: PacketZipper -> PacketZipper -> Bool Source # max :: PacketZipper -> PacketZipper -> PacketZipper Source # min :: PacketZipper -> PacketZipper -> PacketZipper Source # | |||||
| type Rep PacketZipper Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK type Rep PacketZipper = D1 ('MetaData "PacketZipper" "Codec.Encryption.OpenPGP.Types.Internal.TK" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "PacketZipper" 'PrefixI 'True) (S1 ('MetaSel ('Just "_zpBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [PktWithWireRep]) :*: (S1 ('MetaSel ('Just "_zpCurrent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PktWithWireRep) :*: S1 ('MetaSel ('Just "_zpAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [PktWithWireRep])))) | |||||
zFromList :: [PktWithWireRep] -> Maybe PacketZipper Source #
Create a zipper from a list, starting at the first element
zPosition :: PacketZipper -> Int Source #
Extract position in packet sequence
zMoveNext :: PacketZipper -> Maybe PacketZipper Source #
Move to the next packet in the sequence
zRemaining :: PacketZipper -> [PktWithWireRep] Source #
Get the remaining packets (current + after)
zToList :: PacketZipper -> [PktWithWireRep] Source #
Reconstruct the full list from a zipper
Constructors
| TKUnknown | |
Fields
| |
Instances
| ToJSON TKUnknown Source # | |||||
| Binary TKUnknown Source # | |||||
| Semigroup TKUnknown Source # | |||||
| Data TKUnknown Source # | |||||
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) -> TKUnknown -> c TKUnknown Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TKUnknown Source # toConstr :: TKUnknown -> Constr Source # dataTypeOf :: TKUnknown -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TKUnknown) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TKUnknown) Source # gmapT :: (forall b. Data b => b -> b) -> TKUnknown -> TKUnknown Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TKUnknown -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TKUnknown -> r Source # gmapQ :: (forall d. Data d => d -> u) -> TKUnknown -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> TKUnknown -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TKUnknown -> m TKUnknown Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TKUnknown -> m TKUnknown Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TKUnknown -> m TKUnknown Source # | |||||
| Generic TKUnknown Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Associated Types
| |||||
| Show TKUnknown Source # | |||||
| Eq TKUnknown Source # | |||||
| Ord TKUnknown Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK | |||||
| Indexable KeyringIxs TKUnknown | |||||
Defined in Data.Conduit.OpenPGP.Keyring.Instances Methods indices :: IxList KeyringIxs TKUnknown | |||||
| type Rep TKUnknown Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK type Rep TKUnknown = D1 ('MetaData "TKUnknown" "Codec.Encryption.OpenPGP.Types.Internal.TK" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "TKUnknown" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_tkuKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SomePKPayload, Maybe SKAddendum)) :*: S1 ('MetaSel ('Just "_tkuRevs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SignaturePayload])) :*: (S1 ('MetaSel ('Just "_tkuUIDs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Text, [SignaturePayload])]) :*: (S1 ('MetaSel ('Just "_tkuUAts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [([UserAttrSubPacket], [SignaturePayload])]) :*: S1 ('MetaSel ('Just "_tkuSubs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Pkt, [SignaturePayload])]))))) | |||||
Instances
| Data TKKind Source # | |||||
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) -> TKKind -> c TKKind Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TKKind Source # toConstr :: TKKind -> Constr Source # dataTypeOf :: TKKind -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TKKind) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TKKind) Source # gmapT :: (forall b. Data b => b -> b) -> TKKind -> TKKind Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TKKind -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TKKind -> r Source # gmapQ :: (forall d. Data d => d -> u) -> TKKind -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> TKKind -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TKKind -> m TKKind Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TKKind -> m TKKind Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TKKind -> m TKKind Source # | |||||
| Generic TKKind Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Associated Types
| |||||
| Show TKKind Source # | |||||
| Eq TKKind Source # | |||||
| Ord TKKind Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK | |||||
| type Rep TKKind Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK | |||||
type family TKKindToKeyPktKind (k :: TKKind) :: KeyPktKind where ... Source #
Equations
| TKKindToKeyPktKind 'PublicTK = 'PublicPkt | |
| TKKindToKeyPktKind 'SecretTK = 'SecretPkt |
Constructors
| SomePublicTK :: TK 'PublicTK -> SomeTK | |
| SomeSecretTK :: TK 'SecretTK -> SomeTK |
someTKToUnknown :: SomeTK -> TKUnknown Source #
data TKConversionError Source #
Constructors
| PublicSubkeyHasPrimaryRole | |
| SecretSubkeyHasPrimaryRole | |
| ExpectedPublicSubkeyPacket Word8 | |
| ExpectedSecretSubkeyPacket Word8 |
Instances
| Show TKConversionError Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK | |
| Eq TKConversionError Source # | |
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods (==) :: TKConversionError -> TKConversionError -> Bool Source # (/=) :: TKConversionError -> TKConversionError -> Bool Source # | |
mkTKUnknown :: SomePKPayload -> Maybe SKAddendum -> TKUnknown Source #
data TKWithWireRep Source #
Constructors
| TKWithWireRep | |
Fields | |
Instances
| Semigroup TKWithWireRep Source # | |||||
Defined in Data.Conduit.OpenPGP.Keyring.Instances Methods (<>) :: TKWithWireRep -> TKWithWireRep -> TKWithWireRep Source # sconcat :: NonEmpty TKWithWireRep -> TKWithWireRep Source # stimes :: Integral b => b -> TKWithWireRep -> TKWithWireRep Source # | |||||
| Data TKWithWireRep Source # | |||||
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) -> TKWithWireRep -> c TKWithWireRep Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TKWithWireRep Source # toConstr :: TKWithWireRep -> Constr Source # dataTypeOf :: TKWithWireRep -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TKWithWireRep) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TKWithWireRep) Source # gmapT :: (forall b. Data b => b -> b) -> TKWithWireRep -> TKWithWireRep Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TKWithWireRep -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TKWithWireRep -> r Source # gmapQ :: (forall d. Data d => d -> u) -> TKWithWireRep -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> TKWithWireRep -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TKWithWireRep -> m TKWithWireRep Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TKWithWireRep -> m TKWithWireRep Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TKWithWireRep -> m TKWithWireRep Source # | |||||
| Generic TKWithWireRep Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Associated Types
Methods from :: TKWithWireRep -> Rep TKWithWireRep x Source # to :: Rep TKWithWireRep x -> TKWithWireRep Source # | |||||
| Show TKWithWireRep Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK | |||||
| Eq TKWithWireRep Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods (==) :: TKWithWireRep -> TKWithWireRep -> Bool Source # (/=) :: TKWithWireRep -> TKWithWireRep -> Bool Source # | |||||
| Ord TKWithWireRep Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods compare :: TKWithWireRep -> TKWithWireRep -> Ordering Source # (<) :: TKWithWireRep -> TKWithWireRep -> Bool Source # (<=) :: TKWithWireRep -> TKWithWireRep -> Bool Source # (>) :: TKWithWireRep -> TKWithWireRep -> Bool Source # (>=) :: TKWithWireRep -> TKWithWireRep -> Bool Source # max :: TKWithWireRep -> TKWithWireRep -> TKWithWireRep Source # min :: TKWithWireRep -> TKWithWireRep -> TKWithWireRep Source # | |||||
| type Rep TKWithWireRep Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK type Rep TKWithWireRep = D1 ('MetaData "TKWithWireRep" "Codec.Encryption.OpenPGP.Types.Internal.TK" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "TKWithWireRep" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_tkWireRepRefs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 WireRepRefs) :*: S1 ('MetaSel ('Just "_tkWireRepRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ByteRange))) :*: (S1 ('MetaSel ('Just "_tkPackets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [PktWithWireRep]) :*: S1 ('MetaSel ('Just "_tkValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TKUnknown)))) | |||||
data PacketRefId Source #
Constructors
| PacketRefId | |
Fields | |
Instances
| Data PacketRefId Source # | |||||
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) -> PacketRefId -> c PacketRefId Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PacketRefId Source # toConstr :: PacketRefId -> Constr Source # dataTypeOf :: PacketRefId -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PacketRefId) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PacketRefId) Source # gmapT :: (forall b. Data b => b -> b) -> PacketRefId -> PacketRefId Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PacketRefId -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PacketRefId -> r Source # gmapQ :: (forall d. Data d => d -> u) -> PacketRefId -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> PacketRefId -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PacketRefId -> m PacketRefId Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PacketRefId -> m PacketRefId Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PacketRefId -> m PacketRefId Source # | |||||
| Generic PacketRefId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Associated Types
Methods from :: PacketRefId -> Rep PacketRefId x Source # to :: Rep PacketRefId x -> PacketRefId Source # | |||||
| Show PacketRefId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK | |||||
| Eq PacketRefId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods (==) :: PacketRefId -> PacketRefId -> Bool Source # (/=) :: PacketRefId -> PacketRefId -> Bool Source # | |||||
| Ord PacketRefId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods compare :: PacketRefId -> PacketRefId -> Ordering Source # (<) :: PacketRefId -> PacketRefId -> Bool Source # (<=) :: PacketRefId -> PacketRefId -> Bool Source # (>) :: PacketRefId -> PacketRefId -> Bool Source # (>=) :: PacketRefId -> PacketRefId -> Bool Source # max :: PacketRefId -> PacketRefId -> PacketRefId Source # min :: PacketRefId -> PacketRefId -> PacketRefId Source # | |||||
| type Rep PacketRefId Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK type Rep PacketRefId = D1 ('MetaData "PacketRefId" "Codec.Encryption.OpenPGP.Types.Internal.TK" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "PacketRefId" 'PrefixI 'True) (S1 ('MetaSel ('Just "_packetRefWireRepRef") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 WireRepRef) :*: S1 ('MetaSel ('Just "_packetRefIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) | |||||
data SignatureWithWireRef Source #
Constructors
| SignatureWithWireRef | |
Instances
| Data SignatureWithWireRef Source # | |||||
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) -> SignatureWithWireRef -> c SignatureWithWireRef Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SignatureWithWireRef Source # toConstr :: SignatureWithWireRef -> Constr Source # dataTypeOf :: SignatureWithWireRef -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SignatureWithWireRef) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SignatureWithWireRef) Source # gmapT :: (forall b. Data b => b -> b) -> SignatureWithWireRef -> SignatureWithWireRef Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SignatureWithWireRef -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SignatureWithWireRef -> r Source # gmapQ :: (forall d. Data d => d -> u) -> SignatureWithWireRef -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> SignatureWithWireRef -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SignatureWithWireRef -> m SignatureWithWireRef Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SignatureWithWireRef -> m SignatureWithWireRef Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SignatureWithWireRef -> m SignatureWithWireRef Source # | |||||
| Generic SignatureWithWireRef Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Associated Types
Methods from :: SignatureWithWireRef -> Rep SignatureWithWireRef x Source # to :: Rep SignatureWithWireRef x -> SignatureWithWireRef Source # | |||||
| Show SignatureWithWireRef Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK | |||||
| Eq SignatureWithWireRef Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods (==) :: SignatureWithWireRef -> SignatureWithWireRef -> Bool Source # (/=) :: SignatureWithWireRef -> SignatureWithWireRef -> Bool Source # | |||||
| Ord SignatureWithWireRef Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods compare :: SignatureWithWireRef -> SignatureWithWireRef -> Ordering Source # (<) :: SignatureWithWireRef -> SignatureWithWireRef -> Bool Source # (<=) :: SignatureWithWireRef -> SignatureWithWireRef -> Bool Source # (>) :: SignatureWithWireRef -> SignatureWithWireRef -> Bool Source # (>=) :: SignatureWithWireRef -> SignatureWithWireRef -> Bool Source # max :: SignatureWithWireRef -> SignatureWithWireRef -> SignatureWithWireRef Source # min :: SignatureWithWireRef -> SignatureWithWireRef -> SignatureWithWireRef Source # | |||||
| type Rep SignatureWithWireRef Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK type Rep SignatureWithWireRef = D1 ('MetaData "SignatureWithWireRef" "Codec.Encryption.OpenPGP.Types.Internal.TK" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "SignatureWithWireRef" 'PrefixI 'True) (S1 ('MetaSel ('Just "_signatureWithWireRefValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SignaturePayload) :*: S1 ('MetaSel ('Just "_signatureWithWireRefRef") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PacketRefId))) | |||||
data UIDWithWireRefs Source #
Constructors
| UIDWithWireRefs | |
Instances
| Data UIDWithWireRefs Source # | |||||
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) -> UIDWithWireRefs -> c UIDWithWireRefs Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UIDWithWireRefs Source # toConstr :: UIDWithWireRefs -> Constr Source # dataTypeOf :: UIDWithWireRefs -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UIDWithWireRefs) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UIDWithWireRefs) Source # gmapT :: (forall b. Data b => b -> b) -> UIDWithWireRefs -> UIDWithWireRefs Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UIDWithWireRefs -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UIDWithWireRefs -> r Source # gmapQ :: (forall d. Data d => d -> u) -> UIDWithWireRefs -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> UIDWithWireRefs -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> UIDWithWireRefs -> m UIDWithWireRefs Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UIDWithWireRefs -> m UIDWithWireRefs Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UIDWithWireRefs -> m UIDWithWireRefs Source # | |||||
| Generic UIDWithWireRefs Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Associated Types
Methods from :: UIDWithWireRefs -> Rep UIDWithWireRefs x Source # to :: Rep UIDWithWireRefs x -> UIDWithWireRefs Source # | |||||
| Show UIDWithWireRefs Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK | |||||
| Eq UIDWithWireRefs Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods (==) :: UIDWithWireRefs -> UIDWithWireRefs -> Bool Source # (/=) :: UIDWithWireRefs -> UIDWithWireRefs -> Bool Source # | |||||
| Ord UIDWithWireRefs Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods compare :: UIDWithWireRefs -> UIDWithWireRefs -> Ordering Source # (<) :: UIDWithWireRefs -> UIDWithWireRefs -> Bool Source # (<=) :: UIDWithWireRefs -> UIDWithWireRefs -> Bool Source # (>) :: UIDWithWireRefs -> UIDWithWireRefs -> Bool Source # (>=) :: UIDWithWireRefs -> UIDWithWireRefs -> Bool Source # max :: UIDWithWireRefs -> UIDWithWireRefs -> UIDWithWireRefs Source # min :: UIDWithWireRefs -> UIDWithWireRefs -> UIDWithWireRefs Source # | |||||
| type Rep UIDWithWireRefs Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK type Rep UIDWithWireRefs = D1 ('MetaData "UIDWithWireRefs" "Codec.Encryption.OpenPGP.Types.Internal.TK" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "UIDWithWireRefs" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uidWithWireRefsValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_uidWithWireRefsRef") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PacketRefId) :*: S1 ('MetaSel ('Just "_uidWithWireRefsSignatures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SignatureWithWireRef])))) | |||||
data UATWithWireRefs Source #
Constructors
| UATWithWireRefs | |
Instances
| Data UATWithWireRefs Source # | |||||
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) -> UATWithWireRefs -> c UATWithWireRefs Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UATWithWireRefs Source # toConstr :: UATWithWireRefs -> Constr Source # dataTypeOf :: UATWithWireRefs -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UATWithWireRefs) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UATWithWireRefs) Source # gmapT :: (forall b. Data b => b -> b) -> UATWithWireRefs -> UATWithWireRefs Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UATWithWireRefs -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UATWithWireRefs -> r Source # gmapQ :: (forall d. Data d => d -> u) -> UATWithWireRefs -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> UATWithWireRefs -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> UATWithWireRefs -> m UATWithWireRefs Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UATWithWireRefs -> m UATWithWireRefs Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UATWithWireRefs -> m UATWithWireRefs Source # | |||||
| Generic UATWithWireRefs Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Associated Types
Methods from :: UATWithWireRefs -> Rep UATWithWireRefs x Source # to :: Rep UATWithWireRefs x -> UATWithWireRefs Source # | |||||
| Show UATWithWireRefs Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK | |||||
| Eq UATWithWireRefs Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods (==) :: UATWithWireRefs -> UATWithWireRefs -> Bool Source # (/=) :: UATWithWireRefs -> UATWithWireRefs -> Bool Source # | |||||
| Ord UATWithWireRefs Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods compare :: UATWithWireRefs -> UATWithWireRefs -> Ordering Source # (<) :: UATWithWireRefs -> UATWithWireRefs -> Bool Source # (<=) :: UATWithWireRefs -> UATWithWireRefs -> Bool Source # (>) :: UATWithWireRefs -> UATWithWireRefs -> Bool Source # (>=) :: UATWithWireRefs -> UATWithWireRefs -> Bool Source # max :: UATWithWireRefs -> UATWithWireRefs -> UATWithWireRefs Source # min :: UATWithWireRefs -> UATWithWireRefs -> UATWithWireRefs Source # | |||||
| type Rep UATWithWireRefs Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK type Rep UATWithWireRefs = D1 ('MetaData "UATWithWireRefs" "Codec.Encryption.OpenPGP.Types.Internal.TK" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "UATWithWireRefs" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uatWithWireRefsValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [UserAttrSubPacket]) :*: (S1 ('MetaSel ('Just "_uatWithWireRefsRef") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PacketRefId) :*: S1 ('MetaSel ('Just "_uatWithWireRefsSignatures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SignatureWithWireRef])))) | |||||
data SubkeyWithWireRefs Source #
Constructors
| SubkeyWithWireRefs | |
Instances
| Data SubkeyWithWireRefs Source # | |||||
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) -> SubkeyWithWireRefs -> c SubkeyWithWireRefs Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SubkeyWithWireRefs Source # toConstr :: SubkeyWithWireRefs -> Constr Source # dataTypeOf :: SubkeyWithWireRefs -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SubkeyWithWireRefs) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SubkeyWithWireRefs) Source # gmapT :: (forall b. Data b => b -> b) -> SubkeyWithWireRefs -> SubkeyWithWireRefs Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SubkeyWithWireRefs -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SubkeyWithWireRefs -> r Source # gmapQ :: (forall d. Data d => d -> u) -> SubkeyWithWireRefs -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> SubkeyWithWireRefs -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SubkeyWithWireRefs -> m SubkeyWithWireRefs Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SubkeyWithWireRefs -> m SubkeyWithWireRefs Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SubkeyWithWireRefs -> m SubkeyWithWireRefs Source # | |||||
| Generic SubkeyWithWireRefs Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Associated Types
Methods from :: SubkeyWithWireRefs -> Rep SubkeyWithWireRefs x Source # to :: Rep SubkeyWithWireRefs x -> SubkeyWithWireRefs Source # | |||||
| Show SubkeyWithWireRefs Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK | |||||
| Eq SubkeyWithWireRefs Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods (==) :: SubkeyWithWireRefs -> SubkeyWithWireRefs -> Bool Source # (/=) :: SubkeyWithWireRefs -> SubkeyWithWireRefs -> Bool Source # | |||||
| Ord SubkeyWithWireRefs Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods compare :: SubkeyWithWireRefs -> SubkeyWithWireRefs -> Ordering Source # (<) :: SubkeyWithWireRefs -> SubkeyWithWireRefs -> Bool Source # (<=) :: SubkeyWithWireRefs -> SubkeyWithWireRefs -> Bool Source # (>) :: SubkeyWithWireRefs -> SubkeyWithWireRefs -> Bool Source # (>=) :: SubkeyWithWireRefs -> SubkeyWithWireRefs -> Bool Source # max :: SubkeyWithWireRefs -> SubkeyWithWireRefs -> SubkeyWithWireRefs Source # min :: SubkeyWithWireRefs -> SubkeyWithWireRefs -> SubkeyWithWireRefs Source # | |||||
| type Rep SubkeyWithWireRefs Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK type Rep SubkeyWithWireRefs = D1 ('MetaData "SubkeyWithWireRefs" "Codec.Encryption.OpenPGP.Types.Internal.TK" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "SubkeyWithWireRefs" 'PrefixI 'True) (S1 ('MetaSel ('Just "_subkeyWithWireRefsValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pkt) :*: (S1 ('MetaSel ('Just "_subkeyWithWireRefsRef") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PacketRefId) :*: S1 ('MetaSel ('Just "_subkeyWithWireRefsSignatures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SignatureWithWireRef])))) | |||||
data TKStructuredWithWireRep Source #
Constructors
| TKStructuredWithWireRep | |
Fields
| |
Instances
| Data TKStructuredWithWireRep Source # | |||||
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) -> TKStructuredWithWireRep -> c TKStructuredWithWireRep Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TKStructuredWithWireRep Source # toConstr :: TKStructuredWithWireRep -> Constr Source # dataTypeOf :: TKStructuredWithWireRep -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TKStructuredWithWireRep) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TKStructuredWithWireRep) Source # gmapT :: (forall b. Data b => b -> b) -> TKStructuredWithWireRep -> TKStructuredWithWireRep Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TKStructuredWithWireRep -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TKStructuredWithWireRep -> r Source # gmapQ :: (forall d. Data d => d -> u) -> TKStructuredWithWireRep -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> TKStructuredWithWireRep -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TKStructuredWithWireRep -> m TKStructuredWithWireRep Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TKStructuredWithWireRep -> m TKStructuredWithWireRep Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TKStructuredWithWireRep -> m TKStructuredWithWireRep Source # | |||||
| Generic TKStructuredWithWireRep Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Associated Types
Methods from :: TKStructuredWithWireRep -> Rep TKStructuredWithWireRep x Source # to :: Rep TKStructuredWithWireRep x -> TKStructuredWithWireRep Source # | |||||
| Show TKStructuredWithWireRep Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK | |||||
| Eq TKStructuredWithWireRep Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods (==) :: TKStructuredWithWireRep -> TKStructuredWithWireRep -> Bool Source # (/=) :: TKStructuredWithWireRep -> TKStructuredWithWireRep -> Bool Source # | |||||
| Ord TKStructuredWithWireRep Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods compare :: TKStructuredWithWireRep -> TKStructuredWithWireRep -> Ordering Source # (<) :: TKStructuredWithWireRep -> TKStructuredWithWireRep -> Bool Source # (<=) :: TKStructuredWithWireRep -> TKStructuredWithWireRep -> Bool Source # (>) :: TKStructuredWithWireRep -> TKStructuredWithWireRep -> Bool Source # (>=) :: TKStructuredWithWireRep -> TKStructuredWithWireRep -> Bool Source # max :: TKStructuredWithWireRep -> TKStructuredWithWireRep -> TKStructuredWithWireRep Source # min :: TKStructuredWithWireRep -> TKStructuredWithWireRep -> TKStructuredWithWireRep Source # | |||||
| type Rep TKStructuredWithWireRep Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK type Rep TKStructuredWithWireRep = D1 ('MetaData "TKStructuredWithWireRep" "Codec.Encryption.OpenPGP.Types.Internal.TK" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "TKStructuredWithWireRep" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_tkStructuredWireRepRefs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 WireRepRefs) :*: S1 ('MetaSel ('Just "_tkStructuredWireRepRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ByteRange))) :*: (S1 ('MetaSel ('Just "_tkStructuredPrimaryKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SomePKPayload, Maybe SKAddendum)) :*: S1 ('MetaSel ('Just "_tkStructuredPrimaryKeyRef") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PacketRefId))) :*: ((S1 ('MetaSel ('Just "_tkStructuredDirectSignatures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SignatureWithWireRef]) :*: S1 ('MetaSel ('Just "_tkStructuredUIDs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [UIDWithWireRefs])) :*: (S1 ('MetaSel ('Just "_tkStructuredUAts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [UATWithWireRefs]) :*: (S1 ('MetaSel ('Just "_tkStructuredSubkeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SubkeyWithWireRefs]) :*: S1 ('MetaSel ('Just "_tkStructuredPacketRefs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [PktWithWireRep])))))) | |||||
data CanonicalizeTKWithWireRepError Source #
Instances
| Data CanonicalizeTKWithWireRepError Source # | |||||
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) -> CanonicalizeTKWithWireRepError -> c CanonicalizeTKWithWireRepError Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CanonicalizeTKWithWireRepError Source # toConstr :: CanonicalizeTKWithWireRepError -> Constr Source # dataTypeOf :: CanonicalizeTKWithWireRepError -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CanonicalizeTKWithWireRepError) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CanonicalizeTKWithWireRepError) Source # gmapT :: (forall b. Data b => b -> b) -> CanonicalizeTKWithWireRepError -> CanonicalizeTKWithWireRepError Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CanonicalizeTKWithWireRepError -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CanonicalizeTKWithWireRepError -> r Source # gmapQ :: (forall d. Data d => d -> u) -> CanonicalizeTKWithWireRepError -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> CanonicalizeTKWithWireRepError -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CanonicalizeTKWithWireRepError -> m CanonicalizeTKWithWireRepError Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CanonicalizeTKWithWireRepError -> m CanonicalizeTKWithWireRepError Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CanonicalizeTKWithWireRepError -> m CanonicalizeTKWithWireRepError Source # | |||||
| Generic CanonicalizeTKWithWireRepError Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Associated Types
| |||||
| Show CanonicalizeTKWithWireRepError Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK | |||||
| Eq CanonicalizeTKWithWireRepError Source # | |||||
| Ord CanonicalizeTKWithWireRepError Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK Methods compare :: CanonicalizeTKWithWireRepError -> CanonicalizeTKWithWireRepError -> Ordering Source # (<) :: CanonicalizeTKWithWireRepError -> CanonicalizeTKWithWireRepError -> Bool Source # (<=) :: CanonicalizeTKWithWireRepError -> CanonicalizeTKWithWireRepError -> Bool Source # (>) :: CanonicalizeTKWithWireRepError -> CanonicalizeTKWithWireRepError -> Bool Source # (>=) :: CanonicalizeTKWithWireRepError -> CanonicalizeTKWithWireRepError -> Bool Source # max :: CanonicalizeTKWithWireRepError -> CanonicalizeTKWithWireRepError -> CanonicalizeTKWithWireRepError Source # min :: CanonicalizeTKWithWireRepError -> CanonicalizeTKWithWireRepError -> CanonicalizeTKWithWireRepError Source # | |||||
| type Rep CanonicalizeTKWithWireRepError Source # | |||||
Defined in Codec.Encryption.OpenPGP.Types.Internal.TK type Rep CanonicalizeTKWithWireRepError = D1 ('MetaData "CanonicalizeTKWithWireRepError" "Codec.Encryption.OpenPGP.Types.Internal.TK" "hOpenPGP-3.0.1.1-4TtWHLy25xMJlggJLmAMbt" 'False) (C1 ('MetaCons "CanonicalizeStructuringError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons "CanonicalizeMissingPacketRef" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PacketRefId))) | |||||
packetRefsOfTK :: TKWithWireRep -> [PktWithWireRep] Source #
packetWireBytesForRef :: TKStructuredWithWireRep -> PacketRefId -> Either CanonicalizeTKWithWireRepError ByteString Source #
signatureWireSortKey :: TKStructuredWithWireRep -> SignatureWithWireRef -> Either CanonicalizeTKWithWireRepError (ByteString, PacketRefId) Source #
uidWireSortKey :: TKStructuredWithWireRep -> UIDWithWireRefs -> Either CanonicalizeTKWithWireRepError (ByteString, PacketRefId) Source #
uatWireSortKey :: TKStructuredWithWireRep -> UATWithWireRefs -> Either CanonicalizeTKWithWireRepError (ByteString, PacketRefId) Source #
subkeyWireSortKey :: TKStructuredWithWireRep -> SubkeyWithWireRefs -> Either CanonicalizeTKWithWireRepError (ByteString, PacketRefId) Source #
compareSignatureWithWireRefCanonical :: TKStructuredWithWireRep -> SignatureWithWireRef -> SignatureWithWireRef -> Either CanonicalizeTKWithWireRepError Ordering Source #
compareUIDWithWireRefsCanonical :: TKStructuredWithWireRep -> UIDWithWireRefs -> UIDWithWireRefs -> Either CanonicalizeTKWithWireRepError Ordering Source #
compareUATWithWireRefsCanonical :: TKStructuredWithWireRep -> UATWithWireRefs -> UATWithWireRefs -> Either CanonicalizeTKWithWireRepError Ordering Source #
compareSubkeyWithWireRefsCanonical :: TKStructuredWithWireRep -> SubkeyWithWireRefs -> SubkeyWithWireRefs -> Either CanonicalizeTKWithWireRepError Ordering Source #
sortCanonicalByKey :: Ord key => (a -> Either CanonicalizeTKWithWireRepError key) -> [a] -> Either CanonicalizeTKWithWireRepError [a] Source #
sortSignatureWithWireRefsCanonical :: TKStructuredWithWireRep -> [SignatureWithWireRef] -> Either CanonicalizeTKWithWireRepError [SignatureWithWireRef] Source #
sortUIDWithWireRefsCanonical :: TKStructuredWithWireRep -> [UIDWithWireRefs] -> Either CanonicalizeTKWithWireRepError [UIDWithWireRefs] Source #
sortUATWithWireRefsCanonical :: TKStructuredWithWireRep -> [UATWithWireRefs] -> Either CanonicalizeTKWithWireRepError [UATWithWireRefs] Source #
sortSubkeyWithWireRefsCanonical :: TKStructuredWithWireRep -> [SubkeyWithWireRefs] -> Either CanonicalizeTKWithWireRepError [SubkeyWithWireRefs] Source #
canonicalizeTKStructuredWithWireRep :: TKStructuredWithWireRep -> Either CanonicalizeTKWithWireRepError TKUnknown Source #
canonicalizeTKWithWireRep :: TKWithWireRep -> Either CanonicalizeTKWithWireRepError TKUnknown Source #
tksFromWireRep :: WireRepRef -> [TKWithWireRep] -> [TKWithWireRep] Source #
tksContainingPacket :: PktWithWireRep -> [TKWithWireRep] -> [TKWithWireRep] Source #
type KeyringIxs = '[EightOctetKeyId, Fingerprint, Text] Source #
type PublicKeyring = IxSet KeyringIxs (TK 'PublicTK) Source #
Kinded keyrings: homogeneous collections of public or secret TKs
type SecretKeyring = IxSet KeyringIxs (TK 'SecretTK) Source #
type family KeyringOf (k :: TKKind) where ... Source #
Parameterized kinded keyring for generic operations
Equations
| KeyringOf 'PublicTK = PublicKeyring | |
| KeyringOf 'SecretTK = SecretKeyring |
tkuUAts :: Lens' TKUnknown [([UserAttrSubPacket], [SignaturePayload])] Source #
tkPrimaryKey :: forall (k :: TKKind) f. Functor f => (KeyPkt (TKKindToKeyPktKind k) -> f (KeyPkt (TKKindToKeyPktKind k))) -> TK k -> f (TK k) Source #
tkRevs :: forall (k :: TKKind) f. Functor f => ([SignaturePayload] -> f [SignaturePayload]) -> TK k -> f (TK k) Source #
tkSubs :: forall (k :: TKKind) f. Functor f => ([(KeyPkt (TKKindToKeyPktKind k), [SignaturePayload])] -> f [(KeyPkt (TKKindToKeyPktKind k), [SignaturePayload])]) -> TK k -> f (TK k) Source #
tkUAts :: forall (k :: TKKind) f. Functor f => ([([UserAttrSubPacket], [SignaturePayload])] -> f [([UserAttrSubPacket], [SignaturePayload])]) -> TK k -> f (TK k) Source #