public static ECPublicKey getEcPublicKey(
      CurveType curve, PointFormatType pointFormat, final byte[] publicKey)
      throws GeneralSecurityException {
    return getEcPublicKey(getCurveSpec(curve), pointFormat, publicKey);
  }
Returns an {@link ECPublicKey} from {@code publicKey} that is a public key in point format
{@code pointFormat} on {@code curve}.
java_src/src/main/java/com/google/crypto/tink/subtle/EllipticCurves.java