Name: HsOpenSSL
Synopsis: (Incomplete) OpenSSL binding for Haskell
Description:
        HsOpenSSL is an (incomplete) OpenSSL binding for Haskell. It
        can generate RSA and DSA keys, read and write PEM files,
        generate message digests, sign and verify messages, encrypt
        and decrypt messages.
Version: 0.9
x-revision: 1
License: PublicDomain
License-File: COPYING
Author: Adam Langley <agl at imperialviolet dot org>,
        PHO <pho at cielonegro dot org>,
        Taru Karttunen <taruti at taruti dot net>
Maintainer: PHO <pho at cielonegro dot org>
Stability: stable
Homepage: http://cielonegro.org/HsOpenSSL.html
Category: Cryptography
Tested-With: GHC == 6.12.3
Cabal-Version: >= 1.6
Build-Type: Simple
Extra-Source-Files:
    AUTHORS
    NEWS
    cbits/HsOpenSSL.h
    cbits/mutex.h
    examples/Makefile
    examples/GenRSAKey.hs
    examples/HelloWorld.hs
    examples/PKCS7.hs
    tests/Base64.hs
    tests/Cipher.hs
    tests/DSA.hs
    tests/Makefile

Source-Repository head
    Type: darcs
    Location: http://darcs.cielonegro.org/HsOpenSSL/

Library
  Build-Depends: base >= 4 && < 4.6, bytestring, ghc-prim, time >= 1.1.1 && < 1.5, old-locale, network>=2.1.0.0

  if impl(ghc >= 6.11)
      Build-Depends:      integer-gmp < 1
  else
      Build-Depends:      integer

  if os(mingw32)
      Extra-Libraries: eay32 ssl32
      C-Sources:          cbits/mutex-win.c
      CC-Options:         -D MINGW32
      CPP-Options:        -DCALLCONV=stdcall
  else
      Extra-Libraries: crypto ssl
      C-Sources:          cbits/mutex-pthread.c
      CC-Options:         -D PTHREAD
      CPP-Options:        -DCALLCONV=ccall

  Exposed-Modules:
          OpenSSL
          OpenSSL.BN
          OpenSSL.EVP.Base64
          OpenSSL.EVP.Cipher
          OpenSSL.EVP.Digest
          OpenSSL.EVP.Open
          OpenSSL.EVP.PKey
          OpenSSL.EVP.Seal
          OpenSSL.EVP.Sign
          OpenSSL.EVP.Verify
          OpenSSL.Cipher
          OpenSSL.PEM
          OpenSSL.PKCS7
          OpenSSL.Random
          OpenSSL.DSA
          OpenSSL.RSA
          OpenSSL.X509
          OpenSSL.X509.Revocation
          OpenSSL.X509.Request
          OpenSSL.X509.Store
          OpenSSL.Session
  Other-Modules:
          OpenSSL.ASN1
          OpenSSL.BIO
          OpenSSL.ERR
          OpenSSL.Objects
          OpenSSL.SSL
          OpenSSL.Stack
          OpenSSL.Utils
          OpenSSL.X509.Name
  Extensions:
          ForeignFunctionInterface, EmptyDataDecls, MagicHash,
          UnboxedTuples, UnliftedFFITypes, DeriveDataTypeable,
          ExistentialQuantification, RankNTypes
  ghc-options:
          -Wall
  C-Sources:
          cbits/HsOpenSSL.c
  Include-Dirs:
          cbits
  Install-Includes:
          HsOpenSSL.h