| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.spec.ECParameterSpec
public class ECParameterSpec
This immutable class specifies the set of domain parameters used with elliptic curve cryptography (ECC).
AlgorithmParameterSpec| Constructor Summary | |
|---|---|
| ECParameterSpec(EllipticCurve curve,
                ECPoint g,
                BigInteger n,
                int h)Creates elliptic curve domain parameters based on the specified values. | |
| Method Summary | |
|---|---|
|  int | getCofactor()Returns the cofactor. | 
|  EllipticCurve | getCurve()Returns the elliptic curve that this parameter defines. | 
|  ECPoint | getGenerator()Returns the generator which is also known as the base point. | 
|  BigInteger | getOrder()Returns the order of the generator. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ECParameterSpec(EllipticCurve curve,
                       ECPoint g,
                       BigInteger n,
                       int h)
curve - the elliptic curve which this parameter 
 defines.g - the generator which is also known as the base point.n - the order of the generator g.h - the cofactor.
NullPointerException - if curve,
 g, or n is null.
IllegalArgumentException - if n 
 or h is not positive.| Method Detail | 
|---|
public EllipticCurve getCurve()
public ECPoint getGenerator()
public BigInteger getOrder()
public int getCofactor()
| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.