Package org.bouncycastle.openpgp.test
Class BcPGPEd25519JcaKeyPairConversionTest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.openpgp.test.BcPGPEd25519JcaKeyPairConversionTest
- All Implemented Interfaces:
org.bouncycastle.util.test.Test
public class BcPGPEd25519JcaKeyPairConversionTest
extends org.bouncycastle.util.test.SimpleTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
convertEd25519KeyFromJcaPGPKeyPairToBcPGPKeyPair
(PublicKey pubKey, PrivateKey privKey) getName()
static void
void
Methods inherited from class org.bouncycastle.util.test.SimpleTest
areEqual, areEqual, areEqual, fail, fail, fail, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isTrue, isTrue, perform, runTest, runTest, runTests, runTests
-
Constructor Details
-
BcPGPEd25519JcaKeyPairConversionTest
public BcPGPEd25519JcaKeyPairConversionTest()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceorg.bouncycastle.util.test.Test
- Specified by:
getName
in classorg.bouncycastle.util.test.SimpleTest
-
performTest
- Specified by:
performTest
in classorg.bouncycastle.util.test.SimpleTest
- Throws:
Exception
-
convertEd25519KeyFromJcaPGPKeyPairToBcPGPKeyPair
public static void convertEd25519KeyFromJcaPGPKeyPairToBcPGPKeyPair(PublicKey pubKey, PrivateKey privKey) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException, PGPException -
main
-