x509-validation 1.6.9 → 1.6.10
raw patch · 2 files changed
+5/−7 lines, 2 filesdep −byteabledep ~pem
Dependencies removed: byteable
Dependency ranges changed: pem
Files
Data/X509/Validation/Fingerprint.hs view
@@ -5,6 +5,7 @@ -- Stability : experimental -- Portability : unknown --+{-# LANGUAGE GeneralizedNewtypeDeriving #-} module Data.X509.Validation.Fingerprint ( Fingerprint(..) , getFingerprint@@ -13,16 +14,14 @@ import Crypto.Hash import Data.X509 import Data.ASN1.Types-import Data.ByteArray (convert)+import Data.ByteArray (convert, ByteArrayAccess) import Data.ByteString (ByteString)-import Data.Byteable -- | Fingerprint of a certificate newtype Fingerprint = Fingerprint ByteString deriving (Show,Eq) -instance Byteable Fingerprint where- toBytes (Fingerprint bs) = bs+instance ByteArrayAccess Fingerprint -- | Get the fingerprint of the whole signed object -- using the hashing algorithm specified
x509-validation.cabal view
@@ -1,5 +1,5 @@ Name: x509-validation-version: 1.6.9+version: 1.6.10 Description: X.509 Certificate and CRL validation License: BSD3 License-file: LICENSE@@ -18,12 +18,11 @@ Build-Depends: base >= 3 && < 5 , bytestring , memory- , byteable , mtl , containers , hourglass , data-default-class- , pem >= 0.1 && < 0.3+ , pem >= 0.1 , asn1-types >= 0.3 && < 0.4 , asn1-encoding >= 0.9 && < 0.10 , x509 >= 1.6.5