HsOpenSSL-0.6.2: (Incomplete) OpenSSL binding for HaskellSource codeContentsIndex
OpenSSL.EVP.Sign
Description
Message signing using asymmetric cipher and message digest algorithm. This is an opposite of OpenSSL.EVP.Verify.
Synopsis
sign :: KeyPair key => Digest -> key -> String -> IO String
signBS :: KeyPair key => Digest -> key -> ByteString -> IO String
signLBS :: KeyPair key => Digest -> key -> ByteString -> IO String
Documentation
signSource
:: KeyPair key
=> Digestmessage digest algorithm to use
-> keyprivate key to sign the message digest
-> Stringinput string
-> IO Stringthe result signature
sign generates a signature from a stream of data. The string must not contain any letters which aren't in the range of U+0000 - U+00FF.
signBSSource
:: KeyPair key
=> Digestmessage digest algorithm to use
-> keyprivate key to sign the message digest
-> ByteStringinput string
-> IO Stringthe result signature
signBS generates a signature from a chunk of data.
signLBSSource
:: KeyPair key
=> Digestmessage digest algorithm to use
-> keyprivate key to sign the message digest
-> ByteStringinput string
-> IO Stringthe result signature
signLBS generates a signature from a stream of data.
Produced by Haddock version 2.4.2