Package org.bouncycastle.jcajce.util
Class ECKeyUtil
java.lang.Object
org.bouncycastle.jcajce.util.ECKeyUtil
Utility class for EC Keys.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ECPublicKey
createKeyWithCompression
(ECPublicKey ecPublicKey) Convert an ECPublicKey into an ECPublicKey which always encodes with point compression.
-
Constructor Details
-
ECKeyUtil
public ECKeyUtil()
-
-
Method Details
-
createKeyWithCompression
Convert an ECPublicKey into an ECPublicKey which always encodes with point compression.- Parameters:
ecPublicKey
- the originating public key.- Returns:
- a wrapped version of ecPublicKey which uses point compression.
-