data-rfc5280-0.1.0.1: data-rfc5280.cabal
cabal-version: 3.0
name: data-rfc5280
version: 0.1.0.1
synopsis: Represent the standard X.509v3 certificate extensions
description:
@data-rfc5280@ provides Haskell types for the standard X.509v3
certificate extensions defined in [RFC 5280](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2)
Extensions covered include @BasicConstraints@, @KeyUsage@,
@ExtendedKeyUsage@, @SubjectAltName@, @IssuerAltName@,
@AuthorityKeyIdentifier@, @SubjectKeyIdentifier@, @CertificatePolicies@,
@PolicyMappings@, @NameConstraints@, @CRLDistributionPoints@,
@AuthorityInfoAccess@, and @InhibitAnyPolicy@.
The package also provides typeclasses that support serialisation to OpenSSL configuration format
See the [README](https://github.com/adetokunbo/data-rfc5280/blob/main/README.md) for more details
license: BSD-3-Clause
license-file: LICENSE
author: Tim Emiola
maintainer: adetokunbo@emio.la
category: Cryptography
homepage: https://github.com/adetokunbo/data-rfc5280#readme
bug-reports:
https://github.com/adetokunbo/data-rfc5280/issues
tested-with: GHC ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.6 || ==9.8.4 || ==9.10.1 || ==9.12.1
build-type: Simple
extra-source-files:
ChangeLog.md
source-repository head
type: git
location: https://github.com/adetokunbo/data-rfc5280.git
library
exposed-modules:
Data.Rfc5280
Data.Rfc5280.Assert
Data.Rfc5280.AuthorityInfoAccess
Data.Rfc5280.AuthorityKeyIdentifier
Data.Rfc5280.BasicConstraints
Data.Rfc5280.CertificatePolicies
Data.Rfc5280.CRLDistributionPoints
Data.Rfc5280.ExtKeyUsage
Data.Rfc5280.GeneralName
Data.Rfc5280.HasOID
Data.Rfc5280.InhibitAnyPolicy
Data.Rfc5280.IssuerAltName
Data.Rfc5280.PolicyMappings
Data.Rfc5280.KeyUsage
Data.Rfc5280.NameConstraints
Data.Rfc5280.SubjectAltName
Data.Rfc5280.SubjectKeyIdentifier
other-modules:
Data.Rfc5280.Internal
hs-source-dirs: src
build-depends:
, base >=4.10 && <5
, bytestring >=0.10.8.2 && <0.11 || >=0.11.3.1 && <0.13
, email-validate >=2.3 && <2.4
, ip >=1.3 && <1.9
, modern-uri >=0.3 && <0.4
, nonempty-containers >=0.3 && <0.4
, text >=1.2 && <2.2
default-language: Haskell2010
ghc-options: -Wall -Wincomplete-uni-patterns -Wpartial-fields -fwarn-tabs
test-suite test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
other-modules:
Rfc5280Spec
Rfc5280.AssertSpec
Rfc5280.AuthorityInfoAccessSpec
Rfc5280.CRLDistributionPointsSpec
Rfc5280.Fixtures
Rfc5280.GeneralNameSpec
Rfc5280.Generators
Rfc5280.HasOIDSpec
Rfc5280.InhibitAnyPolicySpec
Rfc5280.IssuerAltNameSpec
Rfc5280.NameConstraintsSpec
Rfc5280.PolicyMappingsSpec
Rfc5280.SubjectAltNameSpec
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fwarn-tabs
build-depends:
, base
, bytestring
, email-validate >=2.3 && <2.4
, hspec >=2.7 && < 2.12
, ip >=1.3 && <1.9
, modern-uri >=0.3 && <0.4
, QuickCheck >=2.13 && < 2.16
, text >=1.2 && <2.2
, data-rfc5280