getCertificates

Parse and return all certificates from the PEM content. Most PEM files either contain a single certificate or a certificate chain.

Return

the certificates

Throws

if no certificates could be loaded