HsOpenSSL-0.5: (Part of) OpenSSL binding for HaskellSource codeContentsIndex
OpenSSL.X509.Store
Description
An interface to X.509 certificate store.
Synopsis
data X509Store
data X509_STORE
newX509Store :: IO X509Store
withX509StorePtr :: X509Store -> (Ptr X509_STORE -> IO a) -> IO a
addCertToStore :: X509Store -> X509 -> IO ()
addCRLToStore :: X509Store -> CRL -> IO ()
Documentation
data X509Store Source
X509Store is an opaque object that represents X.509 certificate store. The certificate store is usually used for chain verification.
data X509_STORE Source
newX509Store :: IO X509StoreSource
newX509Store creates an empty X.509 certificate store.
withX509StorePtr :: X509Store -> (Ptr X509_STORE -> IO a) -> IO aSource
addCertToStore :: X509Store -> X509 -> IO ()Source
addCertToStore store cert adds a certificate to store.
addCRLToStore :: X509Store -> CRL -> IO ()Source
addCRLToStore store crl adds a revocation list to store.
Produced by Haddock version 2.4.2