java.lang.Object | |
↳ | java.security.spec.ECParameterSpec |
Known Direct Subclasses |
This immutable class specifies the set of domain parameters used with elliptic curve cryptography (ECC).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates elliptic curve domain parameters based on the
specified values.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the cofactor.
| |||||||||||
Returns the elliptic curve that this parameter defines.
| |||||||||||
Returns the generator which is also known as the base point.
| |||||||||||
Returns the order of the generator.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Creates elliptic curve domain parameters based on the specified values.
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.
|
Returns the cofactor.
Returns the elliptic curve that this parameter defines.
Returns the generator which is also known as the base point.
Returns the order of the generator.