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

Safe HaskellNone

Codec.Encryption.OpenPGP.Types

Documentation

type TimeStamp = Word32Source

type TrustLevel = Word8Source

type TrustAmount = Word8Source

type Revocability = BoolSource

type RevocationReason = ByteStringSource

type KeyServer = ByteStringSource

type URL = ByteStringSource

type NotationName = ByteStringSource

type NotationValue = ByteStringSource

type SignatureHash = ByteStringSource

type PacketVersion = Word8Source

type Salt = ByteStringSource

type Count = IntSource

type V3Expiration = Word16Source

type CompressedDataPayload = ByteStringSource

type FileName = ByteStringSource

type ImageData = ByteStringSource

type NestedFlag = BoolSource

type IV = ByteStringSource

data KSPFlag Source

Constructors

NoModify 
KSPOther Int 

Instances

Eq KSPFlag 
Data KSPFlag 
Ord KSPFlag 
Show KSPFlag 
Typeable KSPFlag 
FutureFlag KSPFlag 

newtype MPI Source

Constructors

MPI 

Fields

unMPI :: Integer
 

Instances

Eq MPI 
Data MPI 
Show MPI 
Typeable MPI 
Serialize MPI 

data KeyVersion Source

Constructors

DeprecatedV3 
V4 

Instances

Eq KeyVersion 
Data KeyVersion 
Ord KeyVersion 
Show KeyVersion 
Typeable KeyVersion 

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 

data DataType Source

Constructors

BinaryData 
TextData 
UTF8Data 
OtherData Word8 

Instances

Eq DataType 
Data DataType 
Ord DataType 
Show DataType 
Typeable DataType 
FutureVal DataType 

data S2K Source

Instances

Eq S2K 
Data S2K 
Show S2K 
Typeable S2K 
Serialize S2K 

data ImageHeader Source

Constructors

ImageHV1 ImageFormat 

Instances

Eq ImageHeader 
Data ImageHeader 
Show ImageHeader 
Typeable ImageHeader 

data ImageFormat Source

Constructors

JPEG 
OtherImage Word8 

data PKey Source

Instances

Eq PKey 
Data PKey 
Show PKey 
Typeable PKey 

data SKey Source

Instances

Eq SKey 
Data SKey 
Show SKey 
Typeable SKey 

newtype Block a Source

Constructors

Block 

Fields

unBlock :: [a]
 

Instances

Eq a => Eq (Block a) 
Show a => Show (Block a) 
Serialize a => Serialize (Block a) 

newtype EightOctetKeyId Source

Constructors

EightOctetKeyId 

Fields

unEOKI :: ByteString
 

w8sToHex :: [Word8] -> StringSource

hexToW8s :: ReadS Word8Source

data TK Source

Instances

Eq TK 
Data TK 
Ord TK 
Show TK 
Typeable TK 
Indexable TK 

data SKESK Source

Instances

Eq SKESK 
Data SKESK 
Show SKESK 
Typeable SKESK 
Serialize SKESK 
Packet SKESK 
Eq (PacketType SKESK) 
Show (PacketType SKESK) 

data Marker Source

Constructors

Marker 

Fields

_markerPayload :: ByteString
 

Instances

data Trust Source

Constructors

Trust 

Fields

_trustPayload :: ByteString
 

Instances

Eq Trust 
Data Trust 
Show Trust 
Typeable Trust 
Serialize Trust 
Packet Trust 
Eq (PacketType Trust) 
Show (PacketType Trust) 

data UserId Source

Constructors

UserId 

Fields

_userIdPayload :: String
 

Instances

skeskESK :: Lens' SKESK (Maybe ByteString)Source