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 Constructor Description BcPGPEd25519JcaKeyPairConversionTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidconvertEd25519KeyFromJcaPGPKeyPairToBcPGPKeyPair(java.security.PublicKey pubKey, java.security.PrivateKey privKey)java.lang.StringgetName()static voidmain(java.lang.String[] args)voidperformTest()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceorg.bouncycastle.util.test.Test- Specified by:
getNamein classorg.bouncycastle.util.test.SimpleTest
-
performTest
public void performTest() throws java.lang.Exception- Specified by:
performTestin classorg.bouncycastle.util.test.SimpleTest- Throws:
java.lang.Exception
-
convertEd25519KeyFromJcaPGPKeyPairToBcPGPKeyPair
public static void convertEd25519KeyFromJcaPGPKeyPairToBcPGPKeyPair(java.security.PublicKey pubKey, java.security.PrivateKey privKey) throws java.security.NoSuchAlgorithmException, java.security.InvalidAlgorithmParameterException, PGPException- Throws:
java.security.NoSuchAlgorithmExceptionjava.security.InvalidAlgorithmParameterExceptionPGPException
-
main
public static void main(java.lang.String[] args)
-
-