certificate-0.1: Certificate and Key Reader/Writer

Portabilityunknown
Stabilityexperimental
MaintainerVincent Hanquez <vincent@snarc.org>

Data.Certificate.PEM

Description

Read PEM files

Synopsis

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.