| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
System.X509.Common
Synopsis
- maybeSSLCertEnvOr :: IO CertificateStore -> IO CertificateStore
- nativeCertificates :: String -> (Ptr (Ptr Word8) -> Ptr CSize -> IO CInt) -> IO [SignedCertificate]
Documentation
maybeSSLCertEnvOr :: IO CertificateStore -> IO CertificateStore Source #
Like OpenSSL, the certificates in SSL_CERT_FILE and in the
directories listed in SSL_CERT_DIR replace the default store if
either variable is set to a non-empty value.
nativeCertificates :: String -> (Ptr (Ptr Word8) -> Ptr CSize -> IO CInt) -> IO [SignedCertificate] Source #
Certificates returned by a C function as a malloc'ed buffer of 4-byte big-endian lengths each followed by DER. The first argument names the caller in errors.