clarify the documentation on what's expected from LoadX509

This commit is contained in:
Vincent Hanquez 2014-01-29 04:41:18 +00:00
parent a96e575243
commit a59f8b334a

View file

@ -31,7 +31,8 @@ instance Monoid Credentials where
mappend (Credentials l1) (Credentials l2) = Credentials (l1 ++ l2)
-- | try to create a new credential object from a public certificate
-- and the associated private key.
-- and the associated private key that are stored on the filesystem
-- in PEM format.
credentialLoadX509 :: FilePath -- ^ public certificate (X.509 format)
-> FilePath -- ^ private key associated
-> IO (Either String Credential)