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