org.bouncycastle.jce.provider.test
Class RSATest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.jce.provider.test.RSATest
- All Implemented Interfaces:
- Test
public class RSATest
- extends SimpleTest
Nested Class Summary |
private class |
RSATest.FixedSecureRandom
a fake random number generator - we just want to make sure the random numbers
aren't random so that we get the same output, while still getting to test the
key generation facilities. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pubKeySpec
private java.security.spec.RSAPublicKeySpec pubKeySpec
privKeySpec
private java.security.spec.RSAPrivateCrtKeySpec privKeySpec
isoPubKeySpec
private java.security.spec.RSAPublicKeySpec isoPubKeySpec
isoPrivKeySpec
private java.security.spec.RSAPrivateKeySpec isoPrivKeySpec
pub2048KeySpec
private java.security.spec.RSAPublicKeySpec pub2048KeySpec
priv2048KeySpec
private java.security.spec.RSAPrivateCrtKeySpec priv2048KeySpec
RSATest
public RSATest()
performTest
public void performTest()
throws java.lang.Exception
- Specified by:
performTest
in class SimpleTest
- Throws:
java.lang.Exception
getName
public java.lang.String getName()
- Specified by:
getName
in interface Test
- Specified by:
getName
in class SimpleTest
main
public static void main(java.lang.String[] args)