-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | X.509 collection accessing and storing methods
--   
--   X.509 collection accessing and storing methods for certificate, crl,
--   exception list
@package x509-store
@version 1.6.1


module Data.X509.Memory
readKeyFileFromMemory :: ByteString -> [PrivKey]
readSignedObjectFromMemory :: (ASN1Object a, Eq a, Show a) => ByteString -> [SignedExact a]
pemToKey :: [Maybe PrivKey] -> PEM -> [Maybe PrivKey]

module Data.X509.File

-- | return all the signed objects in a file.
--   
--   (only one type at a time).
readSignedObject :: (ASN1Object a, Eq a, Show a) => FilePath -> IO [SignedExact a]

-- | return all the public key that were successfully read from a file.
readKeyFile :: FilePath -> IO [PrivKey]

module Data.X509.CertificateStore

-- | A Collection of certificate or store of certificates.
data CertificateStore

-- | Create a certificate store out of a list of X509 certificate
makeCertificateStore :: [SignedCertificate] -> CertificateStore

-- | Find a certificate using the subject distinguished name
findCertificate :: DistinguishedName -> CertificateStore -> Maybe SignedCertificate

-- | List all certificates in a store
listCertificates :: CertificateStore -> [SignedCertificate]
instance GHC.Base.Monoid Data.X509.CertificateStore.CertificateStore
