docs: public static X509Certificate getCertfromPEM(byte[] pemBytes)
              throws IOException, CertificateException, NoSuchProviderException {
          InputStream inStrm = new java.io.ByteArrayInputStream(pemBytes);
          X509Certificate cert = getCertfromPEM(inStrm);
          return cert;
      }