From ee51a250db3f056141e630461ad75c4f66456f5d Mon Sep 17 00:00:00 2001 From: "Keith W. Campbell" Date: Tue, 6 Jun 2023 12:31:59 -0400 Subject: [PATCH] Remove unused method ECPublicKeyImpl.isECFieldF2m() Signed-off-by: Keith W. Campbell --- .../share/classes/sun/security/ec/ECPublicKeyImpl.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/jdk.crypto.ec/share/classes/sun/security/ec/ECPublicKeyImpl.java b/src/jdk.crypto.ec/share/classes/sun/security/ec/ECPublicKeyImpl.java index b4cc275779f..901fe859b7c 100644 --- a/src/jdk.crypto.ec/share/classes/sun/security/ec/ECPublicKeyImpl.java +++ b/src/jdk.crypto.ec/share/classes/sun/security/ec/ECPublicKeyImpl.java @@ -140,14 +140,6 @@ protected Object writeReplace() throws java.io.ObjectStreamException { getEncoded()); } - /** - * Returns true if this key's EC field is an instance of ECFieldF2m. - * @return true if the field is an instance of ECFieldF2m, false otherwise - */ - boolean isECFieldF2m() { - return this.params.getCurve().getField() instanceof ECFieldF2m; - } - /** * Returns the native EC public key context pointer. * @return the native EC public key context pointer or -1 on error