|
| Barracuda.GUI.CertificateLoader | | Maintainer | Henning Guenther |
|
|
|
| Description |
| This module contains a gui widget used to load certificates and matching private keys.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| data CertificateLoader |
| Loader widget for certificates.
|
|
|
| data PrivateKeyLoader |
| Loader widget for private keys.
|
|
|
| data Loader |
|
|
| certificateLoaderNew |
| :: Maybe FilePath | An optional initial file selection
| | -> (Maybe String -> IO ()) | Callback for user selection
| | -> IO CertificateLoader | | | Creates a FileChooserDialog that previews the username of a selected
certificate.
|
|
|
| privateKeyLoaderNew |
|
|
| loaderNew |
| :: (Certificate -> PrivateKey -> IO ()) | Callback for a new user selection
| | -> IO Loader | | | Creates a new Loader. It uses the default paths to read previously stored
selection paths to provide an initial configuration.
|
|
|
| certificateLoaderGet :: CertificateLoader -> IO (Maybe Certificate) |
| Returns the currently selected Certificate.
|
|
| privateKeyLoaderGet :: PrivateKeyLoader -> IO (Maybe PrivateKey) |
| Returns the currently selected PrivateKey.
|
|
| certificateKeyMatch :: Certificate -> PrivateKey -> Maybe Bool |
| Tries to match a Certificate against a PrivateKey.
|
|
| loaderGetWidget :: Loader -> Widget |
| Returns the Widget to be drawn.
|
|
| certificateGetUserID :: Certificate -> Maybe UserID |
| Tries to read the UserID belonging to a Certificate.
|
|
| Produced by Haddock version 0.8 |