Class ECUtil
java.lang.Object
org.gudy.bouncycastle.jce.provider.ECUtil
utility class for converting jce/jca ECDSA, ECDH, and ECDHC
objects into their org.gudy.bouncycastle.crypto counterparts.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ECUtil
public ECUtil()
-
-
Method Details
-
generatePublicKeyParameter
public static AsymmetricKeyParameter generatePublicKeyParameter(PublicKey key) throws InvalidKeyException - Throws:
InvalidKeyException
-
generatePrivateKeyParameter
public static AsymmetricKeyParameter generatePrivateKeyParameter(PrivateKey key) throws InvalidKeyException - Throws:
InvalidKeyException
-