summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms.hs9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Transforms.hs b/lib/Transforms.hs
index c83f427..664cf86 100644
--- a/lib/Transforms.hs
+++ b/lib/Transforms.hs
@@ -39,16 +39,15 @@ import qualified Crypto.Types.PubKey.ECC as ECC
39#else 39#else
40import qualified Crypto.Hash as Vincent 40import qualified Crypto.Hash as Vincent
41import Data.ByteArray (convert) 41import Data.ByteArray (convert)
42import qualified Crypto.PubKey.ECC.Types as ECC
43#endif 42#endif
44import Data.ASN1.BinaryEncoding ( DER(..) ) 43import Data.ASN1.BinaryEncoding ( DER(..) )
45import Data.ASN1.Types ( toASN1, ASN1Object, fromASN1 44import Data.ASN1.Types (toASN1, ASN1Object, fromASN1, ASN1(Start, End, IntVal), ASN1ConstructionType(Sequence) )
46 , ASN1(Start,End,IntVal,OID,BitString,Null), ASN1ConstructionType(Sequence) ) 45
47import Data.ASN1.Encoding ( encodeASN1, encodeASN1', decodeASN1, decodeASN1' ) 46import Data.ASN1.Encoding ( encodeASN1 )
48import qualified Data.Text as T ( Text, unpack, pack, 47import qualified Data.Text as T ( Text, unpack, pack,
49 strip, reverse, drop, break, dropAround, length ) 48 strip, reverse, drop, break, dropAround, length )
50import Data.Text.Encoding ( encodeUtf8 ) 49import Data.Text.Encoding ( encodeUtf8 )
51import Data.Bits ( (.|.), (.&.), Bits, shiftR ) 50import Data.Bits ((.|.), (.&.), Bits)
52 51
53type TrustMap = Map.Map FilePath Packet 52type TrustMap = Map.Map FilePath Packet
54type SigAndTrust = ( MappedPacket 53type SigAndTrust = ( MappedPacket