code: public static ECPoint compressPoint(ECPoint uncompressed) {
          return CURVE.getCurve().decodePoint(uncompressed.getEncoded(true));
      }
docs: Utility for compressing an elliptic curve point. Returns the same point if
  it's already compressed. See the ECKey class docs for a discussion of point
  compression.
  
  @param uncompressed
  -
  
  @return -
  @deprecated per-point compression property will be removed in Bouncy Castle