JavaTM 2 Platform
Standard Ed. 5.0

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.

JavaTM 2 Platform
Standard Ed. 5.0

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

Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.