OpenSSL.CreateKey
- createKey :: String -> FilePath -> Maybe SomeKeyPair -> PemPasswordSupply -> IO (X509, SomeKeyPair)
- promptPassword :: PemPasswordSupply
- readKeyPair :: FilePath -> PemPasswordSupply -> IO (X509, SomeKeyPair)
- readCertificate :: FilePath -> IO X509
Documentation
Arguments
| :: String | Key name |
| -> FilePath | Base filepath |
| -> Maybe SomeKeyPair | Key for signing the certificate, otherwise self-signed |
| -> PemPasswordSupply | Method for writing private key file |
| -> IO (X509, SomeKeyPair) |
readKeyPair :: FilePath -> PemPasswordSupply -> IO (X509, SomeKeyPair)Source
Read Key
readCertificate :: FilePath -> IO X509Source