HsOpenSSL-0.11: Partial OpenSSL binding for Haskell

Safe HaskellNone
LanguageHaskell98

OpenSSL.EVP.Internal

Synopsis

Documentation

newtype Cipher

Cipher is an opaque object that represents an algorithm of symmetric cipher.

Constructors

Cipher (Ptr EVP_CIPHER) 

data CryptoMode

CryptoMode represents instruction to cipher and such like.

Constructors

Encrypt 
Decrypt 

newtype Digest

Digest is an opaque object that represents an algorithm of message digest.

Constructors

Digest (Ptr EVP_MD) 

data EVP_MD

withMDPtr :: Digest -> (Ptr EVP_MD -> IO a) -> IO a

newtype DigestCtx

newtype VaguePKey

Constructors

VaguePKey (ForeignPtr EVP_PKEY) 

withPKeyPtr' :: PKey k => k -> (Ptr EVP_PKEY -> IO a) -> IO a