|
| Barracuda.CertificateList | | Maintainer | Stephan Friedrichs, Henning Guenther |
|
|
|
| Description |
| This module contains a list for the known certificates of internal and external users.
It also contains functions to cache the certificates on the hard disk.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| type CertificateList = Map UserID Certificate |
| Stores the Certificate of every user in the network.
|
|
| certificates :: CertificateList -> [(UserID, Certificate)] |
| Returns a complete list of UserIDs and their Certificates.
|
|
| dumpCertificateList :: CertificateList -> FilePath -> IO () |
| Writes the certificate list into a directory(dir). It uses the following schema:
dir/host/user.cert
|
|
| loadCertificateList :: FilePath -> IO CertificateList |
| Loads the certificate list from a given location using the same schema as dumpCertificateList.
|
|
| verify :: CertificateList -> String -> Signature -> UserID -> SignatureStatus |
|
| Produced by Haddock version 0.8 |