docs: protected X509Certificate loadX509CertificateFromResource(String resource) throws CertificateException{
  		InputStream derInputStream = this.getClass().getClassLoader().getResourceAsStream(resource);
  		CertificateFactory certificateFactory = CertificateFactory.getInstance("X.509");
  		X509Certificate cert = (X509Certificate) certificateFactory.generateCertificate(derInputStream);
  		try {
  			derInputStream.close();
  		} catch (IOException e) {
  			// ignore
  		}
  		return cert;
  	}