1 /*2 * @(#)ECKey.java 1.2 03/12/193 *4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.6 */7 package java.security.interfaces;8 9 import java.security.spec.ECParameterSpec ;10 11 /**12 * The interface to an elliptic curve (EC) key.13 *14 * @author Valerie Peng15 *16 * @version 1.2, 12/19/0317 * @since 1.518 */19 public interface ECKey {20 /**21 * Returns the domain parameters associated22 * with this key. The domain parameters are 23 * either explicitly specified or implicitly 24 * created during key generation.25 * @return the associated domain parameters.26 */27 ECParameterSpec getParams();28 }29