Package org.bouncycastle.jce.provider
Class DHUtil
java.lang.Object
org.bouncycastle.jce.provider.DHUtil
utility class for converting jce/jca DH objects
objects into their org.bouncycastle.crypto counterparts.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DHUtil
public DHUtil()
-
-
Method Details
-
generatePublicKeyParameter
public static AsymmetricKeyParameter generatePublicKeyParameter(PublicKey key) throws InvalidKeyException - Throws:
InvalidKeyException
-
generatePrivateKeyParameter
public static AsymmetricKeyParameter generatePrivateKeyParameter(PrivateKey key) throws InvalidKeyException - Throws:
InvalidKeyException
-