1package org.bouncycastle.jce.interfaces;
2
3/**
4 * All BC elliptic curve keys implement this interface. You need to
5 * cast the key to get access to it.
6 * <p>
7 * By default BC keys produce encodings without point compression,
8 * to turn this on call setPointFormat() with "COMPRESSED".
9 */
10public interface ECPointEncoder
11{
12    /**
13     * Set the formatting for encoding of points. If the String "UNCOMPRESSED" is passed
14     * in point compression will not be used. If the String "COMPRESSED" is passed point
15     * compression will be used. The default is "UNCOMPRESSED".
16     *
17     * @param style the style to use.
18     */
19    public void setPointFormat(String style);
20}
21