HsOpenSSL-0.10.3: (Incomplete) OpenSSL binding for Haskell
OpenSSL.Utils
Synopsis
failIfNull :: Ptr a -> IO (Ptr a)Source
failIfNull_ :: Ptr a -> IO ()Source
failIf :: (a -> Bool) -> a -> IO aSource
failIf_ :: (a -> Bool) -> a -> IO ()Source
raiseOpenSSLError :: IO aSource
toHex :: (Num i, Bits i) => i -> StringSource
Convert an integer to a hex string
fromHex :: (Num i, Bits i) => String -> iSource
Convert a hex string to an integer
peekCStringCLen :: (Ptr CChar, CInt) -> IO StringSource