1. /*
  2. * @(#)ECKey.java 1.2 03/12/19
  3. *
  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. import java.security.spec.ECParameterSpec;
  9. /**
  10. * The interface to an elliptic curve (EC) key.
  11. *
  12. * @author Valerie Peng
  13. *
  14. * @version 1.2, 12/19/03
  15. * @since 1.5
  16. */
  17. public interface ECKey {
  18. /**
  19. * Returns the domain parameters associated
  20. * with this key. The domain parameters are
  21. * either explicitly specified or implicitly
  22. * created during key generation.
  23. * @return the associated domain parameters.
  24. */
  25. ECParameterSpec getParams();
  26. }