An interface to X.509 certificate store.
- data X509Store
- newX509Store :: IO X509Store
- addCertToStore :: X509Store -> X509 -> IO ()
- addCRLToStore :: X509Store -> CRL -> IO ()
Documentation
is an opaque object that represents X.509
certificate store. The certificate store is usually used for chain
verification.
X509Store
newX509Store :: IO X509StoreSource
creates an empty X.509 certificate store.
newX509Store
addCertToStore :: X509Store -> X509 -> IO ()Source
adds a certificate to store.
addCertToStore
store cert
addCRLToStore :: X509Store -> CRL -> IO ()Source
adds a revocation list to store.
addCRLToStore
store crl