Name
ECParameterSpec
Synopsis
This class defines an immutable representation for a set of parameters for elliptic curve cryptography.
Figure 14-90. java.security.spec.ECParameterSpec
public class ECParameterSpec implements AlgorithmParameterSpec { // Public Constructors public ECParameterSpec(EllipticCurve curve, ECPoint g, java.math.BigInteger n, int h); // Public Instance Methods public int getCofactor( ); public EllipticCurve getCurve( ); public ECPoint getGenerator( ); public java.math.BigInteger getOrder( ); }
Passed To
ECPrivateKeySpec.ECPrivateKeySpec( )
,
ECPublicKeySpec.ECPublicKeySpec( )
Returned By
java.security.interfaces.ECKey.getParams( )
,
ECPrivateKeySpec.getParams( )
,
ECPublicKeySpec.getParams( )
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.