| Portability | unknown |
|---|---|
| Stability | experimental |
| Maintainer | Vincent Hanquez <vincent@snarc.org> |
Data.Certificate.PEM
Description
Read PEM files
- parsePEM :: ByteString -> ByteString -> ByteString -> Either String ByteString
- parsePEMCert :: ByteString -> Either String ByteString
- parsePEMKey :: ByteString -> Either String ByteString
Documentation
parsePEM :: ByteString -> ByteString -> ByteString -> Either String ByteStringSource
parse a PEM content that is delimited by the begin string and the end string, and returns the base64-decoded bytestring on success or a string on error.