Class GOST3410Util
- java.lang.Object
-
- org.bouncycastle.jcajce.provider.asymmetric.util.GOST3410Util
-
public class GOST3410Util extends java.lang.Object
utility class for converting jce/jca GOST3410-94 objects objects into their org.bouncycastle.crypto counterparts.
-
-
Constructor Summary
Constructors Constructor Description GOST3410Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AsymmetricKeyParameter
generatePrivateKeyParameter(java.security.PrivateKey key)
static AsymmetricKeyParameter
generatePublicKeyParameter(java.security.PublicKey key)
-
-
-
Method Detail
-
generatePublicKeyParameter
public static AsymmetricKeyParameter generatePublicKeyParameter(java.security.PublicKey key) throws java.security.InvalidKeyException
- Throws:
java.security.InvalidKeyException
-
generatePrivateKeyParameter
public static AsymmetricKeyParameter generatePrivateKeyParameter(java.security.PrivateKey key) throws java.security.InvalidKeyException
- Throws:
java.security.InvalidKeyException
-
-