Fix CertPath APIs

There was a missing getCertPathEncodings() implementation and the "PEM"
encoding wasn't fully removed.

Change-Id: I514910eec34ad39e0a2d56677ffdd400b38c6bc9
3 files changed