docs: public static String encodePublicKey(PublicKey key) {
          byte[] bytes = key.getEncoded();
          return BEGIN + "\n" + new String(Base64.encodeBase64Chunked(bytes), StandardCharsets.UTF_8).trim() + "\n" + END;
      }