Data.X509.File

crypton-x509-store-1.6.9: X.509 collection accessing and storing methods

Safe Haskell | None
Language | Haskell2010

Data.X509.File

Synopsis

- readSignedObject :: (ASN1Object a, Eq a, Show a) => FilePath -> IO [SignedExact a]
- readKeyFile :: FilePath -> IO [PrivKey]
- newtype PEMError = PEMError {
  - displayPEMError :: String
  }

# Documentation

readSignedObject :: (ASN1Object a, Eq a, Show a) => FilePath -> IO [SignedExact a] #

return all the signed objects in a file.

(only one type at a time).

readKeyFile :: FilePath -> IO [PrivKey] #

return all the private keys that were successfully read from a file.

newtype PEMError #

Constructors

PEMError |
Fields displayPEMError :: String

#### Instances

Instances details

Exception PEMError # |
Instance details Defined in Data.X509.File Methods toException :: PEMError -> SomeException # fromException :: SomeException -> Maybe PEMError # displayException :: PEMError -> String # backtraceDesired :: PEMError -> Bool #
Show PEMError # |
Instance details Defined in Data.X509.File Methods showsPrec :: Int -> PEMError -> ShowS # show :: PEMError -> String # showList :: [PEMError] -> ShowS #