This is a wrapper around http://hackage.haskell.org/package/Crypto that currently does fingerprint generation and signature verification.
The recommended way to import this module is:
import qualified Data.OpenPGP.Crypto as OpenPGP
SecretKeys, one of which will be used
Message containing data or key to sign, and optional signature packet
HashAlgorithm to use is signature
KeyID of key to choose or
Timestamp for signature (unless sig supplied)
Sign data or key/userID pair. Only supports RSA keys for now.
Keys that may have made the signature
LiteralData message to verify
Index of signature to verify (0th, 1st, etc)
Verify a message signature. Only supports RSA keys for now.