| HsOpenSSL-0.3: (Part of) OpenSSL binding for Haskell | Contents | Index |
|
|
|
Description |
Message verification using asymmetric cipher and message digest
algorithm. This is an opposite of OpenSSL.EVP.Sign.
|
|
Synopsis |
|
|
|
Documentation |
|
data VerifyStatus |
VerifyStatus represents a result of verification.
| Constructors | VerifySuccess | | VerifyFailure | |
| Instances | |
|
|
verify |
:: Digest | message digest algorithm to use
| -> String | message signature
| -> PKey | public key to verify the signature
| -> String | input string to verify
| -> IO VerifyStatus | the result of verification
| verify verifies a signature and a stream of data. The string
must not contain any letters which aren't in the range of U+0000 -
U+00FF.
|
|
|
verifyBS |
:: Digest | message digest algorithm to use
| -> String | message signature
| -> PKey | public key to verify the signature
| -> ByteString | input string to verify
| -> IO VerifyStatus | the result of verification
| verifyBS verifies a signature and a chunk of data.
|
|
|
verifyLBS |
:: Digest | message digest algorithm to use
| -> String | message signature
| -> PKey | public key to verify the signature
| -> LazyByteString | input string to verify
| -> IO VerifyStatus | the result of verification
| verifyLBS verifies a signature of a stream of data.
|
|
|
Produced by Haddock version 0.8 |