summaryrefslogtreecommitdiff
path: root/ASN1.cabal
blob: 0b319759682e04f1ffa92ed451fd27d2de5401c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
Name:            ASN1
Version:         0.0.1.1
License:         BSD3
Author:          Dominic Steinitz
Maintainer:      dominic.steinitz@blueyonder.co.uk
Copyright:       Dominic Steinitz 2003 - 2007
Stability:       Alpha
Category:        Language
Homepage:        http://www.haskell.org/asn1
Synopsis:        ASN.1 support for Haskell
Description:     Enough ASN.1 suppport for X.509 
                 identity and attribute certificates, PKCS8, PKCS1v15.
                 Only the Basic Encoding Rules (BER) are supported.
Build-type:      Simple
Cabal-Version:   >= 1.2

flag small_base
  description: Choose the new smaller, split-up base package.

library
    extensions:        FlexibleContexts,
                       FlexibleInstances

    if flag(small_base)
        build-depends: base >= 3,
                       containers,
                       old-time,
                       pretty
    else
        build-depends: base <  3

    build-Depends:     mtl,
                       QuickCheck,
                       HUnit,
                       NewBinary

    Exposed-Modules: Language.ASN1
                     Language.ASN1.BER
                     Language.ASN1.InformationFramework
                     Language.ASN1.TLV
                     Language.ASN1.X509
                     Language.ASN1.X509.AttributeCertificateDefinitions
                     Language.ASN1.PKCS1v15
                     Language.ASN1.PKCS8
                     Language.ASN1.Utils
                     Language.ASN1.Raw


-- Executable:      BERTest
-- Main-Is:         BERTest.hs
-- Ghc-options:     -fglasgow-exts
-- Other-modules:   Language.ASN1
--                  Language.ASN1.BER
-- 
-- Executable:      BERTest2
-- Main-Is:         BERTest2.hs
-- Ghc-options:     -fglasgow-exts
-- Other-modules:   Language.ASN1
--                  Language.ASN1.BER
--                  Language.ASN1.X509
--                  Language.ASN1.InformationFramework
--                  Language.ASN1.X509.AttributeCertificateDefinitions
--                  Language.ASN1.TLV
-- 
-- Executable:      X509Example
-- Main-Is:         X509Example.hs
-- Ghc-options:     -fglasgow-exts
-- Other-modules:   Language.ASN1.BER
--                  Language.ASN1
--                  Language.ASN1.TLV
--                  Language.ASN1.X509
--                  Language.ASN1.Utils
-- 
-- Executable:      PKCS8Example
-- Main-Is:         PKCS8Example.hs
-- Ghc-options:     -fglasgow-exts
-- Other-modules:   Language.ASN1.BER
--                  Language.ASN1
--                  Language.ASN1.TLV
--                  Language.ASN1.PKCS8
--                  Language.ASN1.X509
-- 
-- Executable:      AttributeCertificate
-- Main-Is:         AttributeCertificate.hs
-- Ghc-options:     -fglasgow-exts
-- Other-modules:   Language.ASN1.BER
--                  Language.ASN1
--                  Language.ASN1.X509                
--                  Language.ASN1.InformationFramework
--                  Language.ASN1.X509.AttributeCertificateDefinitions
--                  Language.ASN1.Utils
--                  Language.ASN1.TLV
--                  Language.ASN1.Raw
-- 
-- 
--