summaryrefslogtreecommitdiff
path: root/Data
diff options
context:
space:
mode:
authorStephen Paul Weber <singpolyma@singpolyma.net>2011-08-12 21:12:05 -0500
committerStephen Paul Weber <singpolyma@singpolyma.net>2011-08-12 21:12:05 -0500
commitdb1701628091dbfe16a9b122d2bfe26b10831aa4 (patch)
treed9c49ca9b6e367af6a1008228e617943d3f78961 /Data
parent078d62b646f3fcecf7918d051472c5905e2957f5 (diff)
docs typos
Diffstat (limited to 'Data')
-rw-r--r--Data/OpenPGP/Crypto.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Data/OpenPGP/Crypto.hs b/Data/OpenPGP/Crypto.hs
index 15c0d63..c213651 100644
--- a/Data/OpenPGP/Crypto.hs
+++ b/Data/OpenPGP/Crypto.hs
@@ -78,7 +78,7 @@ emsa_pkcs1_v1_5_encode m emLen algo =
78 78
79-- | Verify a message signature. Only supports RSA keys for now. 79-- | Verify a message signature. Only supports RSA keys for now.
80verify :: OpenPGP.Message -- ^ Keys that may have made the signature 80verify :: OpenPGP.Message -- ^ Keys that may have made the signature
81 -> OpenPGP.Message -- ^ Message containing data or key to sign, and optional signature packet 81 -> OpenPGP.Message -- ^ LiteralData message to verify
82 -> Int -- ^ Index of signature to verify (0th, 1st, etc) 82 -> Int -- ^ Index of signature to verify (0th, 1st, etc)
83 -> Bool 83 -> Bool
84verify keys message sigidx = 84verify keys message sigidx =
@@ -97,7 +97,7 @@ verify keys message sigidx =
97 97
98-- | Sign data or key/userID pair. Only supports RSA keys for now. 98-- | Sign data or key/userID pair. Only supports RSA keys for now.
99sign :: OpenPGP.Message -- ^ SecretKeys, one of which will be used 99sign :: OpenPGP.Message -- ^ SecretKeys, one of which will be used
100 -> OpenPGP.Message -- ^ Message containing LiteralData to sign 100 -> OpenPGP.Message -- ^ Message containing data or key to sign, and optional signature packet
101 -> OpenPGP.HashAlgorithm -- ^ HashAlgorithm to use is signature 101 -> OpenPGP.HashAlgorithm -- ^ HashAlgorithm to use is signature
102 -> String -- ^ KeyID of key to choose or @[]@ for first 102 -> String -- ^ KeyID of key to choose or @[]@ for first
103 -> Integer -- ^ Timestamp for signature (unless sig supplied) 103 -> Integer -- ^ Timestamp for signature (unless sig supplied)