| Safe Haskell | None |
|---|
Codec.Encryption.OpenPGP.Types
Documentation
type Exportability = BoolSource
type TrustLevel = Word8Source
type TrustAmount = Word8Source
type AlmostPublicDomainRegex = ByteStringSource
type Revocability = BoolSource
type RevocationReason = ByteStringSource
type NotationName = ByteStringSource
type NotationValue = ByteStringSource
type SignatureHash = ByteStringSource
type PacketVersion = Word8Source
type V3Expiration = Word16Source
type CompressedDataPayload = ByteStringSource
type NestedFlag = BoolSource
data SymmetricAlgorithm Source
Constructors
| Plaintext | |
| IDEA | |
| TripleDES | |
| CAST5 | |
| Blowfish | |
| ReservedSAFER | |
| ReservedDES | |
| AES128 | |
| AES192 | |
| AES256 | |
| Twofish | |
| OtherSA Word8 |
Instances
data NotationFlag Source
Constructors
| HumanReadable | |
| OtherNF Int |
Instances
| Eq NotationFlag | |
| Data NotationFlag | |
| Ord NotationFlag | |
| Show NotationFlag | |
| Typeable NotationFlag | |
| FutureFlag NotationFlag |
data SigSubPacket Source
Constructors
| SigSubPacket | |
Fields
| |
Instances
| Eq SigSubPacket | |
| Data SigSubPacket | |
| Show SigSubPacket | |
| Typeable SigSubPacket | |
| Serialize SigSubPacket |
data SigSubPacketPayload Source
Constructors
Instances
| Eq SigSubPacketPayload | |
| Data SigSubPacketPayload | |
| Show SigSubPacketPayload | |
| Typeable SigSubPacketPayload |
data HashAlgorithm Source
Instances
| Eq HashAlgorithm | |
| Data HashAlgorithm | |
| Ord HashAlgorithm | |
| Show HashAlgorithm | |
| Typeable HashAlgorithm | |
| Serialize HashAlgorithm | |
| FutureVal HashAlgorithm |
data PubKeyAlgorithm Source
Constructors
| RSA | |
| DeprecatedRSAEncryptOnly | |
| DeprecatedRSASignOnly | |
| ElgamalEncryptOnly | |
| DSA | |
| EC | |
| ECDSA | |
| ForbiddenElgamal | |
| DH | |
| OtherPKA Word8 |
Instances
| Eq PubKeyAlgorithm | |
| Data PubKeyAlgorithm | |
| Ord PubKeyAlgorithm | |
| Show PubKeyAlgorithm | |
| Typeable PubKeyAlgorithm | |
| Serialize PubKeyAlgorithm | |
| FutureVal PubKeyAlgorithm |
class (Eq a, Ord a) => FutureFlag a whereSource
data RevocationClass Source
Constructors
| SensitiveRK | |
| RClOther Int |
Instances
| Eq RevocationClass | |
| Data RevocationClass | |
| Ord RevocationClass | |
| Show RevocationClass | |
| Typeable RevocationClass | |
| FutureFlag RevocationClass |
data RevocationCode Source
Constructors
| NoReason | |
| KeySuperseded | |
| KeyMaterialCompromised | |
| KeyRetiredAndNoLongerUsed | |
| UserIdInfoNoLongerValid | |
| RCoOther Word8 |
Instances
| Eq RevocationCode | |
| Data RevocationCode | |
| Ord RevocationCode | |
| Show RevocationCode | |
| Typeable RevocationCode | |
| FutureVal RevocationCode |
data FeatureFlag Source
Constructors
| ModificationDetection | |
| FeatureOther Int |
Instances
| Eq FeatureFlag | |
| Data FeatureFlag | |
| Ord FeatureFlag | |
| Show FeatureFlag | |
| Typeable FeatureFlag | |
| FutureFlag FeatureFlag |
data SignaturePayload Source
Constructors
| SigV3 SigType Word32 EightOctetKeyId PubKeyAlgorithm HashAlgorithm Word16 [MPI] | |
| SigV4 SigType PubKeyAlgorithm HashAlgorithm [SigSubPacket] [SigSubPacket] Word16 [MPI] | |
| SigVOther Word8 ByteString |
Instances
| Eq SignaturePayload | |
| Data SignaturePayload | |
| Show SignaturePayload | |
| Typeable SignaturePayload | |
| Serialize SignaturePayload |
data KeyVersion Source
Constructors
| DeprecatedV3 | |
| V4 |
Instances
| Eq KeyVersion | |
| Data KeyVersion | |
| Ord KeyVersion | |
| Show KeyVersion | |
| Typeable KeyVersion |
Constructors
| PKPayload | |
Fields
| |
data SKAddendum Source
Constructors
| SUS16bit SymmetricAlgorithm S2K IV ByteString | |
| SUSSHA1 SymmetricAlgorithm S2K IV ByteString | |
| SUSym SymmetricAlgorithm IV ByteString | |
| SUUnencrypted SKey Word16 |
Instances
| Eq SKAddendum | |
| Data SKAddendum | |
| Show SKAddendum | |
| Typeable SKAddendum |
Constructors
| BinaryData | |
| TextData | |
| UTF8Data | |
| OtherData Word8 |
Constructors
| Simple HashAlgorithm | |
| Salted HashAlgorithm Salt | |
| IteratedSalted HashAlgorithm Salt Count | |
| OtherS2K Word8 ByteString |
data UserAttrSubPacket Source
Constructors
| ImageAttribute ImageHeader ImageData | |
| OtherUASub Word8 ByteString |
Instances
| Eq UserAttrSubPacket | |
| Data UserAttrSubPacket | |
| Show UserAttrSubPacket | |
| Typeable UserAttrSubPacket | |
| Serialize UserAttrSubPacket |
data ImageHeader Source
Constructors
| ImageHV1 ImageFormat |
Instances
| Eq ImageHeader | |
| Data ImageHeader | |
| Show ImageHeader | |
| Typeable ImageHeader |
data ImageFormat Source
Constructors
| JPEG | |
| OtherImage Word8 |
Instances
| Eq ImageFormat | |
| Data ImageFormat | |
| Ord ImageFormat | |
| Show ImageFormat | |
| Typeable ImageFormat | |
| FutureVal ImageFormat |
Constructors
| RSAPubKey PublicKey | |
| DSAPubKey PublicKey | |
| ElGamalPubKey [Integer] |
Constructors
| RSAPrivateKey PrivateKey | |
| DSAPrivateKey PrivateKey | |
| ElGamalPrivateKey [Integer] |
newtype EightOctetKeyId Source
Constructors
| EightOctetKeyId | |
Fields
| |
Instances
| Eq EightOctetKeyId | |
| Data EightOctetKeyId | |
| Ord EightOctetKeyId | |
| Read EightOctetKeyId | |
| Show EightOctetKeyId | |
| Typeable EightOctetKeyId |
newtype TwentyOctetFingerprint Source
Constructors
| TwentyOctetFingerprint | |
Fields
| |
Instances
| Eq TwentyOctetFingerprint | |
| Data TwentyOctetFingerprint | |
| Ord TwentyOctetFingerprint | |
| Read TwentyOctetFingerprint | |
| Show TwentyOctetFingerprint | |
| Typeable TwentyOctetFingerprint |
Constructors
| TK | |
Fields
| |
Associated Types
data PacketType a :: *Source
Instances
Constructors
| PKESKPkt PacketVersion EightOctetKeyId PubKeyAlgorithm [MPI] | |
| SignaturePkt SignaturePayload | |
| SKESKPkt PacketVersion SymmetricAlgorithm S2K (Maybe ByteString) | |
| OnePassSignaturePkt PacketVersion SigType HashAlgorithm PubKeyAlgorithm EightOctetKeyId NestedFlag | |
| SecretKeyPkt PKPayload SKAddendum | |
| PublicKeyPkt PKPayload | |
| SecretSubkeyPkt PKPayload SKAddendum | |
| CompressedDataPkt CompressionAlgorithm CompressedDataPayload | |
| SymEncDataPkt ByteString | |
| MarkerPkt ByteString | |
| LiteralDataPkt DataType FileName TimeStamp ByteString | |
| TrustPkt ByteString | |
| UserIdPkt String | |
| PublicSubkeyPkt PKPayload | |
| UserAttributePkt [UserAttrSubPacket] | |
| SymEncIntegrityProtectedDataPkt PacketVersion ByteString | |
| ModificationDetectionCodePkt ByteString | |
| OtherPacketPkt Word8 ByteString |
Constructors
| PKESK | |
Constructors
| Signature | |
Fields | |
Constructors
| SKESK | |
Fields
| |
data OnePassSignature Source
Constructors
| OnePassSignature | |
Instances
| Eq OnePassSignature | |
| Data OnePassSignature | |
| Show OnePassSignature | |
| Typeable OnePassSignature | |
| Serialize OnePassSignature | |
| Packet OnePassSignature | |
| Eq (PacketType OnePassSignature) | |
| Show (PacketType OnePassSignature) |
Constructors
| SecretKey | |
Fields | |
Constructors
| PublicKey | |
Fields | |
data SecretSubkey Source
Constructors
| SecretSubkey | |
Instances
| Eq SecretSubkey | |
| Data SecretSubkey | |
| Show SecretSubkey | |
| Typeable SecretSubkey | |
| Serialize SecretSubkey | |
| Packet SecretSubkey | |
| Eq (PacketType SecretSubkey) | |
| Show (PacketType SecretSubkey) |
data CompressedData Source
Constructors
| CompressedData | |
Instances
| Eq CompressedData | |
| Data CompressedData | |
| Show CompressedData | |
| Typeable CompressedData | |
| Serialize CompressedData | |
| Packet CompressedData | |
| Eq (PacketType CompressedData) | |
| Show (PacketType CompressedData) |
data SymEncData Source
Constructors
| SymEncData | |
Fields
| |
Instances
| Eq SymEncData | |
| Data SymEncData | |
| Show SymEncData | |
| Typeable SymEncData | |
| Serialize SymEncData | |
| Packet SymEncData | |
| Eq (PacketType SymEncData) | |
| Show (PacketType SymEncData) |
Constructors
| Marker | |
Fields
| |
data LiteralData Source
Constructors
| LiteralData | |
Fields
| |
Instances
| Eq LiteralData | |
| Data LiteralData | |
| Show LiteralData | |
| Typeable LiteralData | |
| Serialize LiteralData | |
| Packet LiteralData | |
| Eq (PacketType LiteralData) | |
| Show (PacketType LiteralData) |
Constructors
| Trust | |
Fields
| |
Constructors
| UserId | |
Fields
| |
data PublicSubkey Source
Constructors
| PublicSubkey | |
Fields | |
Instances
| Eq PublicSubkey | |
| Data PublicSubkey | |
| Show PublicSubkey | |
| Typeable PublicSubkey | |
| Serialize PublicSubkey | |
| Packet PublicSubkey | |
| Eq (PacketType PublicSubkey) | |
| Show (PacketType PublicSubkey) |
data UserAttribute Source
Constructors
| UserAttribute | |
Fields | |
Instances
| Eq UserAttribute | |
| Data UserAttribute | |
| Show UserAttribute | |
| Typeable UserAttribute | |
| Serialize UserAttribute | |
| Packet UserAttribute | |
| Eq (PacketType UserAttribute) | |
| Show (PacketType UserAttribute) |
data SymEncIntegrityProtectedData Source
Constructors
| SymEncIntegrityProtectedData | |
Fields | |
Instances
data ModificationDetectionCode Source
Constructors
| ModificationDetectionCode | |
Fields
| |
data OtherPacket Source
Constructors
| OtherPacket | |
Fields
| |
Instances
| Eq OtherPacket | |
| Data OtherPacket | |
| Show OtherPacket | |
| Typeable OtherPacket | |
| Serialize OtherPacket | |
| Packet OtherPacket | |
| Eq (PacketType OtherPacket) | |
| Show (PacketType OtherPacket) |
data Verification Source
Constructors
| Verification | |
symEncDataPayload :: Iso' SymEncData ByteStringSource
markerPayload :: Iso' Marker ByteStringSource
literalDataPayload :: Lens' LiteralData ByteStringSource
trustPayload :: Iso' Trust ByteStringSource
userIdPayload :: Iso' UserId StringSource
otherPacketType :: Lens' OtherPacket Word8Source
otherPacketPayload :: Lens' OtherPacket ByteStringSource
tkmSKA :: Lens' TK (Maybe SKAddendum)Source
tkUIDs :: Lens' TK [(String, [SignaturePayload])]Source
tkUAts :: Lens' TK [([UserAttrSubPacket], [SignaturePayload])]Source
tkSubs :: Lens' TK [(Pkt, SignaturePayload, Maybe SignaturePayload)]Source
sspCriticality :: Lens' SigSubPacket BoolSource