docs: public ApnsClientBuilder setClientCredentials(final InputStream p12InputStream, final String p12Password) throws SSLException, IOException {
          final X509Certificate x509Certificate;
          final PrivateKey privateKey;
  
          try {
              final KeyStore.PrivateKeyEntry privateKeyEntry = P12Util.getFirstPrivateKeyEntryFromP12InputStream(p12InputStream, p12Password);
  
              final Certificate certificate = privateKeyEntry.getCertificate();
  
              if (!(certificate instanceof X509Certificate)) {
                  throw new KeyStoreException("Found a certificate in the provided PKCS#12 file, but it was not an X.509 certificate.");
              }
  
              x509Certificate = (X509Certificate) certificate;
              privateKey = privateKeyEntry.getPrivateKey();
          } catch (final KeyStoreException e) {
              throw new SSLException(e);
          }
  
          return this.setClientCredentials(x509Certificate, privateKey, p12Password);
      }