 | HsOpenSSL-0.3: (Part of) OpenSSL binding for Haskell | Contents | Index |
|
|
|
| Description |
| Message signing using asymmetric cipher and message digest
algorithm. This is an opposite of OpenSSL.EVP.Verify.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| sign |
| :: Digest | message digest algorithm to use
| | -> PKey | private key to sign the message digest
| | -> String | input string
| | -> IO String | the 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.
|
|
|
| signBS |
| :: Digest | message digest algorithm to use
| | -> PKey | private key to sign the message digest
| | -> ByteString | input string
| | -> IO String | the result signature
| | signBS generates a signature from a chunk of data.
|
|
|
| signLBS |
| :: Digest | message digest algorithm to use
| | -> PKey | private key to sign the message digest
| | -> LazyByteString | input string
| | -> IO String | the result signature
| | signLBS generates a signature from a stream of data.
|
|
|
| Produced by Haddock version 0.8 |