code: public static PublicKey loadPublicKey(byte[] keyBytes) {
          X509EncodedKeySpec x509EncodedKeySpec = new X509EncodedKeySpec(keyBytes);
  
          try {
              KeyFactory factory = KeyFactory.getInstance(KEY_ALGORITHM);
              PublicKey publicKey = factory.generatePublic(x509EncodedKeySpec);
              return publicKey;
          } catch (NoSuchAlgorithmException | InvalidKeySpecException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
          }
          return null;
      }
docs: 还原公钥，X509EncodedKeySpec 用于构建公钥的规范
  
  @param keyBytes
  @return