Java™ Platform
Standard Ed. 6

java.security.spec
Interface ECField

All Known Implementing Classes:
ECFieldF2m, ECFieldFp

public interface ECField

This interface represents an elliptic curve (EC) finite field. All specialized EC fields must implements this interface.

Since:
1.5
See Also:
ECFieldFp, ECFieldF2m

Method Summary
 int getFieldSize()
          Returns the field size in bits.
 

Method Detail

getFieldSize

int getFieldSize()
Returns the field size in bits. Note: For prime finite field ECFieldFp, size of prime p in bits is returned. For characteristic 2 finite field ECFieldF2m, m is returned.

Returns:
the field size in bits.

Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.